diff --git a/docs/data.js b/docs/data.js index ed5e943..7284682 100644 --- a/docs/data.js +++ b/docs/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1763484262751, + "lastUpdate": 1763485803101, "repoUrl": "https://github.com/lukaszraczylo/graphql-monitoring-proxy", "entries": { "Benchmark": [ @@ -120934,6 +120934,942 @@ window.BENCHMARK_DATA = { "extra": "53293755 times\n4 procs" } ] + }, + { + "commit": { + "author": { + "email": "lukasz@raczylo.com", + "name": "Lukasz Raczylo", + "username": "lukaszraczylo" + }, + "committer": { + "email": "lukasz@raczylo.com", + "name": "Lukasz Raczylo", + "username": "lukaszraczylo" + }, + "distinct": true, + "id": "4e84cd7461697e03c568156270bfd488be03b86b", + "message": "Race condition in parseGraphQLQuery result pooling\n\nUnder high concurrency, the sync.Pool pattern was creating a race condition\nwhere the same result pointer was being reused by multiple concurrent requests.\n\nThe bug:\n- parseGraphQLQuery() returns a pointer to 'res' from the pool\n- The defer statement returns 'res' back to the pool on function exit\n- While the caller is still using the returned pointer, another concurrent\n request could get the SAME pointer from the pool and modify it\n\nThis caused mutations to randomly get the wrong activeEndpoint value:\n- Request A: mutation parsed → activeEndpoint set to :8080 (write)\n- Request A: returns pointer to result\n- Request A: defer runs → result returned to pool\n- Request B: gets SAME pointer from pool\n- Request B: query parsed → activeEndpoint overwritten to :8088 (read-only)\n- Request A: still holding pointer, now sees :8088 instead of :8080!\n- Result: mutation routed to read-only endpoint → database write failure\n\nThe fix:\nCreate a copy of the result before returning, so the pooled object can be\nsafely reused without affecting the returned value.", + "timestamp": "2025-11-18T17:03:11Z", + "tree_id": "9a5240bf0416297134393829a9b33cfdfa8f0912", + "url": "https://github.com/lukaszraczylo/graphql-monitoring-proxy/commit/4e84cd7461697e03c568156270bfd488be03b86b" + }, + "date": 1763485801114, + "tool": "go", + "benches": [ + { + "name": "BenchmarkAPIAuthentication", + "value": 12854, + "unit": "ns/op\t 6997 B/op\t 34 allocs/op", + "extra": "80886 times\n4 procs" + }, + { + "name": "BenchmarkAPIAuthentication - ns/op", + "value": 12854, + "unit": "ns/op", + "extra": "80886 times\n4 procs" + }, + { + "name": "BenchmarkAPIAuthentication - B/op", + "value": 6997, + "unit": "B/op", + "extra": "80886 times\n4 procs" + }, + { + "name": "BenchmarkAPIAuthentication - allocs/op", + "value": 34, + "unit": "allocs/op", + "extra": "80886 times\n4 procs" + }, + { + "name": "BenchmarkSecurityOperations/API_Authentication", + "value": 15567, + "unit": "ns/op\t 7297 B/op\t 38 allocs/op", + "extra": "77456 times\n4 procs" + }, + { + "name": "BenchmarkSecurityOperations/API_Authentication - ns/op", + "value": 15567, + "unit": "ns/op", + "extra": "77456 times\n4 procs" + }, + { + "name": "BenchmarkSecurityOperations/API_Authentication - B/op", + "value": 7297, + "unit": "B/op", + "extra": "77456 times\n4 procs" + }, + { + "name": "BenchmarkSecurityOperations/API_Authentication - allocs/op", + "value": 38, + "unit": "allocs/op", + "extra": "77456 times\n4 procs" + }, + { + "name": "BenchmarkSecurityOperations/Path_Validation", + "value": 12899, + "unit": "ns/op\t 1139 B/op\t 12 allocs/op", + "extra": "89904 times\n4 procs" + }, + { + "name": "BenchmarkSecurityOperations/Path_Validation - ns/op", + "value": 12899, + "unit": "ns/op", + "extra": "89904 times\n4 procs" + }, + { + "name": "BenchmarkSecurityOperations/Path_Validation - B/op", + "value": 1139, + "unit": "B/op", + "extra": "89904 times\n4 procs" + }, + { + "name": "BenchmarkSecurityOperations/Path_Validation - allocs/op", + "value": 12, + "unit": "allocs/op", + "extra": "89904 times\n4 procs" + }, + { + "name": "BenchmarkSecurityOperations/Log_Sanitization", + "value": 2508, + "unit": "ns/op\t 1482 B/op\t 22 allocs/op", + "extra": "474393 times\n4 procs" + }, + { + "name": "BenchmarkSecurityOperations/Log_Sanitization - ns/op", + "value": 2508, + "unit": "ns/op", + "extra": "474393 times\n4 procs" + }, + { + "name": "BenchmarkSecurityOperations/Log_Sanitization - B/op", + "value": 1482, + "unit": "B/op", + "extra": "474393 times\n4 procs" + }, + { + "name": "BenchmarkSecurityOperations/Log_Sanitization - allocs/op", + "value": 22, + "unit": "allocs/op", + "extra": "474393 times\n4 procs" + }, + { + "name": "BenchmarkLRUCacheSet", + "value": 409.3, + "unit": "ns/op\t 151 B/op\t 4 allocs/op", + "extra": "2923710 times\n4 procs" + }, + { + "name": "BenchmarkLRUCacheSet - ns/op", + "value": 409.3, + "unit": "ns/op", + "extra": "2923710 times\n4 procs" + }, + { + "name": "BenchmarkLRUCacheSet - B/op", + "value": 151, + "unit": "B/op", + "extra": "2923710 times\n4 procs" + }, + { + "name": "BenchmarkLRUCacheSet - allocs/op", + "value": 4, + "unit": "allocs/op", + "extra": "2923710 times\n4 procs" + }, + { + "name": "BenchmarkLRUCacheGet", + "value": 173.6, + "unit": "ns/op\t 13 B/op\t 1 allocs/op", + "extra": "6875907 times\n4 procs" + }, + { + "name": "BenchmarkLRUCacheGet - ns/op", + "value": 173.6, + "unit": "ns/op", + "extra": "6875907 times\n4 procs" + }, + { + "name": "BenchmarkLRUCacheGet - B/op", + "value": 13, + "unit": "B/op", + "extra": "6875907 times\n4 procs" + }, + { + "name": "BenchmarkLRUCacheGet - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "6875907 times\n4 procs" + }, + { + "name": "BenchmarkLRUCacheConcurrent", + "value": 358.9, + "unit": "ns/op\t 86 B/op\t 2 allocs/op", + "extra": "3377052 times\n4 procs" + }, + { + "name": "BenchmarkLRUCacheConcurrent - ns/op", + "value": 358.9, + "unit": "ns/op", + "extra": "3377052 times\n4 procs" + }, + { + "name": "BenchmarkLRUCacheConcurrent - B/op", + "value": 86, + "unit": "B/op", + "extra": "3377052 times\n4 procs" + }, + { + "name": "BenchmarkLRUCacheConcurrent - allocs/op", + "value": 2, + "unit": "allocs/op", + "extra": "3377052 times\n4 procs" + }, + { + "name": "BenchmarkValidateFilePath", + "value": 31551, + "unit": "ns/op\t 2874 B/op\t 31 allocs/op", + "extra": "37591 times\n4 procs" + }, + { + "name": "BenchmarkValidateFilePath - ns/op", + "value": 31551, + "unit": "ns/op", + "extra": "37591 times\n4 procs" + }, + { + "name": "BenchmarkValidateFilePath - B/op", + "value": 2874, + "unit": "B/op", + "extra": "37591 times\n4 procs" + }, + { + "name": "BenchmarkValidateFilePath - allocs/op", + "value": 31, + "unit": "allocs/op", + "extra": "37591 times\n4 procs" + }, + { + "name": "BenchmarkBufferPoolOperations", + "value": 8.79, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "136654185 times\n4 procs" + }, + { + "name": "BenchmarkBufferPoolOperations - ns/op", + "value": 8.79, + "unit": "ns/op", + "extra": "136654185 times\n4 procs" + }, + { + "name": "BenchmarkBufferPoolOperations - B/op", + "value": 0, + "unit": "B/op", + "extra": "136654185 times\n4 procs" + }, + { + "name": "BenchmarkBufferPoolOperations - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "136654185 times\n4 procs" + }, + { + "name": "BenchmarkGzipWriterPoolOperations", + "value": 10530, + "unit": "ns/op\t 112 B/op\t 2 allocs/op", + "extra": "105982 times\n4 procs" + }, + { + "name": "BenchmarkGzipWriterPoolOperations - ns/op", + "value": 10530, + "unit": "ns/op", + "extra": "105982 times\n4 procs" + }, + { + "name": "BenchmarkGzipWriterPoolOperations - B/op", + "value": 112, + "unit": "B/op", + "extra": "105982 times\n4 procs" + }, + { + "name": "BenchmarkGzipWriterPoolOperations - allocs/op", + "value": 2, + "unit": "allocs/op", + "extra": "105982 times\n4 procs" + }, + { + "name": "BenchmarkSanitizeForLogging", + "value": 4813, + "unit": "ns/op\t 2531 B/op\t 40 allocs/op", + "extra": "222979 times\n4 procs" + }, + { + "name": "BenchmarkSanitizeForLogging - ns/op", + "value": 4813, + "unit": "ns/op", + "extra": "222979 times\n4 procs" + }, + { + "name": "BenchmarkSanitizeForLogging - B/op", + "value": 2531, + "unit": "B/op", + "extra": "222979 times\n4 procs" + }, + { + "name": "BenchmarkSanitizeForLogging - allocs/op", + "value": 40, + "unit": "allocs/op", + "extra": "222979 times\n4 procs" + }, + { + "name": "BenchmarkSanitizeHeaders", + "value": 1051, + "unit": "ns/op\t 424 B/op\t 8 allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "BenchmarkSanitizeHeaders - ns/op", + "value": 1051, + "unit": "ns/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "BenchmarkSanitizeHeaders - B/op", + "value": 424, + "unit": "B/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "BenchmarkSanitizeHeaders - allocs/op", + "value": 8, + "unit": "allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "BenchmarkRegisterComponent", + "value": 82.68, + "unit": "ns/op\t 148 B/op\t 0 allocs/op", + "extra": "15796953 times\n4 procs" + }, + { + "name": "BenchmarkRegisterComponent - ns/op", + "value": 82.68, + "unit": "ns/op", + "extra": "15796953 times\n4 procs" + }, + { + "name": "BenchmarkRegisterComponent - B/op", + "value": 148, + "unit": "B/op", + "extra": "15796953 times\n4 procs" + }, + { + "name": "BenchmarkRegisterComponent - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "15796953 times\n4 procs" + }, + { + "name": "BenchmarkCacheLookupInMemory", + "value": 44.99, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "25704121 times\n4 procs" + }, + { + "name": "BenchmarkCacheLookupInMemory - ns/op", + "value": 44.99, + "unit": "ns/op", + "extra": "25704121 times\n4 procs" + }, + { + "name": "BenchmarkCacheLookupInMemory - B/op", + "value": 0, + "unit": "B/op", + "extra": "25704121 times\n4 procs" + }, + { + "name": "BenchmarkCacheLookupInMemory - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "25704121 times\n4 procs" + }, + { + "name": "BenchmarkCacheStoreInMemory", + "value": 393.1, + "unit": "ns/op\t 480 B/op\t 6 allocs/op", + "extra": "2652267 times\n4 procs" + }, + { + "name": "BenchmarkCacheStoreInMemory - ns/op", + "value": 393.1, + "unit": "ns/op", + "extra": "2652267 times\n4 procs" + }, + { + "name": "BenchmarkCacheStoreInMemory - B/op", + "value": 480, + "unit": "B/op", + "extra": "2652267 times\n4 procs" + }, + { + "name": "BenchmarkCacheStoreInMemory - allocs/op", + "value": 6, + "unit": "allocs/op", + "extra": "2652267 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheSet", + "value": 194.9, + "unit": "ns/op\t 128 B/op\t 3 allocs/op", + "extra": "6216882 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheSet - ns/op", + "value": 194.9, + "unit": "ns/op", + "extra": "6216882 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheSet - B/op", + "value": 128, + "unit": "B/op", + "extra": "6216882 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheSet - allocs/op", + "value": 3, + "unit": "allocs/op", + "extra": "6216882 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheGet", + "value": 74.47, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "16173988 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheGet - ns/op", + "value": 74.47, + "unit": "ns/op", + "extra": "16173988 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheGet - B/op", + "value": 0, + "unit": "B/op", + "extra": "16173988 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheGet - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "16173988 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheExpire", + "value": 5143581, + "unit": "ns/op\t 1724 B/op\t 15 allocs/op", + "extra": "232 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheExpire - ns/op", + "value": 5143581, + "unit": "ns/op", + "extra": "232 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheExpire - B/op", + "value": 1724, + "unit": "B/op", + "extra": "232 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheExpire - allocs/op", + "value": 15, + "unit": "allocs/op", + "extra": "232 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheStats", + "value": 0.0000074, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheStats - ns/op", + "value": 0.0000074, + "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": 5969, + "unit": "ns/op\t 280 B/op\t 6 allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "BenchmarkCacheSet - ns/op", + "value": 5969, + "unit": "ns/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "BenchmarkCacheSet - B/op", + "value": 280, + "unit": "B/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "BenchmarkCacheSet - allocs/op", + "value": 6, + "unit": "allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "BenchmarkCacheGet", + "value": 74.36, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "16153290 times\n4 procs" + }, + { + "name": "BenchmarkCacheGet - ns/op", + "value": 74.36, + "unit": "ns/op", + "extra": "16153290 times\n4 procs" + }, + { + "name": "BenchmarkCacheGet - B/op", + "value": 0, + "unit": "B/op", + "extra": "16153290 times\n4 procs" + }, + { + "name": "BenchmarkCacheGet - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "16153290 times\n4 procs" + }, + { + "name": "BenchmarkCacheDelete", + "value": 421.2, + "unit": "ns/op\t 160 B/op\t 6 allocs/op", + "extra": "2921660 times\n4 procs" + }, + { + "name": "BenchmarkCacheDelete - ns/op", + "value": 421.2, + "unit": "ns/op", + "extra": "2921660 times\n4 procs" + }, + { + "name": "BenchmarkCacheDelete - B/op", + "value": 160, + "unit": "B/op", + "extra": "2921660 times\n4 procs" + }, + { + "name": "BenchmarkCacheDelete - allocs/op", + "value": 6, + "unit": "allocs/op", + "extra": "2921660 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNew", + "value": 0.3128, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNew - ns/op", + "value": 0.3128, + "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.3113, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeTimeFormat - ns/op", + "value": 0.3113, + "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.3127, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeLogLevel - ns/op", + "value": 0.3127, + "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.3119, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeTimeFormatAndLogLevel - ns/op", + "value": 0.3119, + "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": 894.3, + "unit": "ns/op\t 459 B/op\t 5 allocs/op", + "extra": "1380810 times\n4 procs" + }, + { + "name": "Benchmark_Log_Debug - ns/op", + "value": 894.3, + "unit": "ns/op", + "extra": "1380810 times\n4 procs" + }, + { + "name": "Benchmark_Log_Debug - B/op", + "value": 459, + "unit": "B/op", + "extra": "1380810 times\n4 procs" + }, + { + "name": "Benchmark_Log_Debug - allocs/op", + "value": 5, + "unit": "allocs/op", + "extra": "1380810 times\n4 procs" + }, + { + "name": "Benchmark_Log_Info", + "value": 914, + "unit": "ns/op\t 460 B/op\t 5 allocs/op", + "extra": "1375494 times\n4 procs" + }, + { + "name": "Benchmark_Log_Info - ns/op", + "value": 914, + "unit": "ns/op", + "extra": "1375494 times\n4 procs" + }, + { + "name": "Benchmark_Log_Info - B/op", + "value": 460, + "unit": "B/op", + "extra": "1375494 times\n4 procs" + }, + { + "name": "Benchmark_Log_Info - allocs/op", + "value": 5, + "unit": "allocs/op", + "extra": "1375494 times\n4 procs" + }, + { + "name": "Benchmark_Log_Warn", + "value": 885.1, + "unit": "ns/op\t 463 B/op\t 5 allocs/op", + "extra": "1361416 times\n4 procs" + }, + { + "name": "Benchmark_Log_Warn - ns/op", + "value": 885.1, + "unit": "ns/op", + "extra": "1361416 times\n4 procs" + }, + { + "name": "Benchmark_Log_Warn - B/op", + "value": 463, + "unit": "B/op", + "extra": "1361416 times\n4 procs" + }, + { + "name": "Benchmark_Log_Warn - allocs/op", + "value": 5, + "unit": "allocs/op", + "extra": "1361416 times\n4 procs" + }, + { + "name": "Benchmark_Log_Error", + "value": 984.1, + "unit": "ns/op\t 493 B/op\t 5 allocs/op", + "extra": "1235798 times\n4 procs" + }, + { + "name": "Benchmark_Log_Error - ns/op", + "value": 984.1, + "unit": "ns/op", + "extra": "1235798 times\n4 procs" + }, + { + "name": "Benchmark_Log_Error - B/op", + "value": 493, + "unit": "B/op", + "extra": "1235798 times\n4 procs" + }, + { + "name": "Benchmark_Log_Error - allocs/op", + "value": 5, + "unit": "allocs/op", + "extra": "1235798 times\n4 procs" + }, + { + "name": "Benchmark_Log_Fatal", + "value": 889.2, + "unit": "ns/op\t 459 B/op\t 5 allocs/op", + "extra": "1379629 times\n4 procs" + }, + { + "name": "Benchmark_Log_Fatal - ns/op", + "value": 889.2, + "unit": "ns/op", + "extra": "1379629 times\n4 procs" + }, + { + "name": "Benchmark_Log_Fatal - B/op", + "value": 459, + "unit": "B/op", + "extra": "1379629 times\n4 procs" + }, + { + "name": "Benchmark_Log_Fatal - allocs/op", + "value": 5, + "unit": "allocs/op", + "extra": "1379629 times\n4 procs" + }, + { + "name": "BenchmarkGetMetricsName", + "value": 1929, + "unit": "ns/op\t 528 B/op\t 10 allocs/op", + "extra": "554378 times\n4 procs" + }, + { + "name": "BenchmarkGetMetricsName - ns/op", + "value": 1929, + "unit": "ns/op", + "extra": "554378 times\n4 procs" + }, + { + "name": "BenchmarkGetMetricsName - B/op", + "value": 528, + "unit": "B/op", + "extra": "554378 times\n4 procs" + }, + { + "name": "BenchmarkGetMetricsName - allocs/op", + "value": 10, + "unit": "allocs/op", + "extra": "554378 times\n4 procs" + }, + { + "name": "BenchmarkCompileMetricsWithLabels", + "value": 642.2, + "unit": "ns/op\t 224 B/op\t 4 allocs/op", + "extra": "1870532 times\n4 procs" + }, + { + "name": "BenchmarkCompileMetricsWithLabels - ns/op", + "value": 642.2, + "unit": "ns/op", + "extra": "1870532 times\n4 procs" + }, + { + "name": "BenchmarkCompileMetricsWithLabels - B/op", + "value": 224, + "unit": "B/op", + "extra": "1870532 times\n4 procs" + }, + { + "name": "BenchmarkCompileMetricsWithLabels - allocs/op", + "value": 4, + "unit": "allocs/op", + "extra": "1870532 times\n4 procs" + }, + { + "name": "BenchmarkValidateMetricsName", + "value": 811, + "unit": "ns/op\t 320 B/op\t 6 allocs/op", + "extra": "1315755 times\n4 procs" + }, + { + "name": "BenchmarkValidateMetricsName - ns/op", + "value": 811, + "unit": "ns/op", + "extra": "1315755 times\n4 procs" + }, + { + "name": "BenchmarkValidateMetricsName - B/op", + "value": 320, + "unit": "B/op", + "extra": "1315755 times\n4 procs" + }, + { + "name": "BenchmarkValidateMetricsName - allocs/op", + "value": 6, + "unit": "allocs/op", + "extra": "1315755 times\n4 procs" + }, + { + "name": "BenchmarkBufferPool", + "value": 8.59, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "139513107 times\n4 procs" + }, + { + "name": "BenchmarkBufferPool - ns/op", + "value": 8.59, + "unit": "ns/op", + "extra": "139513107 times\n4 procs" + }, + { + "name": "BenchmarkBufferPool - B/op", + "value": 0, + "unit": "B/op", + "extra": "139513107 times\n4 procs" + }, + { + "name": "BenchmarkBufferPool - allocs/op", + "value": 0, + "unit": "allocs/op", + "extra": "139513107 times\n4 procs" + }, + { + "name": "BenchmarkGzipWriterPool", + "value": 9824, + "unit": "ns/op\t 151 B/op\t 3 allocs/op", + "extra": "104788 times\n4 procs" + }, + { + "name": "BenchmarkGzipWriterPool - ns/op", + "value": 9824, + "unit": "ns/op", + "extra": "104788 times\n4 procs" + }, + { + "name": "BenchmarkGzipWriterPool - B/op", + "value": 151, + "unit": "B/op", + "extra": "104788 times\n4 procs" + }, + { + "name": "BenchmarkGzipWriterPool - allocs/op", + "value": 3, + "unit": "allocs/op", + "extra": "104788 times\n4 procs" + }, + { + "name": "BenchmarkGzipReaderPool", + "value": 337.6, + "unit": "ns/op\t 562 B/op\t 2 allocs/op", + "extra": "3620414 times\n4 procs" + }, + { + "name": "BenchmarkGzipReaderPool - ns/op", + "value": 337.6, + "unit": "ns/op", + "extra": "3620414 times\n4 procs" + }, + { + "name": "BenchmarkGzipReaderPool - B/op", + "value": 562, + "unit": "B/op", + "extra": "3620414 times\n4 procs" + }, + { + "name": "BenchmarkGzipReaderPool - allocs/op", + "value": 2, + "unit": "allocs/op", + "extra": "3620414 times\n4 procs" + }, + { + "name": "BenchmarkWithoutPool", + "value": 22.62, + "unit": "ns/op\t 64 B/op\t 1 allocs/op", + "extra": "50614798 times\n4 procs" + }, + { + "name": "BenchmarkWithoutPool - ns/op", + "value": 22.62, + "unit": "ns/op", + "extra": "50614798 times\n4 procs" + }, + { + "name": "BenchmarkWithoutPool - B/op", + "value": 64, + "unit": "B/op", + "extra": "50614798 times\n4 procs" + }, + { + "name": "BenchmarkWithoutPool - allocs/op", + "value": 1, + "unit": "allocs/op", + "extra": "50614798 times\n4 procs" + } + ] } ] }