diff --git a/benchmarks/data.js b/benchmarks/data.js index a11a0a7101..9cd7f7b24f 100644 --- a/benchmarks/data.js +++ b/benchmarks/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1699612780614, + "lastUpdate": 1699612851378, "repoUrl": "https://github.com/gofiber/fiber", "entries": { "Benchmark": [ @@ -168064,6 +168064,1056 @@ window.BENCHMARK_DATA = { "extra": "21906883 times\n4 procs" } ] + }, + { + "commit": { + "author": { + "email": "128185314+nickajacks1@users.noreply.github.com", + "name": "nickajacks1", + "username": "nickajacks1" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "1e55045a309acc8584a3e4425c51cad2e474692b", + "message": "test(limiter): fix intermittent failures (#2716)\n\nThe limiter middleware unit tests are failing due to a race between the\r\nstorage garbage collector and the unit test itself. The sliding window\r\nlimiter tracks requests using memory storage. In several of the unit\r\ntests, this storage expiry ends up being 4 seconds. The test waits for 4\r\nseconds, then sends a request, expecting it to succeed. However, the\r\nunit test occasionally wakes up before the storage GC kicks in. As an\r\neffect of the very coarse timer (using seconds as units), the middleware\r\ncorrectly rejects the request, causing the test to fail.\r\n\r\nUpdate the sleep to 4.5 seconds. This will not slow down the execution\r\nof the test suite, as these tests run in parallel with a separate 9\r\nsecond long test.\r\n\r\nI'm not 100% sure this solves the issue, and ideally we'd be able to\r\nrun tests without time.Sleep.", + "timestamp": "2023-11-10T11:33:10+01:00", + "tree_id": "35d920fb9ebe52264c086bb25ad61a7edcf439d9", + "url": "https://github.com/gofiber/fiber/commit/1e55045a309acc8584a3e4425c51cad2e474692b" + }, + "date": 1699612818559, + "tool": "go", + "benches": [ + { + "name": "Benchmark_AcquireCtx", + "value": 532, + "unit": "ns/op\t 1568 B/op\t 5 allocs/op", + "extra": "2297371 times\n4 procs" + }, + { + "name": "Benchmark_App_ETag", + "value": 2950, + "unit": "ns/op\t 1044 B/op\t 3 allocs/op", + "extra": "385412 times\n4 procs" + }, + { + "name": "Benchmark_App_ETag_Weak", + "value": 3004, + "unit": "ns/op\t 1068 B/op\t 4 allocs/op", + "extra": "384021 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_AcceptsCharsets", + "value": 127.5, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9402511 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_AcceptsEncodings", + "value": 171.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "7005439 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_AcceptsLanguages", + "value": 247.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "4847371 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Append", + "value": 192.8, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "6241656 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Attachment", + "value": 347.4, + "unit": "ns/op\t 104 B/op\t 2 allocs/op", + "extra": "3372963 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BaseURL", + "value": 2.172, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "553933774 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Body", + "value": 17.65, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "67430499 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Body_With_Compression/gzip", + "value": 836.5, + "unit": "ns/op\t 144 B/op\t 7 allocs/op", + "extra": "1434884 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Body_With_Compression/deflate", + "value": 696.9, + "unit": "ns/op\t 128 B/op\t 4 allocs/op", + "extra": "1733088 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyParser_JSON", + "value": 635.5, + "unit": "ns/op\t 240 B/op\t 6 allocs/op", + "extra": "1873394 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyParser_XML", + "value": 2201, + "unit": "ns/op\t 1160 B/op\t 24 allocs/op", + "extra": "533982 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyParser_Form", + "value": 1119, + "unit": "ns/op\t 360 B/op\t 13 allocs/op", + "extra": "951738 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyParser_MultipartForm", + "value": 1001, + "unit": "ns/op\t 328 B/op\t 12 allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Cookie", + "value": 115.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "10496809 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_CookieParser", + "value": 7348, + "unit": "ns/op\t 2096 B/op\t 96 allocs/op", + "extra": "158808 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Format", + "value": 166.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "7247479 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Format_HTML", + "value": 141, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "8586663 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Format_JSON", + "value": 303.7, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "3935098 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Format_XML", + "value": 2108, + "unit": "ns/op\t 4480 B/op\t 7 allocs/op", + "extra": "562644 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Fresh_StaleEtag", + "value": 456, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "2602400 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Fresh_WithNoCache", + "value": 106.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "11271481 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IPs", + "value": 118.8, + "unit": "ns/op\t 48 B/op\t 1 allocs/op", + "extra": "9941416 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IPs_v6", + "value": 184.3, + "unit": "ns/op\t 128 B/op\t 1 allocs/op", + "extra": "6437234 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IPs_With_IP_Validation", + "value": 180.2, + "unit": "ns/op\t 48 B/op\t 1 allocs/op", + "extra": "6664801 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", + "value": 308, + "unit": "ns/op\t 128 B/op\t 1 allocs/op", + "extra": "3904239 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IP_With_ProxyHeader", + "value": 37.84, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "31967632 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", + "value": 64.27, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "18646144 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IP", + "value": 35.27, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "33005809 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Is", + "value": 49.87, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "24106903 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_MultipartForm", + "value": 507.8, + "unit": "ns/op\t 48 B/op\t 4 allocs/op", + "extra": "2353279 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Params", + "value": 55.55, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "21866366 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_AllParams", + "value": 273.9, + "unit": "ns/op\t 336 B/op\t 2 allocs/op", + "extra": "4382499 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_ParamsParse", + "value": 3205, + "unit": "ns/op\t 816 B/op\t 39 allocs/op", + "extra": "362360 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Protocol", + "value": 15.81, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "75720417 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Subdomains", + "value": 110.2, + "unit": "ns/op\t 64 B/op\t 1 allocs/op", + "extra": "10674963 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_JSON", + "value": 219.1, + "unit": "ns/op\t 56 B/op\t 2 allocs/op", + "extra": "5245158 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_JSONP", + "value": 316.3, + "unit": "ns/op\t 56 B/op\t 2 allocs/op", + "extra": "3762798 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_XML", + "value": 2267, + "unit": "ns/op\t 4600 B/op\t 10 allocs/op", + "extra": "500842 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Links", + "value": 109.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "10802673 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", + "value": 1051, + "unit": "ns/op\t 464 B/op\t 8 allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RedirectToRoute", + "value": 173.8, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "6868686 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RedirectToRouteWithQueries", + "value": 586.2, + "unit": "ns/op\t 376 B/op\t 4 allocs/op", + "extra": "2060482 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RenderLocals", + "value": 692.5, + "unit": "ns/op\t 432 B/op\t 6 allocs/op", + "extra": "1750567 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RenderBind", + "value": 730, + "unit": "ns/op\t 432 B/op\t 6 allocs/op", + "extra": "1648681 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Render_Engine", + "value": 683.5, + "unit": "ns/op\t 432 B/op\t 6 allocs/op", + "extra": "1786340 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Get_Location_From_Route", + "value": 132.4, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "9020790 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Send", + "value": 4.958, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "242229117 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Set", + "value": 48.37, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "24612548 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Type", + "value": 34.16, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "35851509 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Type_Charset", + "value": 75.62, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "15860751 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Vary", + "value": 90.91, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "13507534 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Write", + "value": 14.97, + "unit": "ns/op\t 69 B/op\t 0 allocs/op", + "extra": "82096035 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Writef", + "value": 101.6, + "unit": "ns/op\t 84 B/op\t 1 allocs/op", + "extra": "11171350 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_XHR", + "value": 46.77, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "25120394 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_SendString_B", + "value": 8.321, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "148946215 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Queries", + "value": 285.5, + "unit": "ns/op\t 336 B/op\t 2 allocs/op", + "extra": "4276138 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_QueryParser", + "value": 2982, + "unit": "ns/op\t 856 B/op\t 38 allocs/op", + "extra": "383371 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_parseQuery", + "value": 2539, + "unit": "ns/op\t 752 B/op\t 29 allocs/op", + "extra": "455233 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_QueryParser_Comma", + "value": 3207, + "unit": "ns/op\t 928 B/op\t 44 allocs/op", + "extra": "358128 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_ReqHeaderParser", + "value": 3199, + "unit": "ns/op\t 928 B/op\t 44 allocs/op", + "extra": "359032 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyStreamWriter", + "value": 1045, + "unit": "ns/op\t 797 B/op\t 8 allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_GetRespHeaders", + "value": 363.5, + "unit": "ns/op\t 448 B/op\t 5 allocs/op", + "extra": "3318786 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_GetReqHeaders", + "value": 373.1, + "unit": "ns/op\t 448 B/op\t 5 allocs/op", + "extra": "3241963 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer", + "value": 829.5, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1469959 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer_WithParams", + "value": 802.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1526259 times\n4 procs" + }, + { + "name": "Benchmark_Utils_ForEachParameter", + "value": 87.62, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "13714670 times\n4 procs" + }, + { + "name": "Benchmark_Utils_ParamsMatch", + "value": 132.7, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9034110 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetSplicedStrList", + "value": 54.15, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "22425583 times\n4 procs" + }, + { + "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", + "value": 11.54, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "100000000 times\n4 procs" + }, + { + "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", + "value": 149.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "8023060 times\n4 procs" + }, + { + "name": "Benchmark_Utils_ETag", + "value": 3049, + "unit": "ns/op\t 1044 B/op\t 3 allocs/op", + "extra": "383904 times\n4 procs" + }, + { + "name": "Benchmark_Utils_ETag_Weak", + "value": 3115, + "unit": "ns/op\t 1068 B/op\t 4 allocs/op", + "extra": "369823 times\n4 procs" + }, + { + "name": "Benchmark_Utils_getGroupPath", + "value": 119.3, + "unit": "ns/op\t 96 B/op\t 2 allocs/op", + "extra": "10097888 times\n4 procs" + }, + { + "name": "Benchmark_Utils_Unescape", + "value": 38.83, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "29761555 times\n4 procs" + }, + { + "name": "Benchmark_Utils_IsNoCache", + "value": 44.41, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "27140857 times\n4 procs" + }, + { + "name": "Benchmark_SlashRecognition/indexBytes", + "value": 4.027, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "297923133 times\n4 procs" + }, + { + "name": "Benchmark_SlashRecognition/forEach", + "value": 4.023, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "296846679 times\n4 procs" + }, + { + "name": "Benchmark_SlashRecognition/IndexRune", + "value": 3.35, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "358225369 times\n4 procs" + }, + { + "name": "Benchmark_Utils_RemoveEscapeChar", + "value": 50.24, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "23482633 times\n4 procs" + }, + { + "name": "Benchmark_App_MethodNotAllowed", + "value": 743.3, + "unit": "ns/op\t 80 B/op\t 3 allocs/op", + "extra": "1601914 times\n4 procs" + }, + { + "name": "Benchmark_Router_NotFound", + "value": 762.2, + "unit": "ns/op\t 80 B/op\t 3 allocs/op", + "extra": "1596166 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler", + "value": 139, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "8648430 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler_Strict_Case", + "value": 131.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9186168 times\n4 procs" + }, + { + "name": "Benchmark_Router_Chain", + "value": 434, + "unit": "ns/op\t 48 B/op\t 3 allocs/op", + "extra": "2756755 times\n4 procs" + }, + { + "name": "Benchmark_Router_WithCompression", + "value": 434.2, + "unit": "ns/op\t 48 B/op\t 3 allocs/op", + "extra": "2757637 times\n4 procs" + }, + { + "name": "Benchmark_Startup_Process", + "value": 569225, + "unit": "ns/op\t 373090 B/op\t 5606 allocs/op", + "extra": "2076 times\n4 procs" + }, + { + "name": "Benchmark_Router_Next", + "value": 74.79, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "15891094 times\n4 procs" + }, + { + "name": "Benchmark_Route_Match", + "value": 22.85, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "55377414 times\n4 procs" + }, + { + "name": "Benchmark_Route_Match_Star", + "value": 2.479, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "484832440 times\n4 procs" + }, + { + "name": "Benchmark_Route_Match_Root", + "value": 2.501, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "484956148 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler_CaseSensitive", + "value": 133.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9002124 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler_Unescape", + "value": 199.4, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "6064014 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler_StrictRouting", + "value": 133.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9005754 times\n4 procs" + }, + { + "name": "Benchmark_Router_Github_API", + "value": 195346, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "6121 times\n4 procs" + }, + { + "name": "Benchmark_Memory/fiber_memory", + "value": 150693, + "unit": "ns/op\t 24567 B/op\t 1000 allocs/op", + "extra": "7303 times\n4 procs" + }, + { + "name": "Benchmark_Storage_Memory/fiber_memory", + "value": 115866, + "unit": "ns/op\t 683 B/op\t 0 allocs/op", + "extra": "9901 times\n4 procs" + }, + { + "name": "Benchmark_FiberHandlerFunc_1MB", + "value": 1554, + "unit": "ns/op\t 1858 B/op\t 13 allocs/op", + "extra": "689164 times\n4 procs" + }, + { + "name": "Benchmark_FiberHandlerFunc_10MB", + "value": 1512, + "unit": "ns/op\t 1885 B/op\t 13 allocs/op", + "extra": "811788 times\n4 procs" + }, + { + "name": "Benchmark_FiberHandlerFunc_50MB", + "value": 1462, + "unit": "ns/op\t 1997 B/op\t 13 allocs/op", + "extra": "780489 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_BasicAuth", + "value": 369.5, + "unit": "ns/op\t 80 B/op\t 5 allocs/op", + "extra": "3326826 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_BasicAuth_Upper", + "value": 361.6, + "unit": "ns/op\t 80 B/op\t 5 allocs/op", + "extra": "3310094 times\n4 procs" + }, + { + "name": "Benchmark_Cache", + "value": 311.3, + "unit": "ns/op\t 16 B/op\t 2 allocs/op", + "extra": "3820806 times\n4 procs" + }, + { + "name": "Benchmark_Cache_Storage", + "value": 654.1, + "unit": "ns/op\t 176 B/op\t 5 allocs/op", + "extra": "1828776 times\n4 procs" + }, + { + "name": "Benchmark_Cache_AdditionalHeaders", + "value": 389.7, + "unit": "ns/op\t 16 B/op\t 2 allocs/op", + "extra": "3068962 times\n4 procs" + }, + { + "name": "Benchmark_Cache_MaxSize/Disabled", + "value": 1682, + "unit": "ns/op\t 384 B/op\t 7 allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "Benchmark_Cache_MaxSize/Unlim", + "value": 1778, + "unit": "ns/op\t 658 B/op\t 7 allocs/op", + "extra": "963852 times\n4 procs" + }, + { + "name": "Benchmark_Cache_MaxSize/LowBounded", + "value": 1199, + "unit": "ns/op\t 231 B/op\t 7 allocs/op", + "extra": "849442 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_CSRF_Check", + "value": 2471, + "unit": "ns/op\t 358 B/op\t 8 allocs/op", + "extra": "570374 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_CSRF_GenerateToken", + "value": 2532, + "unit": "ns/op\t 364 B/op\t 8 allocs/op", + "extra": "552453 times\n4 procs" + }, + { + "name": "Benchmark_Etag", + "value": 98.24, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "12266905 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_Favicon", + "value": 83.14, + "unit": "ns/op\t 3 B/op\t 1 allocs/op", + "extra": "14728370 times\n4 procs" + }, + { + "name": "BenchmarkMarshalMsgresponse", + "value": 39.07, + "unit": "ns/op\t 32 B/op\t 1 allocs/op", + "extra": "30678318 times\n4 procs" + }, + { + "name": "BenchmarkAppendMsgresponse", + "value": 17.5, + "unit": "ns/op\t 742.68 MB/s\t 0 B/op\t 0 allocs/op", + "extra": "68972920 times\n4 procs" + }, + { + "name": "BenchmarkUnmarshalresponse", + "value": 32.57, + "unit": "ns/op\t 399.08 MB/s\t 0 B/op\t 0 allocs/op", + "extra": "36670722 times\n4 procs" + }, + { + "name": "Benchmark_Idempotency/hit", + "value": 585.9, + "unit": "ns/op\t 512 B/op\t 6 allocs/op", + "extra": "2055223 times\n4 procs" + }, + { + "name": "Benchmark_Idempotency/skip", + "value": 105.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "11412236 times\n4 procs" + }, + { + "name": "Benchmark_Limiter_Custom_Store", + "value": 368.5, + "unit": "ns/op\t 72 B/op\t 2 allocs/op", + "extra": "3226698 times\n4 procs" + }, + { + "name": "Benchmark_Limiter", + "value": 235.9, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "4911139 times\n4 procs" + }, + { + "name": "Benchmark_Logger/Base", + "value": 294.6, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "4085116 times\n4 procs" + }, + { + "name": "Benchmark_Logger/DefaultFormat", + "value": 1117, + "unit": "ns/op\t 215 B/op\t 8 allocs/op", + "extra": "962080 times\n4 procs" + }, + { + "name": "Benchmark_Logger/WithTagParameter", + "value": 337.4, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "3575396 times\n4 procs" + }, + { + "name": "Benchmark_Monitor", + "value": 462.7, + "unit": "ns/op\t 128 B/op\t 1 allocs/op", + "extra": "2614674 times\n4 procs" + }, + { + "name": "Benchmark_Session/default", + "value": 18353, + "unit": "ns/op\t 8538 B/op\t 207 allocs/op", + "extra": "65061 times\n4 procs" + }, + { + "name": "Benchmark_Session/storage", + "value": 18306, + "unit": "ns/op\t 8538 B/op\t 207 allocs/op", + "extra": "64962 times\n4 procs" + }, + { + "name": "Benchmark_ToLowerBytes/fiber", + "value": 51.1, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "23152404 times\n4 procs" + }, + { + "name": "Benchmark_ToLowerBytes/default", + "value": 102.7, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "11765415 times\n4 procs" + }, + { + "name": "Benchmark_ToUpperBytes/fiber", + "value": 31.34, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "38650266 times\n4 procs" + }, + { + "name": "Benchmark_ToUpperBytes/default", + "value": 117.8, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "10093011 times\n4 procs" + }, + { + "name": "Benchmark_TrimRightBytes/fiber", + "value": 15.61, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "71706913 times\n4 procs" + }, + { + "name": "Benchmark_TrimRightBytes/default", + "value": 16.13, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "67396980 times\n4 procs" + }, + { + "name": "Benchmark_TrimLeftBytes/fiber", + "value": 15.25, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "71385063 times\n4 procs" + }, + { + "name": "Benchmark_TrimLeftBytes/default", + "value": 17.02, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "64811347 times\n4 procs" + }, + { + "name": "Benchmark_TrimBytes/fiber", + "value": 22.23, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "49942239 times\n4 procs" + }, + { + "name": "Benchmark_TrimBytes/default", + "value": 24.37, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "45498890 times\n4 procs" + }, + { + "name": "Benchmark_EqualFoldBytes/fiber", + "value": 68.82, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "17514330 times\n4 procs" + }, + { + "name": "Benchmark_EqualFoldBytes/default", + "value": 91.52, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "14303877 times\n4 procs" + }, + { + "name": "Benchmark_UUID/fiber", + "value": 46.78, + "unit": "ns/op\t 48 B/op\t 1 allocs/op", + "extra": "25096252 times\n4 procs" + }, + { + "name": "Benchmark_UUID/default", + "value": 359.3, + "unit": "ns/op\t 168 B/op\t 6 allocs/op", + "extra": "3334144 times\n4 procs" + }, + { + "name": "Benchmark_ConvertToBytes/fiber", + "value": 26.38, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "45517581 times\n4 procs" + }, + { + "name": "Benchmark_UnsafeString/unsafe", + "value": 0.6821, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_UnsafeString/default", + "value": 21.54, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "51631689 times\n4 procs" + }, + { + "name": "Benchmark_UnsafeBytes/unsafe", + "value": 0.7226, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_UnsafeBytes/default", + "value": 25.09, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "44466768 times\n4 procs" + }, + { + "name": "Benchmark_ToString", + "value": 69.63, + "unit": "ns/op\t 40 B/op\t 2 allocs/op", + "extra": "17185148 times\n4 procs" + }, + { + "name": "Benchmark_GetMIME/fiber", + "value": 66.12, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "18366236 times\n4 procs" + }, + { + "name": "Benchmark_GetMIME/default", + "value": 129.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9397424 times\n4 procs" + }, + { + "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", + "value": 49.48, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "23643434 times\n4 procs" + }, + { + "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", + "value": 7.427, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "160786540 times\n4 procs" + }, + { + "name": "Benchmark_StatusMessage/fiber", + "value": 0.9464, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_StatusMessage/default", + "value": 3.719, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "323038503 times\n4 procs" + }, + { + "name": "Benchmark_IsIPv4/fiber", + "value": 20.15, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "61682836 times\n4 procs" + }, + { + "name": "Benchmark_IsIPv4/default", + "value": 50.46, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "22998781 times\n4 procs" + }, + { + "name": "Benchmark_IsIPv6/fiber", + "value": 67.42, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "17830232 times\n4 procs" + }, + { + "name": "Benchmark_IsIPv6/default", + "value": 107.3, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "11036935 times\n4 procs" + }, + { + "name": "Benchmark_ToUpper/fiber", + "value": 68.42, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "17921263 times\n4 procs" + }, + { + "name": "Benchmark_ToUpper/default", + "value": 271.4, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "4385750 times\n4 procs" + }, + { + "name": "Benchmark_ToLower/fiber", + "value": 87.99, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "13743082 times\n4 procs" + }, + { + "name": "Benchmark_ToLower/default", + "value": 235.1, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "5054121 times\n4 procs" + }, + { + "name": "Benchmark_TrimRight/fiber", + "value": 2.495, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "500394628 times\n4 procs" + }, + { + "name": "Benchmark_TrimRight/default", + "value": 3.717, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "323252583 times\n4 procs" + }, + { + "name": "Benchmark_TrimLeft/fiber", + "value": 2.503, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "463329052 times\n4 procs" + }, + { + "name": "Benchmark_TrimLeft/default", + "value": 4.023, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "298347373 times\n4 procs" + }, + { + "name": "Benchmark_Trim/fiber", + "value": 5.258, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "228082573 times\n4 procs" + }, + { + "name": "Benchmark_Trim/default", + "value": 5.273, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "227343432 times\n4 procs" + }, + { + "name": "Benchmark_EqualFold/fiber", + "value": 55.74, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "21512803 times\n4 procs" + }, + { + "name": "Benchmark_EqualFold/default", + "value": 82.84, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "14598964 times\n4 procs" + }, + { + "name": "Benchmark_CalculateTimestamp/fiber", + "value": 0.3172, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_CalculateTimestamp/default", + "value": 54.81, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "21894429 times\n4 procs" + } + ] } ] }