From f53c6a5193be0a7c36c830d3cac4609f1f280f77 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Wed, 26 Jun 2024 07:25:55 +0000 Subject: [PATCH] add Benchmark (go) benchmark result for 7926e5bf4da03e54f62d27d53229d35b264cba8e --- benchmarks/data.js | 1202 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 1201 insertions(+), 1 deletion(-) diff --git a/benchmarks/data.js b/benchmarks/data.js index b77653561e..d2fc483121 100644 --- a/benchmarks/data.js +++ b/benchmarks/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1719240028299, + "lastUpdate": 1719386755086, "repoUrl": "https://github.com/gofiber/fiber", "entries": { "Benchmark": [ @@ -218620,6 +218620,1206 @@ window.BENCHMARK_DATA = { "extra": "21368032 times\n4 procs" } ] + }, + { + "commit": { + "author": { + "email": "sixcolors@mac.com", + "name": "Jason McNeil", + "username": "sixcolors" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "7926e5bf4da03e54f62d27d53229d35b264cba8e", + "message": "Merge pull request from GHSA-98j2-3j3p-fw2v\n\n* fix: token injection vulnerability GHSA-98j2-3j3p-fw2v\n\n- Ensure session IDs are securely generated server-side.\n- Add validation to prevent user-supplied session IDs.\n- Update tests to verify correct session token use.\n\nThis update addresses the critical session middleware vulnerability identified in versions 2 and above of GoFiber.\n\n* test(middleware/csrf): Save session after generating new session ID\n\nThis commit saves the session after generating a new session ID to ensure that the updated session ID is persisted. This change is necessary to address a critical session middleware vulnerability identified in versions 2 and above of GoFiber.\n\n* chore: Save session ID in context for middleware chain\n\nThe code changes add functionality to save the newly generated session ID in the context, allowing it to be accessible to subsequent middlewares in the chain. This improvement ensures that the session ID is available for use throughout the middleware stack.\n\n* test: Fix session freshness check in session_test\n\nThe code changes in `session_test.go` fix the session freshness check by updating the assertions for `sess.Fresh()` and `sess.ID()`. The previous assertions were incorrect and have been corrected to ensure the session ID remains the same and the session is not fresh.\n\n* refactor(session.go): general clean-up\n\n* chore: Revert session freshness behavior\n\nThe code changes in `session_test.go` fix the session freshness check by updating the assertions for `sess.Fresh()` and `sess.ID()`. The previous assertions were incorrect and have been corrected to ensure the session ID remains the same and the session is not fresh.", + "timestamp": "2024-06-26T09:17:41+02:00", + "tree_id": "1dfe51058596112a705f23a18c783b09b67f9097", + "url": "https://github.com/gofiber/fiber/commit/7926e5bf4da03e54f62d27d53229d35b264cba8e" + }, + "date": 1719386720711, + "tool": "go", + "benches": [ + { + "name": "Benchmark_App_ETag", + "value": 3283, + "unit": "ns/op\t 1044 B/op\t 3 allocs/op", + "extra": "367383 times\n4 procs" + }, + { + "name": "Benchmark_App_ETag_Weak", + "value": 3325, + "unit": "ns/op\t 1068 B/op\t 4 allocs/op", + "extra": "346040 times\n4 procs" + }, + { + "name": "Benchmark_Communication_Flow", + "value": 62.72, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "19106470 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_AcquireReleaseFlow/withoutRequestCtx", + "value": 49.13, + "unit": "ns/op\t 3 B/op\t 1 allocs/op", + "extra": "24210842 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_AcquireReleaseFlow/withRequestCtx", + "value": 496.8, + "unit": "ns/op\t 1568 B/op\t 5 allocs/op", + "extra": "2574373 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_AcceptsCharsets", + "value": 116.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "10195170 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_AcceptsEncodings", + "value": 161.7, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "7395817 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_AcceptsLanguages", + "value": 233.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "5092396 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Append", + "value": 174.7, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "6805515 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Attachment", + "value": 342.5, + "unit": "ns/op\t 104 B/op\t 2 allocs/op", + "extra": "3021408 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BaseURL", + "value": 2.169, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "551773449 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Body", + "value": 18.91, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "63397122 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Body_With_Compression/gzip", + "value": 840.6, + "unit": "ns/op\t 145 B/op\t 7 allocs/op", + "extra": "1419141 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Body_With_Compression/deflate", + "value": 668.1, + "unit": "ns/op\t 128 B/op\t 4 allocs/op", + "extra": "1788451 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyParser_JSON", + "value": 668.6, + "unit": "ns/op\t 240 B/op\t 6 allocs/op", + "extra": "1815333 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyParser_JSON_Extension", + "value": 739.7, + "unit": "ns/op\t 264 B/op\t 7 allocs/op", + "extra": "1595814 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyParser_XML", + "value": 2179, + "unit": "ns/op\t 1160 B/op\t 24 allocs/op", + "extra": "516170 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyParser_Form", + "value": 1118, + "unit": "ns/op\t 360 B/op\t 13 allocs/op", + "extra": "957110 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyParser_MultipartForm", + "value": 1003, + "unit": "ns/op\t 328 B/op\t 12 allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Cookie", + "value": 107.1, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "11259032 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_CookieParser", + "value": 7604, + "unit": "ns/op\t 2096 B/op\t 96 allocs/op", + "extra": "155064 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Format", + "value": 169.6, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "6971098 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Format_HTML", + "value": 138.7, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "8722880 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Format_JSON", + "value": 304.7, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "3937279 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Format_XML", + "value": 1971, + "unit": "ns/op\t 4480 B/op\t 7 allocs/op", + "extra": "589809 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Fresh_StaleEtag", + "value": 401.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "2971754 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Fresh_WithNoCache", + "value": 93.32, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "13032232 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IPs", + "value": 115.4, + "unit": "ns/op\t 48 B/op\t 1 allocs/op", + "extra": "10256535 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IPs_v6", + "value": 182.2, + "unit": "ns/op\t 128 B/op\t 1 allocs/op", + "extra": "6581606 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IPs_With_IP_Validation", + "value": 148.8, + "unit": "ns/op\t 48 B/op\t 1 allocs/op", + "extra": "7971303 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", + "value": 317.7, + "unit": "ns/op\t 128 B/op\t 1 allocs/op", + "extra": "3775504 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IP_With_ProxyHeader", + "value": 33.69, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "38444824 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", + "value": 59.6, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "20415985 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_IP", + "value": 37.77, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "31036440 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Is", + "value": 39.35, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "30389493 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_MultipartForm", + "value": 525.2, + "unit": "ns/op\t 48 B/op\t 4 allocs/op", + "extra": "2283417 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Params", + "value": 55.76, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "21341774 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_AllParams", + "value": 279.1, + "unit": "ns/op\t 336 B/op\t 2 allocs/op", + "extra": "4358581 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_ParamsParse", + "value": 3307, + "unit": "ns/op\t 816 B/op\t 39 allocs/op", + "extra": "347532 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Protocol", + "value": 15.83, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "75712898 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Subdomains", + "value": 102.6, + "unit": "ns/op\t 64 B/op\t 1 allocs/op", + "extra": "11279379 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_JSON", + "value": 229.7, + "unit": "ns/op\t 56 B/op\t 2 allocs/op", + "extra": "5197527 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_JSON_Ctype", + "value": 240.4, + "unit": "ns/op\t 56 B/op\t 2 allocs/op", + "extra": "5001285 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_JSONP", + "value": 335.1, + "unit": "ns/op\t 56 B/op\t 2 allocs/op", + "extra": "3589058 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_XML", + "value": 2190, + "unit": "ns/op\t 4600 B/op\t 10 allocs/op", + "extra": "476316 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Links", + "value": 119.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9669772 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", + "value": 1067, + "unit": "ns/op\t 464 B/op\t 8 allocs/op", + "extra": "981273 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RedirectToRoute", + "value": 175.8, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "6865100 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RedirectToRouteWithQueries", + "value": 575.9, + "unit": "ns/op\t 376 B/op\t 4 allocs/op", + "extra": "2031500 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RenderLocals", + "value": 704.2, + "unit": "ns/op\t 432 B/op\t 6 allocs/op", + "extra": "1703406 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_RenderBind", + "value": 751.4, + "unit": "ns/op\t 432 B/op\t 6 allocs/op", + "extra": "1622233 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Render_Engine", + "value": 678.6, + "unit": "ns/op\t 432 B/op\t 6 allocs/op", + "extra": "1754541 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Get_Location_From_Route", + "value": 137.6, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "8685380 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Send", + "value": 4.657, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "258477039 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Set", + "value": 50.82, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "24292401 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Type", + "value": 35.57, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "33741327 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Type_Charset", + "value": 88.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "15269072 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Vary", + "value": 86.03, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "13815600 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Write", + "value": 15.21, + "unit": "ns/op\t 65 B/op\t 0 allocs/op", + "extra": "69883574 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Writef", + "value": 117.3, + "unit": "ns/op\t 91 B/op\t 1 allocs/op", + "extra": "10221951 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_XHR", + "value": 39.13, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "30069681 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_SendString_B", + "value": 7.551, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "155003896 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_Queries", + "value": 290.2, + "unit": "ns/op\t 336 B/op\t 2 allocs/op", + "extra": "4155211 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_QueryParser", + "value": 2975, + "unit": "ns/op\t 856 B/op\t 38 allocs/op", + "extra": "385243 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_parseQuery", + "value": 2565, + "unit": "ns/op\t 752 B/op\t 29 allocs/op", + "extra": "445040 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_QueryParser_Comma", + "value": 3303, + "unit": "ns/op\t 928 B/op\t 44 allocs/op", + "extra": "349243 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_ReqHeaderParser", + "value": 3276, + "unit": "ns/op\t 928 B/op\t 44 allocs/op", + "extra": "356803 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_BodyStreamWriter", + "value": 1050, + "unit": "ns/op\t 793 B/op\t 8 allocs/op", + "extra": "1000000 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_GetRespHeaders", + "value": 360.4, + "unit": "ns/op\t 448 B/op\t 5 allocs/op", + "extra": "3332932 times\n4 procs" + }, + { + "name": "Benchmark_Ctx_GetReqHeaders", + "value": 390.9, + "unit": "ns/op\t 448 B/op\t 5 allocs/op", + "extra": "3126250 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/simple", + "value": 51.83, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "23204919 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/6_offers", + "value": 129.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9251572 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/1_parameter", + "value": 136.4, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "8864924 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/2_parameters", + "value": 210.1, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "5706010 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/3_parameters", + "value": 416.4, + "unit": "ns/op\t 128 B/op\t 1 allocs/op", + "extra": "2889362 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/10_parameters", + "value": 1466, + "unit": "ns/op\t 896 B/op\t 3 allocs/op", + "extra": "791956 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/6_offers_w/params", + "value": 356.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "3363505 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/mime_extension", + "value": 285.6, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "4271024 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetOffer/web_browser", + "value": 152.6, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "7900434 times\n4 procs" + }, + { + "name": "Benchmark_Utils_ForEachParameter", + "value": 88.82, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "13706955 times\n4 procs" + }, + { + "name": "Benchmark_Utils_ParamsMatch", + "value": 133.7, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "8951583 times\n4 procs" + }, + { + "name": "Benchmark_Utils_GetSplicedStrList", + "value": 54.15, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "22494967 times\n4 procs" + }, + { + "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", + "value": 11.69, + "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": "7818735 times\n4 procs" + }, + { + "name": "Benchmark_Utils_ETag", + "value": 3380, + "unit": "ns/op\t 1044 B/op\t 3 allocs/op", + "extra": "341556 times\n4 procs" + }, + { + "name": "Benchmark_Utils_ETag_Weak", + "value": 3426, + "unit": "ns/op\t 1068 B/op\t 4 allocs/op", + "extra": "338728 times\n4 procs" + }, + { + "name": "Benchmark_Utils_getGroupPath", + "value": 121.7, + "unit": "ns/op\t 96 B/op\t 2 allocs/op", + "extra": "9742437 times\n4 procs" + }, + { + "name": "Benchmark_Utils_Unescape", + "value": 41.82, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "28055907 times\n4 procs" + }, + { + "name": "Benchmark_Utils_IsNoCache", + "value": 48.54, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "24784854 times\n4 procs" + }, + { + "name": "Benchmark_SlashRecognition/indexBytes", + "value": 3.442, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "348885940 times\n4 procs" + }, + { + "name": "Benchmark_SlashRecognition/forEach", + "value": 3.41, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "344424340 times\n4 procs" + }, + { + "name": "Benchmark_SlashRecognition/IndexRune", + "value": 3.344, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "357643191 times\n4 procs" + }, + { + "name": "Benchmark_Utils_RemoveEscapeChar", + "value": 50.95, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "23161146 times\n4 procs" + }, + { + "name": "Benchmark_App_MethodNotAllowed", + "value": 750.2, + "unit": "ns/op\t 80 B/op\t 3 allocs/op", + "extra": "1597868 times\n4 procs" + }, + { + "name": "Benchmark_Router_NotFound", + "value": 758.6, + "unit": "ns/op\t 80 B/op\t 3 allocs/op", + "extra": "1591970 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler", + "value": 135.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9098582 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler_Strict_Case", + "value": 122.5, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9794235 times\n4 procs" + }, + { + "name": "Benchmark_Router_Chain", + "value": 454.4, + "unit": "ns/op\t 48 B/op\t 3 allocs/op", + "extra": "2646954 times\n4 procs" + }, + { + "name": "Benchmark_Router_WithCompression", + "value": 457.9, + "unit": "ns/op\t 48 B/op\t 3 allocs/op", + "extra": "2481724 times\n4 procs" + }, + { + "name": "Benchmark_Startup_Process", + "value": 582885, + "unit": "ns/op\t 373101 B/op\t 5606 allocs/op", + "extra": "1861 times\n4 procs" + }, + { + "name": "Benchmark_Router_Next", + "value": 77.13, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "15469540 times\n4 procs" + }, + { + "name": "Benchmark_Route_Match", + "value": 21.71, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "55097224 times\n4 procs" + }, + { + "name": "Benchmark_Route_Match_Star", + "value": 3.408, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "352364334 times\n4 procs" + }, + { + "name": "Benchmark_Route_Match_Root", + "value": 2.48, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "484536684 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler_CaseSensitive", + "value": 125.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9608100 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler_Unescape", + "value": 184.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "6575294 times\n4 procs" + }, + { + "name": "Benchmark_Router_Handler_StrictRouting", + "value": 122.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9802292 times\n4 procs" + }, + { + "name": "Benchmark_Router_Github_API", + "value": 195550, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "6102 times\n4 procs" + }, + { + "name": "Benchmark_Memory/fiber_memory", + "value": 147326, + "unit": "ns/op\t 24581 B/op\t 1000 allocs/op", + "extra": "7099 times\n4 procs" + }, + { + "name": "Benchmark_Storage_Memory/fiber_memory", + "value": 117107, + "unit": "ns/op\t 659 B/op\t 0 allocs/op", + "extra": "10000 times\n4 procs" + }, + { + "name": "Benchmark_FiberHandlerFunc_1MB", + "value": 1646, + "unit": "ns/op\t 1857 B/op\t 13 allocs/op", + "extra": "701391 times\n4 procs" + }, + { + "name": "Benchmark_FiberHandlerFunc_10MB", + "value": 1692, + "unit": "ns/op\t 1892 B/op\t 13 allocs/op", + "extra": "769236 times\n4 procs" + }, + { + "name": "Benchmark_FiberHandlerFunc_50MB", + "value": 1530, + "unit": "ns/op\t 2003 B/op\t 13 allocs/op", + "extra": "760718 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_BasicAuth", + "value": 322.9, + "unit": "ns/op\t 48 B/op\t 3 allocs/op", + "extra": "3743977 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_BasicAuth_Upper", + "value": 316.3, + "unit": "ns/op\t 48 B/op\t 3 allocs/op", + "extra": "3786532 times\n4 procs" + }, + { + "name": "Benchmark_Cache", + "value": 324.5, + "unit": "ns/op\t 16 B/op\t 2 allocs/op", + "extra": "3664460 times\n4 procs" + }, + { + "name": "Benchmark_Cache_Storage", + "value": 644.8, + "unit": "ns/op\t 176 B/op\t 5 allocs/op", + "extra": "1857159 times\n4 procs" + }, + { + "name": "Benchmark_Cache_AdditionalHeaders", + "value": 399.2, + "unit": "ns/op\t 16 B/op\t 2 allocs/op", + "extra": "2987181 times\n4 procs" + }, + { + "name": "Benchmark_Cache_MaxSize/Disabled", + "value": 1752, + "unit": "ns/op\t 389 B/op\t 7 allocs/op", + "extra": "975465 times\n4 procs" + }, + { + "name": "Benchmark_Cache_MaxSize/Unlim", + "value": 1798, + "unit": "ns/op\t 689 B/op\t 7 allocs/op", + "extra": "905062 times\n4 procs" + }, + { + "name": "Benchmark_Cache_MaxSize/LowBounded", + "value": 1188, + "unit": "ns/op\t 232 B/op\t 7 allocs/op", + "extra": "1015400 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandler", + "value": 465.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "2578653 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerParallel", + "value": 221.1, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "5541750 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerSingleOrigin", + "value": 475.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "2535452 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerSingleOriginParallel", + "value": 220, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "5460561 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerWildcard", + "value": 367.7, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "3268153 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerWildcardParallel", + "value": 166.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "7239314 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerPreflight", + "value": 762.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1573092 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerPreflightParallel", + "value": 351.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "3429087 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerPreflightSingleOrigin", + "value": 763, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1571000 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerPreflightSingleOriginParallel", + "value": 352.1, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "3411330 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerPreflightWildcard", + "value": 693.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1732665 times\n4 procs" + }, + { + "name": "Benchmark_CORS_NewHandlerPreflightWildcardParallel", + "value": 317.8, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "3818635 times\n4 procs" + }, + { + "name": "Benchmark_CORS_SubdomainMatch", + "value": 9.414, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "129916394 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_CSRF_Check", + "value": 1799, + "unit": "ns/op\t 339 B/op\t 7 allocs/op", + "extra": "661453 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_CSRF_GenerateToken", + "value": 2525, + "unit": "ns/op\t 339 B/op\t 6 allocs/op", + "extra": "569838 times\n4 procs" + }, + { + "name": "Benchmark_Etag", + "value": 97.66, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "12168003 times\n4 procs" + }, + { + "name": "Benchmark_Middleware_Favicon", + "value": 90.32, + "unit": "ns/op\t 3 B/op\t 1 allocs/op", + "extra": "13458060 times\n4 procs" + }, + { + "name": "Benchmark_HealthCheck", + "value": 98.89, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "12187886 times\n4 procs" + }, + { + "name": "BenchmarkMarshalMsgresponse", + "value": 40.08, + "unit": "ns/op\t 32 B/op\t 1 allocs/op", + "extra": "30126273 times\n4 procs" + }, + { + "name": "BenchmarkAppendMsgresponse", + "value": 18.63, + "unit": "ns/op\t 697.81 MB/s\t 0 B/op\t 0 allocs/op", + "extra": "62347971 times\n4 procs" + }, + { + "name": "BenchmarkUnmarshalresponse", + "value": 34.06, + "unit": "ns/op\t 381.73 MB/s\t 0 B/op\t 0 allocs/op", + "extra": "34239392 times\n4 procs" + }, + { + "name": "Benchmark_Idempotency/hit", + "value": 581.7, + "unit": "ns/op\t 512 B/op\t 6 allocs/op", + "extra": "2110520 times\n4 procs" + }, + { + "name": "Benchmark_Idempotency/skip", + "value": 104.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "11384053 times\n4 procs" + }, + { + "name": "Benchmark_Limiter_Custom_Store", + "value": 397.2, + "unit": "ns/op\t 72 B/op\t 2 allocs/op", + "extra": "3036741 times\n4 procs" + }, + { + "name": "Benchmark_Limiter", + "value": 255.2, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "4684533 times\n4 procs" + }, + { + "name": "Benchmark_Logger/Base", + "value": 257.3, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "4356279 times\n4 procs" + }, + { + "name": "Benchmark_Logger/DefaultFormat", + "value": 650.5, + "unit": "ns/op\t 32 B/op\t 3 allocs/op", + "extra": "1848104 times\n4 procs" + }, + { + "name": "Benchmark_Logger/WithTagParameter", + "value": 290, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "4161387 times\n4 procs" + }, + { + "name": "Benchmark_Monitor", + "value": 497.7, + "unit": "ns/op\t 144 B/op\t 1 allocs/op", + "extra": "2504163 times\n4 procs" + }, + { + "name": "Benchmark_Session/default", + "value": 18902, + "unit": "ns/op\t 8521 B/op\t 206 allocs/op", + "extra": "62781 times\n4 procs" + }, + { + "name": "Benchmark_Session/storage", + "value": 18814, + "unit": "ns/op\t 8521 B/op\t 206 allocs/op", + "extra": "62918 times\n4 procs" + }, + { + "name": "Benchmark_ToLowerBytes/fiber", + "value": 31.22, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "37397938 times\n4 procs" + }, + { + "name": "Benchmark_ToLowerBytes/default", + "value": 104.4, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "11405523 times\n4 procs" + }, + { + "name": "Benchmark_ToUpperBytes/fiber", + "value": 51.08, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "23466771 times\n4 procs" + }, + { + "name": "Benchmark_ToUpperBytes/default", + "value": 120, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "9797764 times\n4 procs" + }, + { + "name": "Benchmark_TrimRightBytes/fiber", + "value": 15.09, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "71343956 times\n4 procs" + }, + { + "name": "Benchmark_TrimRightBytes/default", + "value": 17.14, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "65791096 times\n4 procs" + }, + { + "name": "Benchmark_TrimLeftBytes/fiber", + "value": 15.35, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "69616442 times\n4 procs" + }, + { + "name": "Benchmark_TrimLeftBytes/default", + "value": 16.92, + "unit": "ns/op\t 8 B/op\t 1 allocs/op", + "extra": "62559020 times\n4 procs" + }, + { + "name": "Benchmark_TrimBytes/fiber", + "value": 23.44, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "48668422 times\n4 procs" + }, + { + "name": "Benchmark_TrimBytes/default", + "value": 23.76, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "49998652 times\n4 procs" + }, + { + "name": "Benchmark_EqualFoldBytes/fiber", + "value": 68.48, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "17472235 times\n4 procs" + }, + { + "name": "Benchmark_EqualFoldBytes/default", + "value": 83.46, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "14371782 times\n4 procs" + }, + { + "name": "Benchmark_UUID/fiber", + "value": 46.55, + "unit": "ns/op\t 48 B/op\t 1 allocs/op", + "extra": "24587650 times\n4 procs" + }, + { + "name": "Benchmark_UUID/default", + "value": 358.4, + "unit": "ns/op\t 168 B/op\t 6 allocs/op", + "extra": "3333480 times\n4 procs" + }, + { + "name": "Benchmark_ConvertToBytes/fiber", + "value": 28.52, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "41989682 times\n4 procs" + }, + { + "name": "Benchmark_UnsafeString/unsafe", + "value": 0.6825, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_UnsafeString/default", + "value": 21.61, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "49538848 times\n4 procs" + }, + { + "name": "Benchmark_UnsafeBytes/unsafe", + "value": 0.7239, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_UnsafeBytes/default", + "value": 25.6, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "44347551 times\n4 procs" + }, + { + "name": "Benchmark_ToString", + "value": 63.61, + "unit": "ns/op\t 40 B/op\t 2 allocs/op", + "extra": "18504542 times\n4 procs" + }, + { + "name": "Benchmark_GetMIME/fiber", + "value": 68.86, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "17655007 times\n4 procs" + }, + { + "name": "Benchmark_GetMIME/default", + "value": 126.9, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "9528523 times\n4 procs" + }, + { + "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", + "value": 49.8, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "22999015 times\n4 procs" + }, + { + "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", + "value": 6.833, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "176164656 times\n4 procs" + }, + { + "name": "Benchmark_StatusMessage/fiber", + "value": 0.9308, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_StatusMessage/default", + "value": 3.711, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "323146273 times\n4 procs" + }, + { + "name": "Benchmark_IsIPv4/fiber", + "value": 19.2, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "61685215 times\n4 procs" + }, + { + "name": "Benchmark_IsIPv4/default", + "value": 49.13, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "24213722 times\n4 procs" + }, + { + "name": "Benchmark_IsIPv6/fiber", + "value": 61.12, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "19758956 times\n4 procs" + }, + { + "name": "Benchmark_IsIPv6/default", + "value": 105.7, + "unit": "ns/op\t 16 B/op\t 1 allocs/op", + "extra": "11286391 times\n4 procs" + }, + { + "name": "Benchmark_ToUpper/fiber", + "value": 87.91, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "13579797 times\n4 procs" + }, + { + "name": "Benchmark_ToUpper/default", + "value": 283.8, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "4185463 times\n4 procs" + }, + { + "name": "Benchmark_ToLower/fiber", + "value": 67.83, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "17488718 times\n4 procs" + }, + { + "name": "Benchmark_ToLower/default", + "value": 231.3, + "unit": "ns/op\t 80 B/op\t 1 allocs/op", + "extra": "5195785 times\n4 procs" + }, + { + "name": "Benchmark_TrimRight/fiber", + "value": 2.784, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "431084067 times\n4 procs" + }, + { + "name": "Benchmark_TrimRight/default", + "value": 3.73, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "322591436 times\n4 procs" + }, + { + "name": "Benchmark_TrimLeft/fiber", + "value": 2.169, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "552689316 times\n4 procs" + }, + { + "name": "Benchmark_TrimLeft/default", + "value": 4.034, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "298388818 times\n4 procs" + }, + { + "name": "Benchmark_Trim/fiber", + "value": 4.33, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "274919475 times\n4 procs" + }, + { + "name": "Benchmark_Trim/default", + "value": 5.972, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "189875884 times\n4 procs" + }, + { + "name": "Benchmark_EqualFold/fiber", + "value": 55.76, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "21609367 times\n4 procs" + }, + { + "name": "Benchmark_EqualFold/default", + "value": 84.39, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "14466717 times\n4 procs" + }, + { + "name": "Benchmark_CalculateTimestamp/fiber", + "value": 0.3177, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "1000000000 times\n4 procs" + }, + { + "name": "Benchmark_CalculateTimestamp/default", + "value": 55.99, + "unit": "ns/op\t 0 B/op\t 0 allocs/op", + "extra": "21397219 times\n4 procs" + } + ] } ] }