diff --git a/docs/data.js b/docs/data.js new file mode 100644 index 0000000..026446a --- /dev/null +++ b/docs/data.js @@ -0,0 +1,486 @@ +window.BENCHMARK_DATA = { + "lastUpdate": 1719579926943, + "repoUrl": "https://github.com/lukaszraczylo/graphql-monitoring-proxy", + "entries": { + "Benchmark": [ + { + "commit": { + "author": { + "name": "Lukasz Raczylo", + "username": "lukaszraczylo", + "email": "lukasz@raczylo.com" + }, + "committer": { + "name": "Lukasz Raczylo", + "username": "lukaszraczylo", + "email": "lukasz@raczylo.com" + }, + "id": "4ca8ce57513ec2563b36eddaf83217082a108b98", + "message": "fixup! fixup! fixup! Fix redis cache benchmark.", + "timestamp": "2024-06-28T12:57:43Z", + "url": "https://github.com/lukaszraczylo/graphql-monitoring-proxy/commit/4ca8ce57513ec2563b36eddaf83217082a108b98" + }, + "date": 1719579926085, + "tool": "go", + "benches": [ + { + "name": "BenchmarkMemCacheSet", + "value": 12909, + "unit": "ns/op\t 228 B/op\t 5 allocs/op", + "extra": "90420 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheSet - ns/op", + "value": 12909, + "unit": "ns/op", + "extra": "90420 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheSet - B/op", + "value": 228, + "unit": "B/op", + "extra": "90420 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheSet - allocs/op", + "value": 5, + "unit": "allocs/op", + "extra": "90420 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheGet", + "value": 676.4, + "unit": "ns/op\t 560 B/op\t 2 allocs/op", + "extra": "1737909 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheGet - ns/op", + "value": 676.4, + "unit": "ns/op", + "extra": "1737909 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheGet - B/op", + "value": 560, + "unit": "B/op", + "extra": "1737909 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheGet - allocs/op", + "value": 2, + "unit": "allocs/op", + "extra": "1737909 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheExpire", + "value": 5248922, + "unit": "ns/op\t 815883 B/op\t 36 allocs/op", + "extra": "226 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheExpire - ns/op", + "value": 5248922, + "unit": "ns/op", + "extra": "226 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheExpire - B/op", + "value": 815883, + "unit": "B/op", + "extra": "226 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheExpire - allocs/op", + "value": 36, + "unit": "allocs/op", + "extra": "226 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheStats", + "value": 0.0000469, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "BenchmarkMemCacheStats - ns/op", + "value": 0.0000469, + "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": 13498, + "unit": "ns/op\t 354 B/op\t 10 allocs/op", + "extra": "88165 times\n4 procs" + }, + { + "name": "BenchmarkCacheSet - ns/op", + "value": 13498, + "unit": "ns/op", + "extra": "88165 times\n4 procs" + }, + { + "name": "BenchmarkCacheSet - B/op", + "value": 354, + "unit": "B/op", + "extra": "88165 times\n4 procs" + }, + { + "name": "BenchmarkCacheSet - allocs/op", + "value": 10, + "unit": "allocs/op", + "extra": "88165 times\n4 procs" + }, + { + "name": "BenchmarkCacheGet", + "value": 863, + "unit": "ns/op\t 560 B/op\t 2 allocs/op", + "extra": "1414516 times\n4 procs" + }, + { + "name": "BenchmarkCacheGet - ns/op", + "value": 863, + "unit": "ns/op", + "extra": "1414516 times\n4 procs" + }, + { + "name": "BenchmarkCacheGet - B/op", + "value": 560, + "unit": "B/op", + "extra": "1414516 times\n4 procs" + }, + { + "name": "BenchmarkCacheGet - allocs/op", + "value": 2, + "unit": "allocs/op", + "extra": "1414516 times\n4 procs" + }, + { + "name": "BenchmarkCacheDelete", + "value": 13476, + "unit": "ns/op\t 570 B/op\t 13 allocs/op", + "extra": "91406 times\n4 procs" + }, + { + "name": "BenchmarkCacheDelete - ns/op", + "value": 13476, + "unit": "ns/op", + "extra": "91406 times\n4 procs" + }, + { + "name": "BenchmarkCacheDelete - B/op", + "value": 570, + "unit": "B/op", + "extra": "91406 times\n4 procs" + }, + { + "name": "BenchmarkCacheDelete - allocs/op", + "value": 13, + "unit": "allocs/op", + "extra": "91406 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNew", + "value": 0.6364, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNew - ns/op", + "value": 0.6364, + "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.6278, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeTimeFormat - ns/op", + "value": 0.6278, + "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.626, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeLogLevel - ns/op", + "value": 0.626, + "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.6186, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_NewLogger/BenchmarkNewChangeTimeFormatAndLogLevel - ns/op", + "value": 0.6186, + "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": 838.5, + "unit": "ns/op\t 344 B/op\t 4 allocs/op", + "extra": "1480324 times\n4 procs" + }, + { + "name": "Benchmark_Log_Debug - ns/op", + "value": 838.5, + "unit": "ns/op", + "extra": "1480324 times\n4 procs" + }, + { + "name": "Benchmark_Log_Debug - B/op", + "value": 344, + "unit": "B/op", + "extra": "1480324 times\n4 procs" + }, + { + "name": "Benchmark_Log_Debug - allocs/op", + "value": 4, + "unit": "allocs/op", + "extra": "1480324 times\n4 procs" + }, + { + "name": "Benchmark_Log_Info", + "value": 842.6, + "unit": "ns/op\t 351 B/op\t 4 allocs/op", + "extra": "1441490 times\n4 procs" + }, + { + "name": "Benchmark_Log_Info - ns/op", + "value": 842.6, + "unit": "ns/op", + "extra": "1441490 times\n4 procs" + }, + { + "name": "Benchmark_Log_Info - B/op", + "value": 351, + "unit": "B/op", + "extra": "1441490 times\n4 procs" + }, + { + "name": "Benchmark_Log_Info - allocs/op", + "value": 4, + "unit": "allocs/op", + "extra": "1441490 times\n4 procs" + }, + { + "name": "Benchmark_Log_Warn", + "value": 840, + "unit": "ns/op\t 348 B/op\t 4 allocs/op", + "extra": "1457232 times\n4 procs" + }, + { + "name": "Benchmark_Log_Warn - ns/op", + "value": 840, + "unit": "ns/op", + "extra": "1457232 times\n4 procs" + }, + { + "name": "Benchmark_Log_Warn - B/op", + "value": 348, + "unit": "B/op", + "extra": "1457232 times\n4 procs" + }, + { + "name": "Benchmark_Log_Warn - allocs/op", + "value": 4, + "unit": "allocs/op", + "extra": "1457232 times\n4 procs" + }, + { + "name": "Benchmark_Log_Error", + "value": 939.1, + "unit": "ns/op\t 382 B/op\t 4 allocs/op", + "extra": "1296472 times\n4 procs" + }, + { + "name": "Benchmark_Log_Error - ns/op", + "value": 939.1, + "unit": "ns/op", + "extra": "1296472 times\n4 procs" + }, + { + "name": "Benchmark_Log_Error - B/op", + "value": 382, + "unit": "B/op", + "extra": "1296472 times\n4 procs" + }, + { + "name": "Benchmark_Log_Error - allocs/op", + "value": 4, + "unit": "allocs/op", + "extra": "1296472 times\n4 procs" + }, + { + "name": "Benchmark_Log_Fatal", + "value": 856.5, + "unit": "ns/op\t 351 B/op\t 4 allocs/op", + "extra": "1440241 times\n4 procs" + }, + { + "name": "Benchmark_Log_Fatal - ns/op", + "value": 856.5, + "unit": "ns/op", + "extra": "1440241 times\n4 procs" + }, + { + "name": "Benchmark_Log_Fatal - B/op", + "value": 351, + "unit": "B/op", + "extra": "1440241 times\n4 procs" + }, + { + "name": "Benchmark_Log_Fatal - allocs/op", + "value": 4, + "unit": "allocs/op", + "extra": "1440241 times\n4 procs" + }, + { + "name": "BenchmarkGetMetricsName", + "value": 1151, + "unit": "ns/op\t 567 B/op\t 8 allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "BenchmarkGetMetricsName - ns/op", + "value": 1151, + "unit": "ns/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "BenchmarkGetMetricsName - B/op", + "value": 567, + "unit": "B/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "BenchmarkGetMetricsName - allocs/op", + "value": 8, + "unit": "allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "BenchmarkCompileMetricsWithLabels", + "value": 415.8, + "unit": "ns/op\t 248 B/op\t 6 allocs/op", + "extra": "3015525 times\n4 procs" + }, + { + "name": "BenchmarkCompileMetricsWithLabels - ns/op", + "value": 415.8, + "unit": "ns/op", + "extra": "3015525 times\n4 procs" + }, + { + "name": "BenchmarkCompileMetricsWithLabels - B/op", + "value": 248, + "unit": "B/op", + "extra": "3015525 times\n4 procs" + }, + { + "name": "BenchmarkCompileMetricsWithLabels - allocs/op", + "value": 6, + "unit": "allocs/op", + "extra": "3015525 times\n4 procs" + }, + { + "name": "BenchmarkValidateMetricsName", + "value": 802.3, + "unit": "ns/op\t 320 B/op\t 6 allocs/op", + "extra": "1507239 times\n4 procs" + }, + { + "name": "BenchmarkValidateMetricsName - ns/op", + "value": 802.3, + "unit": "ns/op", + "extra": "1507239 times\n4 procs" + }, + { + "name": "BenchmarkValidateMetricsName - B/op", + "value": 320, + "unit": "B/op", + "extra": "1507239 times\n4 procs" + }, + { + "name": "BenchmarkValidateMetricsName - allocs/op", + "value": 6, + "unit": "allocs/op", + "extra": "1507239 times\n4 procs" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..6c88780 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,281 @@ + + + + + + + Benchmarks + + + + +
+ + + + + + +