From dc18cf0173d51086a7c97f3993799a87f74f799b Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Thu, 19 Dec 2024 18:54:24 +0000 Subject: [PATCH] add Benchmark (go) benchmark result for 8bd2bdfd9cc958a93819a4ac781ebfab675434be --- docs/data.js | 578 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 577 insertions(+), 1 deletion(-) diff --git a/docs/data.js b/docs/data.js index 453dde0..4cb16ee 100644 --- a/docs/data.js +++ b/docs/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1734578269613, + "lastUpdate": 1734634464611, "repoUrl": "https://github.com/lukaszraczylo/graphql-monitoring-proxy", "entries": { "Benchmark": [ @@ -37726,6 +37726,582 @@ window.BENCHMARK_DATA = { "extra": "1426669 times\n4 procs" } ] + }, + { + "commit": { + "author": { + "email": "TPXP@users.noreply.github.com", + "name": "Thomas P.", + "username": "TPXP" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "8bd2bdfd9cc958a93819a4ac781ebfab675434be", + "message": "fix(proxy): handle lowercase Location header (#20)\n\nWhen the upstream server returns a redirect HTTP response code but its \"Location\" header is in lowercase, the proxy will retry the request 5 times and eventually fail with an \"missing Location header for http redirect\" error.\r\n\r\nSince the HTTP spec says header names are case-insensitive, we should handle this case properly. Adjust fasthttp options accordingly\r\n\r\nRef: https://github.com/valyala/fasthttp/issues/1361", + "timestamp": "2024-12-19T18:49:24Z", + "tree_id": "96e9764a26a07e952ecc1f05cc5991eeacff99b7", + "url": "https://github.com/lukaszraczylo/graphql-monitoring-proxy/commit/8bd2bdfd9cc958a93819a4ac781ebfab675434be" + }, + "date": 1734634463899, + "tool": "go", + "benches": [ + { + "name": "BenchmarkCacheLookupInMemory", + "value": 421.1, + "unit": "ns/op\t 562 B/op\t 2 allocs/op", + "extra": "3052992 times\n4 procs" + }, + { + "name": "BenchmarkCacheLookupInMemory - ns/op", + "value": 421.1, + "unit": "ns/op", + "extra": "3052992 times\n4 procs" + }, + { + "name": "BenchmarkCacheLookupInMemory - B/op", + "value": 562, + "unit": "B/op", + "extra": "3052992 times\n4 procs" + }, + { + "name": "BenchmarkCacheLookupInMemory - allocs/op", + "value": 2, + "unit": "allocs/op", + "extra": "3052992 times\n4 procs" + }, + { + "name": "BenchmarkCacheLookupRedis", + "value": 8634, + "unit": "ns/op\t 533 B/op\t 23 allocs/op", + "extra": "128242 times\n4 procs" + }, + { + "name": "BenchmarkCacheLookupRedis - ns/op", + "value": 8634, + "unit": "ns/op", + "extra": "128242 times\n4 procs" + }, + { + "name": "BenchmarkCacheLookupRedis - B/op", + "value": 533, + "unit": "B/op", + "extra": "128242 times\n4 procs" + }, + { + "name": "BenchmarkCacheLookupRedis - allocs/op", + "value": 23, + "unit": "allocs/op", + "extra": "128242 times\n4 procs" + }, + { + "name": "BenchmarkCacheStoreInMemory", + "value": 5903, + "unit": "ns/op\t 628 B/op\t 8 allocs/op", + "extra": "173058 times\n4 procs" + }, + { + "name": "BenchmarkCacheStoreInMemory - ns/op", + "value": 5903, + "unit": "ns/op", + "extra": "173058 times\n4 procs" + }, + { + "name": "BenchmarkCacheStoreInMemory - B/op", + "value": 628, + "unit": "B/op", + "extra": "173058 times\n4 procs" + }, + { + "name": "BenchmarkCacheStoreInMemory - allocs/op", + "value": 8, + "unit": "allocs/op", + "extra": "173058 times\n4 procs" + }, + { + "name": "BenchmarkCacheStoreRedis", + "value": 9692, + "unit": "ns/op\t 1259 B/op\t 38 allocs/op", + "extra": "123894 times\n4 procs" + }, + { + "name": "BenchmarkCacheStoreRedis - ns/op", + "value": 9692, + "unit": "ns/op", + "extra": "123894 times\n4 procs" + }, + { + "name": "BenchmarkCacheStoreRedis - B/op", + "value": 1259, + "unit": "B/op", + "extra": "123894 times\n4 procs" + }, + { + "name": "BenchmarkCacheStoreRedis - allocs/op", + "value": 38, + "unit": "allocs/op", + "extra": "123894 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheSet", + "value": 13210, + "unit": "ns/op\t 210 B/op\t 5 allocs/op", + "extra": "89262 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheSet - ns/op", + "value": 13210, + "unit": "ns/op", + "extra": "89262 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheSet - B/op", + "value": 210, + "unit": "B/op", + "extra": "89262 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheSet - allocs/op", + "value": 5, + "unit": "allocs/op", + "extra": "89262 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheGet", + "value": 683.9, + "unit": "ns/op\t 560 B/op\t 2 allocs/op", + "extra": "1760701 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheGet - ns/op", + "value": 683.9, + "unit": "ns/op", + "extra": "1760701 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheGet - B/op", + "value": 560, + "unit": "B/op", + "extra": "1760701 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheGet - allocs/op", + "value": 2, + "unit": "allocs/op", + "extra": "1760701 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheExpire", + "value": 5252878, + "unit": "ns/op\t 815959 B/op\t 36 allocs/op", + "extra": "225 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheExpire - ns/op", + "value": 5252878, + "unit": "ns/op", + "extra": "225 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheExpire - B/op", + "value": 815959, + "unit": "B/op", + "extra": "225 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheExpire - allocs/op", + "value": 36, + "unit": "allocs/op", + "extra": "225 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheStats", + "value": 0.0000792, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheStats - ns/op", + "value": 0.0000792, + "unit": "ns/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheStats - B/op", + "value": 0, + "unit": "B/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheStats - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "BenchmarkCacheSet", + "value": 13297, + "unit": "ns/op\t 355 B/op\t 10 allocs/op", + "extra": "87188 times\n4 procs" + }, + { + "name": "BenchmarkCacheSet - ns/op", + "value": 13297, + "unit": "ns/op", + "extra": "87188 times\n4 procs" + }, + { + "name": "BenchmarkCacheSet - B/op", + "value": 355, + "unit": "B/op", + "extra": "87188 times\n4 procs" + }, + { + "name": "BenchmarkCacheSet - allocs/op", + "value": 10, + "unit": "allocs/op", + "extra": "87188 times\n4 procs" + }, + { + "name": "BenchmarkCacheGet", + "value": 866.8, + "unit": "ns/op\t 560 B/op\t 2 allocs/op", + "extra": "1439392 times\n4 procs" + }, + { + "name": "BenchmarkCacheGet - ns/op", + "value": 866.8, + "unit": "ns/op", + "extra": "1439392 times\n4 procs" + }, + { + "name": "BenchmarkCacheGet - B/op", + "value": 560, + "unit": "B/op", + "extra": "1439392 times\n4 procs" + }, + { + "name": "BenchmarkCacheGet - allocs/op", + "value": 2, + "unit": "allocs/op", + "extra": "1439392 times\n4 procs" + }, + { + "name": "BenchmarkCacheDelete", + "value": 13878, + "unit": "ns/op\t 553 B/op\t 13 allocs/op", + "extra": "89278 times\n4 procs" + }, + { + "name": "BenchmarkCacheDelete - ns/op", + "value": 13878, + "unit": "ns/op", + "extra": "89278 times\n4 procs" + }, + { + "name": "BenchmarkCacheDelete - B/op", + "value": 553, + "unit": "B/op", + "extra": "89278 times\n4 procs" + }, + { + "name": "BenchmarkCacheDelete - allocs/op", + "value": 13, + "unit": "allocs/op", + "extra": "89278 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNew", + "value": 0.3133, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNew - ns/op", + "value": 0.3133, + "unit": "ns/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNew - B/op", + "value": 0, + "unit": "B/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNew - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeTimeFormat", + "value": 0.3123, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeTimeFormat - ns/op", + "value": 0.3123, + "unit": "ns/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeTimeFormat - B/op", + "value": 0, + "unit": "B/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeTimeFormat - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeLogLevel", + "value": 0.3112, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeLogLevel - ns/op", + "value": 0.3112, + "unit": "ns/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeLogLevel - B/op", + "value": 0, + "unit": "B/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeLogLevel - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeTimeFormatAndLogLevel", + "value": 0.3136, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeTimeFormatAndLogLevel - ns/op", + "value": 0.3136, + "unit": "ns/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeTimeFormatAndLogLevel - B/op", + "value": 0, + "unit": "B/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeTimeFormatAndLogLevel - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_Log_Debug", + "value": 813.2, + "unit": "ns/op\t 339 B/op\t 4 allocs/op", + "extra": "1503548 times\n4 procs" + }, + { + "name": "Benchmark_Log_Debug - ns/op", + "value": 813.2, + "unit": "ns/op", + "extra": "1503548 times\n4 procs" + }, + { + "name": "Benchmark_Log_Debug - B/op", + "value": 339, + "unit": "B/op", + "extra": "1503548 times\n4 procs" + }, + { + "name": "Benchmark_Log_Debug - allocs/op", + "value": 4, + "unit": "allocs/op", + "extra": "1503548 times\n4 procs" + }, + { + "name": "Benchmark_Log_Info", + "value": 834.9, + "unit": "ns/op\t 347 B/op\t 4 allocs/op", + "extra": "1461038 times\n4 procs" + }, + { + "name": "Benchmark_Log_Info - ns/op", + "value": 834.9, + "unit": "ns/op", + "extra": "1461038 times\n4 procs" + }, + { + "name": "Benchmark_Log_Info - B/op", + "value": 347, + "unit": "B/op", + "extra": "1461038 times\n4 procs" + }, + { + "name": "Benchmark_Log_Info - allocs/op", + "value": 4, + "unit": "allocs/op", + "extra": "1461038 times\n4 procs" + }, + { + "name": "Benchmark_Log_Warn", + "value": 829.6, + "unit": "ns/op\t 347 B/op\t 4 allocs/op", + "extra": "1460548 times\n4 procs" + }, + { + "name": "Benchmark_Log_Warn - ns/op", + "value": 829.6, + "unit": "ns/op", + "extra": "1460548 times\n4 procs" + }, + { + "name": "Benchmark_Log_Warn - B/op", + "value": 347, + "unit": "B/op", + "extra": "1460548 times\n4 procs" + }, + { + "name": "Benchmark_Log_Warn - allocs/op", + "value": 4, + "unit": "allocs/op", + "extra": "1460548 times\n4 procs" + }, + { + "name": "Benchmark_Log_Error", + "value": 950.2, + "unit": "ns/op\t 384 B/op\t 4 allocs/op", + "extra": "1287127 times\n4 procs" + }, + { + "name": "Benchmark_Log_Error - ns/op", + "value": 950.2, + "unit": "ns/op", + "extra": "1287127 times\n4 procs" + }, + { + "name": "Benchmark_Log_Error - B/op", + "value": 384, + "unit": "B/op", + "extra": "1287127 times\n4 procs" + }, + { + "name": "Benchmark_Log_Error - allocs/op", + "value": 4, + "unit": "allocs/op", + "extra": "1287127 times\n4 procs" + }, + { + "name": "Benchmark_Log_Fatal", + "value": 850.8, + "unit": "ns/op\t 348 B/op\t 4 allocs/op", + "extra": "1455046 times\n4 procs" + }, + { + "name": "Benchmark_Log_Fatal - ns/op", + "value": 850.8, + "unit": "ns/op", + "extra": "1455046 times\n4 procs" + }, + { + "name": "Benchmark_Log_Fatal - B/op", + "value": 348, + "unit": "B/op", + "extra": "1455046 times\n4 procs" + }, + { + "name": "Benchmark_Log_Fatal - allocs/op", + "value": 4, + "unit": "allocs/op", + "extra": "1455046 times\n4 procs" + }, + { + "name": "BenchmarkGetMetricsName", + "value": 1303, + "unit": "ns/op\t 632 B/op\t 10 allocs/op", + "extra": "870885 times\n4 procs" + }, + { + "name": "BenchmarkGetMetricsName - ns/op", + "value": 1303, + "unit": "ns/op", + "extra": "870885 times\n4 procs" + }, + { + "name": "BenchmarkGetMetricsName - B/op", + "value": 632, + "unit": "B/op", + "extra": "870885 times\n4 procs" + }, + { + "name": "BenchmarkGetMetricsName - allocs/op", + "value": 10, + "unit": "allocs/op", + "extra": "870885 times\n4 procs" + }, + { + "name": "BenchmarkCompileMetricsWithLabels", + "value": 525.5, + "unit": "ns/op\t 296 B/op\t 7 allocs/op", + "extra": "2303059 times\n4 procs" + }, + { + "name": "BenchmarkCompileMetricsWithLabels - ns/op", + "value": 525.5, + "unit": "ns/op", + "extra": "2303059 times\n4 procs" + }, + { + "name": "BenchmarkCompileMetricsWithLabels - B/op", + "value": 296, + "unit": "B/op", + "extra": "2303059 times\n4 procs" + }, + { + "name": "BenchmarkCompileMetricsWithLabels - allocs/op", + "value": 7, + "unit": "allocs/op", + "extra": "2303059 times\n4 procs" + }, + { + "name": "BenchmarkValidateMetricsName", + "value": 865.1, + "unit": "ns/op\t 320 B/op\t 6 allocs/op", + "extra": "1397949 times\n4 procs" + }, + { + "name": "BenchmarkValidateMetricsName - ns/op", + "value": 865.1, + "unit": "ns/op", + "extra": "1397949 times\n4 procs" + }, + { + "name": "BenchmarkValidateMetricsName - B/op", + "value": 320, + "unit": "B/op", + "extra": "1397949 times\n4 procs" + }, + { + "name": "BenchmarkValidateMetricsName - allocs/op", + "value": 6, + "unit": "allocs/op", + "extra": "1397949 times\n4 procs" + } + ] } ] }