diff --git a/benchmarks/data.js b/benchmarks/data.js index 090e5dbc75..155bc61585 100644 --- a/benchmarks/data.js +++ b/benchmarks/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1711489707929, + "lastUpdate": 1712154370426, "repoUrl": "https://github.com/gofiber/fiber", "entries": { "Benchmark": [ @@ -211426,6 +211426,1200 @@ window.BENCHMARK_DATA = { "extra": "21431482 times\n4 procs" } ] + }, + { + "commit": { + "author": { + "email": "rene@gofiber.io", + "name": "René", + "username": "ReneWerner87" + }, + "committer": { + "email": "rene@gofiber.io", + "name": "René", + "username": "ReneWerner87" + }, + "distinct": true, + "id": "96330a6c0563eb987473d565fdd7b0df8315d894", + "message": "Add a new benchmark that tests the simple flow\nthis will be used later to make differences with version 3 directly visible", + "timestamp": "2024-04-03T16:17:40+02:00", + "tree_id": "3b5c407dabc531ce5b5875599bb25ddf8408450d", + "url": "https://github.com/gofiber/fiber/commit/96330a6c0563eb987473d565fdd7b0df8315d894" + }, + "date": 1712154335092, + "tool": "go", + "benches": [ + { + "name": "Benchmark_AcquireCtx", + "value": 449.9, + "unit": "ns/op\t 1568 B/op\t 5 allocs/op", + "extra": "2659773 times\n4 procs" + }, + { + "name": "Benchmark_App_ETag", + "value": 3293, + "unit": "ns/op\t 1044 B/op\t 3 allocs/op", + "extra": "356587 times\n4 procs" + }, + { + "name": "Benchmark_App_ETag_Weak", + "value": 3473, + "unit": "ns/op\t 1068 B/op\t 4 allocs/op", + "extra": "346479 times\n4 procs" + }, + { + "name": "Benchmark_Communication_Flow", + "value": 62.61, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "19037494 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_AcceptsCharsets", + "value": 116.6, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "10202876 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_AcceptsEncodings", + "value": 160.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "7480941 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_AcceptsLanguages", + "value": 238, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "5081138 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Append", + "value": 176.1, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "6844220 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Attachment", + "value": 323.2, + "unit": "ns/op\t 104 B/op\t 2 allocs/op", + "extra": "3596805 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BaseURL", + "value": 2.171, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "548819316 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Body", + "value": 18.88, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "64537533 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Body_With_Compression/gzip", + "value": 831.8, + "unit": "ns/op\t 144 B/op\t 7 allocs/op", + "extra": "1433980 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Body_With_Compression/deflate", + "value": 654, + "unit": "ns/op\t 128 B/op\t 4 allocs/op", + "extra": "1830768 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyParser_JSON", + "value": 653.3, + "unit": "ns/op\t 240 B/op\t 6 allocs/op", + "extra": "1831876 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyParser_JSON_Extension", + "value": 727.3, + "unit": "ns/op\t 264 B/op\t 7 allocs/op", + "extra": "1595230 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyParser_XML", + "value": 2159, + "unit": "ns/op\t 1160 B/op\t 24 allocs/op", + "extra": "532934 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyParser_Form", + "value": 1085, + "unit": "ns/op\t 360 B/op\t 13 allocs/op", + "extra": "968383 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyParser_MultipartForm", + "value": 982.1, + "unit": "ns/op\t 328 B/op\t 12 allocs/op", + "extra": "1222599 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Cookie", + "value": 107.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "11124246 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_CookieParser", + "value": 7483, + "unit": "ns/op\t 2096 B/op\t 96 allocs/op", + "extra": "156424 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Format", + "value": 170.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "7113126 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Format_HTML", + "value": 137.6, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "8773215 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Format_JSON", + "value": 300.4, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "3993837 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Format_XML", + "value": 1872, + "unit": "ns/op\t 4480 B/op\t 7 allocs/op", + "extra": "560967 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Fresh_StaleEtag", + "value": 397.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "3003272 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Fresh_WithNoCache", + "value": 91.65, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "13295644 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IPs", + "value": 113.8, + "unit": "ns/op\t 48 B/op\t 1 allocs/op", + "extra": "10470784 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IPs_v6", + "value": 180.2, + "unit": "ns/op\t 128 B/op\t 1 allocs/op", + "extra": "6485368 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IPs_With_IP_Validation", + "value": 146.9, + "unit": "ns/op\t 48 B/op\t 1 allocs/op", + "extra": "8061255 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", + "value": 311.9, + "unit": "ns/op\t 128 B/op\t 1 allocs/op", + "extra": "3807597 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IP_With_ProxyHeader", + "value": 32.35, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "39207794 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", + "value": 60.85, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "19916894 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IP", + "value": 36.67, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "31644950 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Is", + "value": 38.04, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "31563806 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_MultipartForm", + "value": 522, + "unit": "ns/op\t 48 B/op\t 4 allocs/op", + "extra": "2299899 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Params", + "value": 54.79, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "21796179 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_AllParams", + "value": 275.3, + "unit": "ns/op\t 336 B/op\t 2 allocs/op", + "extra": "4222874 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_ParamsParse", + "value": 3252, + "unit": "ns/op\t 816 B/op\t 39 allocs/op", + "extra": "351980 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Protocol", + "value": 15.5, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "77239694 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Subdomains", + "value": 101.3, + "unit": "ns/op\t 64 B/op\t 1 allocs/op", + "extra": "11554341 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_JSON", + "value": 226.6, + "unit": "ns/op\t 56 B/op\t 2 allocs/op", + "extra": "5214442 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_JSON_Ctype", + "value": 238.7, + "unit": "ns/op\t 56 B/op\t 2 allocs/op", + "extra": "4997259 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_JSONP", + "value": 336.1, + "unit": "ns/op\t 56 B/op\t 2 allocs/op", + "extra": "3558664 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_XML", + "value": 2115, + "unit": "ns/op\t 4600 B/op\t 10 allocs/op", + "extra": "521733 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Links", + "value": 115.7, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "10183407 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", + "value": 1055, + "unit": "ns/op\t 464 B/op\t 8 allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RedirectToRoute", + "value": 174.8, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "6770524 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RedirectToRouteWithQueries", + "value": 568.3, + "unit": "ns/op\t 376 B/op\t 4 allocs/op", + "extra": "2114167 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RenderLocals", + "value": 708.2, + "unit": "ns/op\t 432 B/op\t 6 allocs/op", + "extra": "1716991 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RenderBind", + "value": 738.7, + "unit": "ns/op\t 432 B/op\t 6 allocs/op", + "extra": "1620358 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Render_Engine", + "value": 680.4, + "unit": "ns/op\t 432 B/op\t 6 allocs/op", + "extra": "1767676 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Get_Location_From_Route", + "value": 136, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "8750721 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Send", + "value": 4.334, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "276632416 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Set", + "value": 50.59, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "24323041 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Type", + "value": 33.32, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "35863700 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Type_Charset", + "value": 77.73, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "15483518 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Vary", + "value": 86.1, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "13929511 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Write", + "value": 16.27, + "unit": "ns/op\t 74 B/op\t 0 allocs/op", + "extra": "76605109 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Writef", + "value": 111, + "unit": "ns/op\t 87 B/op\t 1 allocs/op", + "extra": "10707807 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_XHR", + "value": 39.81, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "30691902 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_SendString_B", + "value": 7.758, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "155021556 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Queries", + "value": 285.9, + "unit": "ns/op\t 336 B/op\t 2 allocs/op", + "extra": "4197976 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_QueryParser", + "value": 2938, + "unit": "ns/op\t 856 B/op\t 38 allocs/op", + "extra": "391983 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_parseQuery", + "value": 2529, + "unit": "ns/op\t 752 B/op\t 29 allocs/op", + "extra": "452612 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_QueryParser_Comma", + "value": 3232, + "unit": "ns/op\t 928 B/op\t 44 allocs/op", + "extra": "355378 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_ReqHeaderParser", + "value": 3231, + "unit": "ns/op\t 928 B/op\t 44 allocs/op", + "extra": "357382 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyStreamWriter", + "value": 1035, + "unit": "ns/op\t 794 B/op\t 8 allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_GetRespHeaders", + "value": 360.5, + "unit": "ns/op\t 448 B/op\t 5 allocs/op", + "extra": "3314856 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_GetReqHeaders", + "value": 382.3, + "unit": "ns/op\t 448 B/op\t 5 allocs/op", + "extra": "3131313 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/simple", + "value": 51.61, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "23308627 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/6_offers", + "value": 129.5, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9233589 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/1_parameter", + "value": 136.6, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "8839587 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/2_parameters", + "value": 210.1, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "5702541 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/3_parameters", + "value": 411.6, + "unit": "ns/op\t 128 B/op\t 1 allocs/op", + "extra": "2872179 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/10_parameters", + "value": 1462, + "unit": "ns/op\t 896 B/op\t 3 allocs/op", + "extra": "786238 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/6_offers_w/params", + "value": 350.8, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "3416265 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/mime_extension", + "value": 293.6, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "4098987 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/web_browser", + "value": 152.1, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "7922319 times\n4 procs" + }, + { + "name": "Benchmark_Utils_ForEachParameter", + "value": 87.7, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "13694787 times\n4 procs" + }, + { + "name": "Benchmark_Utils_ParamsMatch", + "value": 133.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "8976372 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetSplicedStrList", + "value": 54.05, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "22353451 times\n4 procs" + }, + { + "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", + "value": 11.67, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "100000000 times\n4 procs" + }, + { + "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", + "value": 153.6, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "7816732 times\n4 procs" + }, + { + "name": "Benchmark_Utils_ETag", + "value": 3358, + "unit": "ns/op\t 1044 B/op\t 3 allocs/op", + "extra": "344487 times\n4 procs" + }, + { + "name": "Benchmark_Utils_ETag_Weak", + "value": 3401, + "unit": "ns/op\t 1068 B/op\t 4 allocs/op", + "extra": "343108 times\n4 procs" + }, + { + "name": "Benchmark_Utils_getGroupPath", + "value": 121.8, + "unit": "ns/op\t 96 B/op\t 2 allocs/op", + "extra": "9814372 times\n4 procs" + }, + { + "name": "Benchmark_Utils_Unescape", + "value": 41.44, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "28258467 times\n4 procs" + }, + { + "name": "Benchmark_Utils_IsNoCache", + "value": 49.36, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "23628070 times\n4 procs" + }, + { + "name": "Benchmark_SlashRecognition/indexBytes", + "value": 4.026, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "293092748 times\n4 procs" + }, + { + "name": "Benchmark_SlashRecognition/forEach", + "value": 4.025, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "298314595 times\n4 procs" + }, + { + "name": "Benchmark_SlashRecognition/IndexRune", + "value": 3.38, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "361755910 times\n4 procs" + }, + { + "name": "Benchmark_Utils_RemoveEscapeChar", + "value": 50.85, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "23136277 times\n4 procs" + }, + { + "name": "Benchmark_App_MethodNotAllowed", + "value": 753.5, + "unit": "ns/op\t 80 B/op\t 3 allocs/op", + "extra": "1606574 times\n4 procs" + }, + { + "name": "Benchmark_Router_NotFound", + "value": 733.1, + "unit": "ns/op\t 80 B/op\t 3 allocs/op", + "extra": "1642714 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler", + "value": 134.6, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "8897978 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler_Strict_Case", + "value": 124.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9648372 times\n4 procs" + }, + { + "name": "Benchmark_Router_Chain", + "value": 452.8, + "unit": "ns/op\t 48 B/op\t 3 allocs/op", + "extra": "2662881 times\n4 procs" + }, + { + "name": "Benchmark_Router_WithCompression", + "value": 450.7, + "unit": "ns/op\t 48 B/op\t 3 allocs/op", + "extra": "2664006 times\n4 procs" + }, + { + "name": "Benchmark_Startup_Process", + "value": 569964, + "unit": "ns/op\t 373108 B/op\t 5606 allocs/op", + "extra": "2049 times\n4 procs" + }, + { + "name": "Benchmark_Router_Next", + "value": 77.16, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "15488508 times\n4 procs" + }, + { + "name": "Benchmark_Route_Match", + "value": 22.23, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "55269832 times\n4 procs" + }, + { + "name": "Benchmark_Route_Match_Star", + "value": 3.42, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "350124834 times\n4 procs" + }, + { + "name": "Benchmark_Route_Match_Root", + "value": 2.168, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "552216600 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler_CaseSensitive", + "value": 125.8, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9558624 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler_Unescape", + "value": 188.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "6394113 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler_StrictRouting", + "value": 125.1, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9599252 times\n4 procs" + }, + { + "name": "Benchmark_Router_Github_API", + "value": 193973, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "6082 times\n4 procs" + }, + { + "name": "Benchmark_Memory/fiber_memory", + "value": 146063, + "unit": "ns/op\t 24577 B/op\t 1000 allocs/op", + "extra": "7194 times\n4 procs" + }, + { + "name": "Benchmark_Storage_Memory/fiber_memory", + "value": 116459, + "unit": "ns/op\t 667 B/op\t 0 allocs/op", + "extra": "9841 times\n4 procs" + }, + { + "name": "Benchmark_FiberHandlerFunc_1MB", + "value": 1610, + "unit": "ns/op\t 1858 B/op\t 13 allocs/op", + "extra": "689840 times\n4 procs" + }, + { + "name": "Benchmark_FiberHandlerFunc_10MB", + "value": 1512, + "unit": "ns/op\t 1897 B/op\t 13 allocs/op", + "extra": "737155 times\n4 procs" + }, + { + "name": "Benchmark_FiberHandlerFunc_50MB", + "value": 1457, + "unit": "ns/op\t 1989 B/op\t 13 allocs/op", + "extra": "811528 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_BasicAuth", + "value": 319.2, + "unit": "ns/op\t 48 B/op\t 3 allocs/op", + "extra": "3785931 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_BasicAuth_Upper", + "value": 313.1, + "unit": "ns/op\t 48 B/op\t 3 allocs/op", + "extra": "3794916 times\n4 procs" + }, + { + "name": "Benchmark_Cache", + "value": 325.2, + "unit": "ns/op\t 16 B/op\t 2 allocs/op", + "extra": "3670828 times\n4 procs" + }, + { + "name": "Benchmark_Cache_Storage", + "value": 639.3, + "unit": "ns/op\t 176 B/op\t 5 allocs/op", + "extra": "1885173 times\n4 procs" + }, + { + "name": "Benchmark_Cache_AdditionalHeaders", + "value": 400.4, + "unit": "ns/op\t 16 B/op\t 2 allocs/op", + "extra": "2672506 times\n4 procs" + }, + { + "name": "Benchmark_Cache_MaxSize/Disabled", + "value": 1699, + "unit": "ns/op\t 397 B/op\t 7 allocs/op", + "extra": "938632 times\n4 procs" + }, + { + "name": "Benchmark_Cache_MaxSize/Unlim", + "value": 1762, + "unit": "ns/op\t 663 B/op\t 7 allocs/op", + "extra": "954634 times\n4 procs" + }, + { + "name": "Benchmark_Cache_MaxSize/LowBounded", + "value": 1176, + "unit": "ns/op\t 231 B/op\t 7 allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandler", + "value": 469, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "2573556 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerParallel", + "value": 219.6, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "5630880 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerSingleOrigin", + "value": 472.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "2482053 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerSingleOriginParallel", + "value": 222.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "5538826 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerWildcard", + "value": 368.8, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "3253515 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerWildcardParallel", + "value": 166.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "7256065 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerPreflight", + "value": 759.7, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1579377 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerPreflightParallel", + "value": 346.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "3414224 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerPreflightSingleOrigin", + "value": 762.4, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1580668 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerPreflightSingleOriginParallel", + "value": 348.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "3443397 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerPreflightWildcard", + "value": 692.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1740090 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerPreflightWildcardParallel", + "value": 314.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "3827014 times\n4 procs" + }, + { + "name": "Benchmark_CORS_SubdomainMatch", + "value": 9.216, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "135163579 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_CSRF_Check", + "value": 1695, + "unit": "ns/op\t 339 B/op\t 7 allocs/op", + "extra": "677553 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_CSRF_GenerateToken", + "value": 2422, + "unit": "ns/op\t 329 B/op\t 6 allocs/op", + "extra": "601755 times\n4 procs" + }, + { + "name": "Benchmark_Etag", + "value": 97.58, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "12149154 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_Favicon", + "value": 90.86, + "unit": "ns/op\t 3 B/op\t 1 allocs/op", + "extra": "13285728 times\n4 procs" + }, + { + "name": "Benchmark_HealthCheck", + "value": 97.84, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "12299097 times\n4 procs" + }, + { + "name": "BenchmarkMarshalMsgresponse", + "value": 39.89, + "unit": "ns/op\t 32 B/op\t 1 allocs/op", + "extra": "30037084 times\n4 procs" + }, + { + "name": "BenchmarkAppendMsgresponse", + "value": 18.7, + "unit": "ns/op\t 695.01 MB/s\t 0 B/op\t 0 allocs/op", + "extra": "64483890 times\n4 procs" + }, + { + "name": "BenchmarkUnmarshalresponse", + "value": 34.03, + "unit": "ns/op\t 381.97 MB/s\t 0 B/op\t 0 allocs/op", + "extra": "34842308 times\n4 procs" + }, + { + "name": "Benchmark_Idempotency/hit", + "value": 573, + "unit": "ns/op\t 512 B/op\t 6 allocs/op", + "extra": "2128598 times\n4 procs" + }, + { + "name": "Benchmark_Idempotency/skip", + "value": 104.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "11468962 times\n4 procs" + }, + { + "name": "Benchmark_Limiter_Custom_Store", + "value": 398.4, + "unit": "ns/op\t 72 B/op\t 2 allocs/op", + "extra": "3017011 times\n4 procs" + }, + { + "name": "Benchmark_Limiter", + "value": 256.1, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "4681340 times\n4 procs" + }, + { + "name": "Benchmark_Logger/Base", + "value": 258.1, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "4602334 times\n4 procs" + }, + { + "name": "Benchmark_Logger/DefaultFormat", + "value": 656.4, + "unit": "ns/op\t 32 B/op\t 3 allocs/op", + "extra": "1844202 times\n4 procs" + }, + { + "name": "Benchmark_Logger/WithTagParameter", + "value": 291.8, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "4111224 times\n4 procs" + }, + { + "name": "Benchmark_Monitor", + "value": 456.5, + "unit": "ns/op\t 128 B/op\t 1 allocs/op", + "extra": "2782401 times\n4 procs" + }, + { + "name": "Benchmark_Session/default", + "value": 18029, + "unit": "ns/op\t 8537 B/op\t 207 allocs/op", + "extra": "66354 times\n4 procs" + }, + { + "name": "Benchmark_Session/storage", + "value": 18104, + "unit": "ns/op\t 8537 B/op\t 207 allocs/op", + "extra": "65755 times\n4 procs" + }, + { + "name": "Benchmark_ToLowerBytes/fiber", + "value": 31.21, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "38078200 times\n4 procs" + }, + { + "name": "Benchmark_ToLowerBytes/default", + "value": 103.5, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "11684835 times\n4 procs" + }, + { + "name": "Benchmark_ToUpperBytes/fiber", + "value": 51.15, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "23217794 times\n4 procs" + }, + { + "name": "Benchmark_ToUpperBytes/default", + "value": 118.5, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "10084850 times\n4 procs" + }, + { + "name": "Benchmark_TrimRightBytes/fiber", + "value": 15.27, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "73724755 times\n4 procs" + }, + { + "name": "Benchmark_TrimRightBytes/default", + "value": 16.42, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "72256854 times\n4 procs" + }, + { + "name": "Benchmark_TrimLeftBytes/fiber", + "value": 15.17, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "70733250 times\n4 procs" + }, + { + "name": "Benchmark_TrimLeftBytes/default", + "value": 16.73, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "65228440 times\n4 procs" + }, + { + "name": "Benchmark_TrimBytes/fiber", + "value": 23.11, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "47848988 times\n4 procs" + }, + { + "name": "Benchmark_TrimBytes/default", + "value": 23.47, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "47312936 times\n4 procs" + }, + { + "name": "Benchmark_EqualFoldBytes/fiber", + "value": 68.99, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "17656456 times\n4 procs" + }, + { + "name": "Benchmark_EqualFoldBytes/default", + "value": 83.34, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "14732677 times\n4 procs" + }, + { + "name": "Benchmark_UUID/fiber", + "value": 50.71, + "unit": "ns/op\t 48 B/op\t 1 allocs/op", + "extra": "25325078 times\n4 procs" + }, + { + "name": "Benchmark_UUID/default", + "value": 347.3, + "unit": "ns/op\t 168 B/op\t 6 allocs/op", + "extra": "3072736 times\n4 procs" + }, + { + "name": "Benchmark_ConvertToBytes/fiber", + "value": 28.52, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "41979228 times\n4 procs" + }, + { + "name": "Benchmark_UnsafeString/unsafe", + "value": 0.681, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_UnsafeString/default", + "value": 21.53, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "50774794 times\n4 procs" + }, + { + "name": "Benchmark_UnsafeBytes/unsafe", + "value": 0.7228, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_UnsafeBytes/default", + "value": 25.29, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "43624170 times\n4 procs" + }, + { + "name": "Benchmark_ToString", + "value": 62.98, + "unit": "ns/op\t 40 B/op\t 2 allocs/op", + "extra": "18657594 times\n4 procs" + }, + { + "name": "Benchmark_GetMIME/fiber", + "value": 69.76, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "17192943 times\n4 procs" + }, + { + "name": "Benchmark_GetMIME/default", + "value": 126.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9588774 times\n4 procs" + }, + { + "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", + "value": 49.41, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "23905468 times\n4 procs" + }, + { + "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", + "value": 6.825, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "171868912 times\n4 procs" + }, + { + "name": "Benchmark_StatusMessage/fiber", + "value": 0.9333, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_StatusMessage/default", + "value": 3.72, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "323085992 times\n4 procs" + }, + { + "name": "Benchmark_IsIPv4/fiber", + "value": 19.24, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "62849685 times\n4 procs" + }, + { + "name": "Benchmark_IsIPv4/default", + "value": 48.27, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "24281984 times\n4 procs" + }, + { + "name": "Benchmark_IsIPv6/fiber", + "value": 61.23, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "19614037 times\n4 procs" + }, + { + "name": "Benchmark_IsIPv6/default", + "value": 104.5, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "11256027 times\n4 procs" + }, + { + "name": "Benchmark_ToUpper/fiber", + "value": 86.53, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "13806068 times\n4 procs" + }, + { + "name": "Benchmark_ToUpper/default", + "value": 278.8, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "4275974 times\n4 procs" + }, + { + "name": "Benchmark_ToLower/fiber", + "value": 66.84, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "17726985 times\n4 procs" + }, + { + "name": "Benchmark_ToLower/default", + "value": 228.2, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "5218704 times\n4 procs" + }, + { + "name": "Benchmark_TrimRight/fiber", + "value": 2.794, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "429983095 times\n4 procs" + }, + { + "name": "Benchmark_TrimRight/default", + "value": 3.718, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "323089443 times\n4 procs" + }, + { + "name": "Benchmark_TrimLeft/fiber", + "value": 2.173, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "553426839 times\n4 procs" + }, + { + "name": "Benchmark_TrimLeft/default", + "value": 4.11, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "298231634 times\n4 procs" + }, + { + "name": "Benchmark_Trim/fiber", + "value": 4.332, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "276979839 times\n4 procs" + }, + { + "name": "Benchmark_Trim/default", + "value": 6.24, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "201595720 times\n4 procs" + }, + { + "name": "Benchmark_EqualFold/fiber", + "value": 55.6, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "21557853 times\n4 procs" + }, + { + "name": "Benchmark_EqualFold/default", + "value": 83.22, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "14343757 times\n4 procs" + }, + { + "name": "Benchmark_CalculateTimestamp/fiber", + "value": 0.3169, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_CalculateTimestamp/default", + "value": 55.97, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "21431234 times\n4 procs" + } + ] } ] }