window.BENCHMARK_DATA = { "lastUpdate": 1696507094762, "repoUrl": "https://github.com/gofiber/fiber", "entries": { "Benchmark": [ { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "c5691c7de55701400c4636793225058f5192f1dc", "message": "change output folder for the benchmarks result (gh-pages)", "timestamp": "2023-01-19T21:41:33+01:00", "tree_id": "6ab13bce1ff7851f5f105171e2299a3a7c25e866", "url": "https://github.com/gofiber/fiber/commit/c5691c7de55701400c4636793225058f5192f1dc" }, "date": 1674161588875, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1014, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1016935 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6470, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "181568 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6556, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "187555 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 174.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7424312 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 63.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17202162 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 84.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13832176 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 63.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19111798 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 249.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4730000 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 311.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3422546 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.348, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "362841788 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1163, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 826.7, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1424790 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3011, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "385224 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1468, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "805544 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1330, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "820357 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 151.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8648728 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 166.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7490972 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 150.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7579088 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 353.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3243952 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1989, "unit": "ns/op\t 4464 B/op\t 7 allocs/op", "extra": "577422 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 568.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1953051 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9884202 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 216.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6101664 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 312.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3789142 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 282.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4403713 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 472, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2555467 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28174094 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 95.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12948499 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 47.07, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21709687 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 50.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24093350 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 680.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1742629 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 81.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14544187 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 412.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3163270 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4901, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "223498 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 19.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "69723354 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 218.9, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5150427 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 377.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3248815 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 523.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2182874 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2645, "unit": "ns/op\t 4584 B/op\t 10 allocs/op", "extra": "472726 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 177.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6608695 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1394, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "832915 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 310.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3580408 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 892.8, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1269597 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 873.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1465027 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 816.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1416282 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 866.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1439928 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 233.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5150469 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.298, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "196456492 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 61.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18971475 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 49.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26099049 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 110, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9777568 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 120.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10099905 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 46.42, "unit": "ns/op\t 79 B/op\t 0 allocs/op", "extra": "29721241 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 186.9, "unit": "ns/op\t 95 B/op\t 1 allocs/op", "extra": "6185314 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 60.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20748391 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "96556598 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4663, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "239049 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3822, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "275800 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5177, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "211603 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4488, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "239092 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1492, "unit": "ns/op\t 799 B/op\t 8 allocs/op", "extra": "747592 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6307, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "193119 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6449, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "169224 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 166.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7417065 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 54.71, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20623924 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 62.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19110518 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "273815924 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.524, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "220358961 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 3.887, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "311512422 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1009, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1196367 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1001, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 204.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5855613 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 178.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6537832 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 687.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1771796 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 689.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1711320 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 916248, "unit": "ns/op\t 372994 B/op\t 5608 allocs/op", "extra": "1288 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 110.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10461960 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 33.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38123733 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.095, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "278117144 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.394, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "343383288 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 178.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6387777 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 254.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4801902 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 190.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5793307 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 288901, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4153 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 248174, "unit": "ns/op\t 24576 B/op\t 1000 allocs/op", "extra": "4756 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 211165, "unit": "ns/op\t 719 B/op\t 0 allocs/op", "extra": "5972 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 546.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2241634 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 457.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2581954 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 960.2, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1273999 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 572.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2112463 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2513, "unit": "ns/op\t 334 B/op\t 7 allocs/op", "extra": "672315 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 3040, "unit": "ns/op\t 609 B/op\t 7 allocs/op", "extra": "620512 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1514, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "737244 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2336, "unit": "ns/op\t 278 B/op\t 5 allocs/op", "extra": "662389 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2255, "unit": "ns/op\t 263 B/op\t 5 allocs/op", "extra": "757722 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 150.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8652430 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 133.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9081772 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 67.34, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "17282614 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 25.61, "unit": "ns/op\t 507.67 MB/s\t 0 B/op\t 0 allocs/op", "extra": "47470344 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 56.28, "unit": "ns/op\t 231.01 MB/s\t 0 B/op\t 0 allocs/op", "extra": "21390576 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 829.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1448811 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 164.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7336246 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 563.2, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2114076 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 381.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3240020 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 408.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2981322 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 725.1, "unit": "ns/op\t 14 B/op\t 1 allocs/op", "extra": "1635606 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 454.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2546672 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 840.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1448026 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 28772, "unit": "ns/op\t 8662 B/op\t 208 allocs/op", "extra": "42235 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 29439, "unit": "ns/op\t 8662 B/op\t 208 allocs/op", "extra": "41665 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 57.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20422135 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 167.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7409836 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 57.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21329828 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 149.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7905306 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.39, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49306098 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 23.28, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53013937 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.08, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54521774 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 25.71, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44113968 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 36.58, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32079794 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 36.31, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "27977097 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 115.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10438424 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 369, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3150303 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 77.47, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14760084 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 554.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2269332 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 37.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32876138 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8547, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 30.32, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35986180 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.811, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "639311977 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 36.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32001248 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 85.52, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "13191540 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 92.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12311416 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 190, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5844382 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 79.87, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14129043 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.155, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "132587577 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.313, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "897882908 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 14.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "85140668 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 33.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "34085438 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 78.71, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15204343 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 106.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11200962 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 170.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7295899 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 110, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11142541 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 310.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3787648 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 107.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10302885 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 310.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3987882 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.603, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "476339263 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.458, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "210720548 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.328, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "366207996 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.105, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199539974 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.019, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "135404373 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.915, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130794320 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 91.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13378956 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 312.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3771868 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3717, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22178870 times\n2 procs" } ] }, { "commit": { "author": { "email": "dozheiny@gmail.com", "name": "Iliya", "username": "dozheiny" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "a0004cf8a82d57a00d7078b8cdbdbbe356934957", "message": "🔥 write integer Query Parser. (#2306)\n\n* Feature: write integer Query Parser.\r\n\r\n* request changes on https://github.com/gofiber/fiber/pull/2306#discussion_r1082171003\r\n\r\n* ref(test): separate test cases for QueryInt", "timestamp": "2023-01-23T19:06:12+01:00", "tree_id": "26625ba2ad16be96c9a6d7e99815dd7d92030413", "url": "https://github.com/gofiber/fiber/commit/a0004cf8a82d57a00d7078b8cdbdbbe356934957" }, "date": 1674497842231, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1449, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "768720 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7411, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "154491 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7579, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "162650 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 178.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6809748 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 67.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17562300 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 88.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13310421 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 70.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17587706 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 267.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4638418 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 328.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3551422 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.554, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "468425943 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1185, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "977707 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 891, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1359915 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3161, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "354349 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1609, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "685198 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1469, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "751962 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 145.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8180142 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 172.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6860683 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 149.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7909887 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 364.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3283040 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1903, "unit": "ns/op\t 4464 B/op\t 7 allocs/op", "extra": "566721 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 644.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1893552 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 148.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8182750 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 213.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5495685 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 303.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3964137 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 286.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4076086 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 542.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2297695 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 48.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24148592 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 98.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12564825 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 44.67, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24766395 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 54.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21692905 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 801.8, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1502421 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 80.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14379597 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 358.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3153482 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5338, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "214827 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "65040763 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 191.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6108762 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 357.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3353445 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 504.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2302704 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2359, "unit": "ns/op\t 4584 B/op\t 10 allocs/op", "extra": "463304 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 174.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6471325 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1389, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "859294 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 291.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4110942 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 938.2, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1269313 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 907.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1310376 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 885, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1364449 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 866.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1398123 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 234.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5053303 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.485, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "184726642 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 65.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17290909 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 49.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23589618 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 113.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10573092 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 123.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9592125 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 57.61, "unit": "ns/op\t 66 B/op\t 0 allocs/op", "extra": "17973868 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 201, "unit": "ns/op\t 96 B/op\t 1 allocs/op", "extra": "6093315 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 58.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19760886 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4594, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "232286 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3975, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "292002 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4970, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "222144 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5098, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "230208 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1397, "unit": "ns/op\t 784 B/op\t 8 allocs/op", "extra": "783021 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 7189, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "153338 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7611, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "154839 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 170.3, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7016199 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 54.96, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21722336 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 70.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16773686 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.334, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275628884 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.925, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "203305051 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.596, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "215361669 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1069, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1068, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 205.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5879510 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 187.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6521797 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 660, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1780681 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 676.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1820707 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 838253, "unit": "ns/op\t 373004 B/op\t 5608 allocs/op", "extra": "1446 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 107, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10914853 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 30.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39675220 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.894, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "303636690 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.128, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "383789728 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 180.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6505810 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 250.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4831470 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 186.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6527484 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 302986, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3817 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 234065, "unit": "ns/op\t 24597 B/op\t 1000 allocs/op", "extra": "5162 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 192904, "unit": "ns/op\t 663 B/op\t 0 allocs/op", "extra": "6141 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 565.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2121816 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 479.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2543722 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 947.1, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1205614 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 589.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2042474 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2318, "unit": "ns/op\t 325 B/op\t 7 allocs/op", "extra": "724348 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2723, "unit": "ns/op\t 621 B/op\t 7 allocs/op", "extra": "702360 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1624, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "753326 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1968, "unit": "ns/op\t 272 B/op\t 5 allocs/op", "extra": "696134 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2037, "unit": "ns/op\t 263 B/op\t 5 allocs/op", "extra": "754914 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 135.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8809038 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 122.6, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9840074 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 60.4, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19299002 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 23.92, "unit": "ns/op\t 543.43 MB/s\t 0 B/op\t 0 allocs/op", "extra": "48956082 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 55.75, "unit": "ns/op\t 233.20 MB/s\t 0 B/op\t 0 allocs/op", "extra": "21209366 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 856.7, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1376536 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 155.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7710748 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 550.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2146141 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 361.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3290838 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 419.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2866766 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 789.4, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1528935 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 467.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2540281 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 821, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1455331 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 28193, "unit": "ns/op\t 8662 B/op\t 208 allocs/op", "extra": "43795 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 28254, "unit": "ns/op\t 8662 B/op\t 208 allocs/op", "extra": "42543 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 72.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17075296 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 150.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7901425 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 55.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21000088 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 168.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7041903 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 21.68, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50447910 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 22.43, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49729724 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 21.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51720637 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 24.55, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47677485 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 34.27, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33944959 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 36.48, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31022834 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 121.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9665793 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 350.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3309218 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 81.21, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14626831 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 571.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2126726 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 39.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30639976 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8928, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 33.58, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30794572 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 2.012, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "596200748 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.34, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "28573249 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 90.66, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "13208463 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 97.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12083332 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 194.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6268594 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 83.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14435397 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.082, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130702057 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.385, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "867205167 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 12.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "83101117 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 31.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36055963 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 80.19, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14333984 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 104.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11624107 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 176.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6984745 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 118.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10137025 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 304.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3912338 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 98.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10592233 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 312.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3932724 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.368, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270916100 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.251, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225614181 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.295, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "359042656 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.067, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198228328 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "132437754 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.799, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "136301419 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 98.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12181531 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 299.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3948556 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4463, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 69.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17646075 times\n2 procs" } ] }, { "commit": { "author": { "email": "pan93412@gmail.com", "name": "pan93412", "username": "pan93412" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "66cc869b1f76905368696ba6c53397bbd6f45ca4", "message": "Doc: Remove the redundant space beside a comma (#2309)\n\n📚 Doc: Remove the redundant space beside a comma", "timestamp": "2023-01-25T20:35:00+01:00", "tree_id": "a5ac38b3ee1b93eb3422d81fe5e204d664ae81e5", "url": "https://github.com/gofiber/fiber/commit/66cc869b1f76905368696ba6c53397bbd6f45ca4" }, "date": 1674675964659, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1452, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "733915 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7656, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "163455 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7761, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "148972 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 185.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6537519 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 73.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17516384 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 97.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13069100 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 70.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17129340 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 280.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4282065 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 351.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3455608 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.772, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "433797031 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1187, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "913124 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 885, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1366178 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3125, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "351526 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1584, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "716806 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1496, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "730807 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 144, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8240497 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 174.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6764332 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 155.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7979140 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 371.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3250910 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2046, "unit": "ns/op\t 4464 B/op\t 7 allocs/op", "extra": "526516 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 673.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1836832 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 154.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8094714 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 222.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5344508 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 311.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3785370 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 292.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4030034 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 518, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2226637 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 48.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24477229 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 96.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11974976 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 46.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25971712 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 57.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21126165 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 799.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1497926 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 81.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14067664 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 369.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3148426 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5289, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "221119 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "64900914 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 191.4, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6193746 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 356.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3364999 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 502.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2322368 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2434, "unit": "ns/op\t 4584 B/op\t 10 allocs/op", "extra": "448606 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 177.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6392791 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1401, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "741051 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 294.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4049856 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 932, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1347732 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 884.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1299008 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 881.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1370121 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 904.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1306755 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 233.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4860888 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.569, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "171410202 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 67.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17120476 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 50.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23779202 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 122.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9843254 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 131.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9646051 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 61.84, "unit": "ns/op\t 68 B/op\t 0 allocs/op", "extra": "17650016 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 204.8, "unit": "ns/op\t 91 B/op\t 1 allocs/op", "extra": "5185657 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 60.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19555300 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 12.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "99532999 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4833, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "237981 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4130, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "278390 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5339, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "227514 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5351, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "218629 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1675, "unit": "ns/op\t 801 B/op\t 8 allocs/op", "extra": "754760 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 7695, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "152575 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7985, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "155226 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 184.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6516826 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 59.13, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20341275 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 74.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16814500 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.791, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "256636598 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.996, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199362278 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.734, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200559151 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1142, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1091, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 211.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5745507 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 201.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6098571 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 697.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1711858 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 688.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1688164 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 929372, "unit": "ns/op\t 373009 B/op\t 5608 allocs/op", "extra": "1272 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 115.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10770830 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 32.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37815745 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.021, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "284560152 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.362, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "352213794 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 205.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6075273 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 264.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4599661 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 192.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6360140 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 335911, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3542 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 247274, "unit": "ns/op\t 24538 B/op\t 1000 allocs/op", "extra": "4764 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 196829, "unit": "ns/op\t 674 B/op\t 0 allocs/op", "extra": "6060 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 589.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2041628 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 506.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2421318 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1013, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "998487 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 619.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1949317 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2495, "unit": "ns/op\t 327 B/op\t 7 allocs/op", "extra": "707774 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2625, "unit": "ns/op\t 599 B/op\t 7 allocs/op", "extra": "635234 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1616, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "734730 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2182, "unit": "ns/op\t 286 B/op\t 5 allocs/op", "extra": "629001 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2185, "unit": "ns/op\t 274 B/op\t 5 allocs/op", "extra": "682250 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 145.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8491386 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 130.3, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9301501 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 65.06, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "15820177 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 24.52, "unit": "ns/op\t 530.15 MB/s\t 0 B/op\t 0 allocs/op", "extra": "48848359 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 55.48, "unit": "ns/op\t 234.31 MB/s\t 0 B/op\t 0 allocs/op", "extra": "20735240 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 868.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1406966 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 158.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7099404 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 602.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1959015 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 382.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3108700 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 471.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2588083 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 826.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "1452002 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 506.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2482299 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 999.4, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1227361 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 29133, "unit": "ns/op\t 8662 B/op\t 208 allocs/op", "extra": "39769 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 30091, "unit": "ns/op\t 8662 B/op\t 208 allocs/op", "extra": "41204 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 77.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16355317 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 154.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7590573 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 57.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20947770 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 175.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6829672 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 23.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52453993 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 23.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47342275 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 22.19, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47245350 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 25.66, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "39805105 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 35.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33206820 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 35.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31877596 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 119, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9331326 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 344, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3432933 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 78.16, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14493019 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 564.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2172757 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 39.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31126532 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8991, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 33, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32992603 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 2.065, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "565641124 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 38.12, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "28867555 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 86.19, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12830264 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 91.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12871489 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 177, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6417183 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 81.82, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14368713 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.617, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "132081680 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.387, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "831530752 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 13.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "85825362 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 32.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38007270 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 81.33, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14275927 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 114.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10785582 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 174.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6590228 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 117.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10081581 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 313.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3732950 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 100, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11911651 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 310.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3814832 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.301, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "277342794 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.076, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "235592103 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.319, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "357316510 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.165, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "195763434 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.634, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126126150 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.528, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "139740774 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 98.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12139069 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 298.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4070695 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4616, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 67.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17640742 times\n2 procs" } ] }, { "commit": { "author": { "email": "66315042+rhabichl@users.noreply.github.com", "name": "Limux", "username": "rhabichl" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "e2cb81ddd31c76689deb351b3da665f84e8795e7", "message": "🚨 added testcases and minor algorithm improvment (#2308)\n\n* Deleted redundant check for an ipv4 address octet block that is bigger than 255 in utils/ip.go. Also added a testcase for octetblocks that are bigger than 255.\n\n* Added extra testcases", "timestamp": "2023-01-25T20:38:29+01:00", "tree_id": "701367d82b5f96bc7da53826e19d503d803a14ff", "url": "https://github.com/gofiber/fiber/commit/e2cb81ddd31c76689deb351b3da665f84e8795e7" }, "date": 1674676156258, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 836, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1298935 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3334, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "344157 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3372, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "339207 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 146.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8250970 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 51.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23203652 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 71.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16708969 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 53.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22227949 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 210.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5677128 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 284.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4211744 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.341, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "525409275 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1022, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1207158 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 782.1, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1535181 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2672, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "420772 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1387, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "791506 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1247, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "877542 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 114.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10578414 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 137.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8286913 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 115.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10378904 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 294.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4071681 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1689, "unit": "ns/op\t 4464 B/op\t 7 allocs/op", "extra": "653828 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 509.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2303067 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 113.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10398583 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 155.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7663051 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 234, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5116935 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 214.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5518171 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 426.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2815748 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 37.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31923259 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 82.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14330658 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 36.87, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "30654519 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 44.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25830334 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 650.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1863012 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 74.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16142269 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 307.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3975538 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4577, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "252062 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77107273 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 141.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8554177 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 297.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4061764 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 418.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2945683 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2032, "unit": "ns/op\t 4584 B/op\t 10 allocs/op", "extra": "550827 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 155.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7448037 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1155, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "1041050 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 234.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5081151 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 756.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1573184 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 780.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1525988 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 767.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1568968 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 757.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1585976 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 184.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6416334 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "211757787 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 54.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22133815 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 42.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28498530 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 95.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11934030 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 104.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11403324 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 44.97, "unit": "ns/op\t 78 B/op\t 0 allocs/op", "extra": "29981158 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 146.5, "unit": "ns/op\t 91 B/op\t 1 allocs/op", "extra": "8130632 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 48.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24803790 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.347, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128203668 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4014, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "260185 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3530, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "325875 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4368, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "264103 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4419, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "262579 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1192, "unit": "ns/op\t 797 B/op\t 8 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3360, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "340525 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3423, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "336628 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 144.3, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8322667 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 44.88, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26101129 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 60.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19749944 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "296284354 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "171083503 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.723, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "201872953 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 901.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1331523 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 864.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1405425 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 155, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7469005 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 149.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8042656 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 621.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1916677 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 623.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1942570 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 712190, "unit": "ns/op\t 373005 B/op\t 5608 allocs/op", "extra": "1512 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 91.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13046082 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45367257 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.218, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373254548 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "430712706 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 149.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8234037 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 213.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5411718 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 145.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7840380 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 248086, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4701 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 212824, "unit": "ns/op\t 24576 B/op\t 1000 allocs/op", "extra": "5344 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 180209, "unit": "ns/op\t 677 B/op\t 0 allocs/op", "extra": "6636 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 449.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2669613 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 408.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2949864 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 817.8, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1475691 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 508.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2288326 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1787, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "830671 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2221, "unit": "ns/op\t 573 B/op\t 7 allocs/op", "extra": "795848 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1435, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "845013 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1578, "unit": "ns/op\t 253 B/op\t 5 allocs/op", "extra": "838419 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1884, "unit": "ns/op\t 348 B/op\t 5 allocs/op", "extra": "901418 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 108.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10597256 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 97.91, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "12187329 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 47.1, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "25147105 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 20, "unit": "ns/op\t 650.01 MB/s\t 0 B/op\t 0 allocs/op", "extra": "59986142 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 45.62, "unit": "ns/op\t 284.99 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23185765 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 714, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1665090 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 122, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9906284 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 480.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2485725 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 323.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3752314 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 361.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3240624 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 683.7, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1696497 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 407.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2890029 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 798.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1516693 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23809, "unit": "ns/op\t 8662 B/op\t 208 allocs/op", "extra": "50854 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24288, "unit": "ns/op\t 8662 B/op\t 208 allocs/op", "extra": "50536 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18204645 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 139.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8605718 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 42.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29069460 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 155.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7672002 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.89, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53914383 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55680800 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58692282 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.91, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53114478 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 30.25, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38175496 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 30.71, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37203220 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11557910 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 281.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4240958 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 62.46, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18580468 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 442.1, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2710470 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "34658078 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.809, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.93, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43703920 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.626, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "742551948 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 29.53, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37379949 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 67.65, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "17238698 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 78.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15204252 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 149.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8095618 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 67.57, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17988028 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.133, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "148446328 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.208, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995154270 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 12.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "99450106 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46421311 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 69.62, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17289889 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 100.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11721680 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 143.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8047987 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 104.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11427680 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 328.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3675535 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 80.64, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14692544 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 316.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3769898 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "368815878 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.582, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "260881723 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.215, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372843896 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.268, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "221668936 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.036, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149330924 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.629, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124619487 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12458521 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 264.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4814187 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.424, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21825927 times\n2 procs" } ] }, { "commit": { "author": { "email": "pan93412@gmail.com", "name": "pan93412", "username": "pan93412" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "b564f944013ca239f90250c050b2ab2eed6daa99", "message": "📚 Doc: Correct the figure link in READMEs (#2312)", "timestamp": "2023-01-26T11:57:25+03:00", "tree_id": "44265bd252c76e11484339b56f197d3215df81e2", "url": "https://github.com/gofiber/fiber/commit/b564f944013ca239f90250c050b2ab2eed6daa99" }, "date": 1674724090339, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 674.5, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1643281 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3275, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "345202 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3356, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "341178 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 150.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7937221 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 51.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21686688 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 70.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16951276 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 53.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22365656 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 210.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5684935 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 274.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3663330 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "535991053 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 978.9, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1215718 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 767.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1566895 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2676, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "411982 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1380, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "787270 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1247, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "893186 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 114.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10307083 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 139.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8603990 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 115.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10356032 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 290.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4118056 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1713, "unit": "ns/op\t 4464 B/op\t 7 allocs/op", "extra": "716688 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 513.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2351499 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 113.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10386364 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 154.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7659752 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 229.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5148423 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 212.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5103398 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 423.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2816460 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 37.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31453370 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 82.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14472042 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 36.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "31138006 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 42.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28784988 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 689.2, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1727613 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 73.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16125096 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 298.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4009558 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4446, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "255075 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77496705 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 137.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8648089 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 292, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4080405 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 403.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2968605 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2024, "unit": "ns/op\t 4584 B/op\t 10 allocs/op", "extra": "552554 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 155.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7447580 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1147, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "899566 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 232.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5113702 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 747.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1597570 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 785.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1503354 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 779.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1518991 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 775.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1547205 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 183.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6533989 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.673, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "211467294 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 54.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22202571 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 39.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29996064 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 92.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12757317 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 103.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11514258 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 37.78, "unit": "ns/op\t 67 B/op\t 0 allocs/op", "extra": "27743806 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 156.5, "unit": "ns/op\t 92 B/op\t 1 allocs/op", "extra": "8090949 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 48.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24197410 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 10.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3953, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "281346 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3478, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "325117 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4329, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "264177 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4339, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "263427 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1121, "unit": "ns/op\t 784 B/op\t 8 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3307, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "344252 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3382, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "338666 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 141.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8483205 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 46.24, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25786992 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 60.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19897650 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "296688000 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.015, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "159102040 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.772, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192076456 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 970.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1284687 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 848.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1414508 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 155.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7580392 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 148.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7940996 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 613.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1957590 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 611.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1953247 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 678776, "unit": "ns/op\t 372992 B/op\t 5608 allocs/op", "extra": "1729 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 92.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13087239 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45992006 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.214, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373374379 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.757, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "434196554 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 143.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8322409 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 207.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5678275 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 144.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8256361 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 249265, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4706 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 212072, "unit": "ns/op\t 24550 B/op\t 1000 allocs/op", "extra": "5590 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 178969, "unit": "ns/op\t 737 B/op\t 0 allocs/op", "extra": "6603 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 447.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2678179 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 401.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2993800 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 826.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1475492 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 508.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2362879 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1775, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "835638 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2277, "unit": "ns/op\t 569 B/op\t 7 allocs/op", "extra": "805068 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1439, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "865284 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1605, "unit": "ns/op\t 259 B/op\t 5 allocs/op", "extra": "784663 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1807, "unit": "ns/op\t 348 B/op\t 5 allocs/op", "extra": "904330 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 111.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10619883 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 97.35, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "12230008 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 46.88, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "25206747 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.89, "unit": "ns/op\t 653.57 MB/s\t 0 B/op\t 0 allocs/op", "extra": "60332862 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 45.28, "unit": "ns/op\t 287.09 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26470604 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 732.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1699819 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 123.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9936476 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 471.4, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2546378 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 314, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3794700 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 363.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3264162 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 691.4, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1747981 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 410.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2894587 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 786.9, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1460142 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23306, "unit": "ns/op\t 8662 B/op\t 208 allocs/op", "extra": "50503 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23362, "unit": "ns/op\t 8662 B/op\t 208 allocs/op", "extra": "50760 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18182325 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 137.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8690702 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29075817 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 157.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7761548 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.09, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58663785 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.91, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55409215 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59805181 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.75, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53533321 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.76, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37829444 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 30.29, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37368680 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12445671 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 281.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4229144 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 62.98, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18791898 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 437.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2720058 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36148986 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8037, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.55, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43957814 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.608, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "746904105 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 29.27, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38511159 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 67.47, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "16809312 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 80.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14927842 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 148.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8022376 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.27, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17777076 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.167, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147519672 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995927419 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 9.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "120836692 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45012500 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 66.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17588114 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 105.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11832879 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8423524 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 104, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11530396 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 324.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3699303 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 80.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14678132 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 318, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3753807 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.241, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372755986 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.595, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "262751456 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.213, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373037916 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.426, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "220308492 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.035, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149397705 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.636, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124435605 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12452584 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 247.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4968660 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4267, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21807991 times\n2 procs" } ] }, { "commit": { "author": { "email": "pan93412@gmail.com", "name": "pan93412", "username": "pan93412" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "7327a17951228f6ea8e36b160e78218f7dbd46ed", "message": "📚 Docs: Rework Chinese (Taiwan) translation of documentation (#2310)\n\n* 📚 Doc: Reset zh_TW translation\r\n\r\n* 📚 Doc: 1st revision of Chinese (Taiwan) translation\r\n\r\n* 📚 Doc: Language Flag\r\n\r\n* 📚 Doc: 2nd rev. of Chinese (Taiwan) translation\r\n\r\n* 📚 Doc: Translated the middlewares list\r\n\r\n* Docs: Fixup space\r\n\r\n* 📚 Doc: Correct the figure link in READMEs\r\n\r\n* 📚 Doc: Update according to review suggestions\r\n\r\n* 📚 Doc: Update according to review suggestions", "timestamp": "2023-01-27T00:30:49+08:00", "tree_id": "2e184fca894f4c40378f82f666250575dde4fc3e", "url": "https://github.com/gofiber/fiber/commit/7327a17951228f6ea8e36b160e78218f7dbd46ed" }, "date": 1674751309258, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1154, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3294, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "352183 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3351, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "334706 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 143.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8276683 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 64.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16984486 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 71.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16741723 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 53.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22597462 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 210.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5677630 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 276.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3979348 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.249, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "525922371 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 984.5, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1216683 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 765, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1562899 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2698, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "420565 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1385, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "785442 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1253, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "870718 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 115.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10457406 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 140.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8532379 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 115, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10410258 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 293.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4105755 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1666, "unit": "ns/op\t 4464 B/op\t 7 allocs/op", "extra": "627568 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 511.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2341339 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 114.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10389776 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 156.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7527632 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 230.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5140705 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 214.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5600744 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 423.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2823226 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 37.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31053327 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 82.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14382693 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 36.71, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "31506812 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 41.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28606162 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 693.1, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1788530 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 74.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16400652 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 299.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3987276 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4452, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "255268 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77624162 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 137.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8654702 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 291.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4073904 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 405.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2929108 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2003, "unit": "ns/op\t 4584 B/op\t 10 allocs/op", "extra": "521226 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 155.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7457624 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1155, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "896773 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 233.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5100504 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 748.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1595955 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 799.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1504081 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 795.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1537705 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 776.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1543452 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 184.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6455035 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "211700652 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 54.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22122538 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 39.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30933562 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 92.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12863413 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 103.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11456466 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 39.12, "unit": "ns/op\t 70 B/op\t 0 allocs/op", "extra": "26492512 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 149.6, "unit": "ns/op\t 94 B/op\t 1 allocs/op", "extra": "7841166 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 48.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24824974 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.377, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127766937 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3961, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "286622 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3515, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "308653 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4378, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "264501 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4360, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "264002 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1175, "unit": "ns/op\t 785 B/op\t 8 allocs/op", "extra": "899610 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3338, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "341787 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3415, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "334489 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 142, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8421273 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 44.87, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25825556 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 60.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19938986 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.061, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297246022 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.438, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "159957454 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.727, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "208309910 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 938.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1303882 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 855.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1402141 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 156.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7471050 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 148.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8205963 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 618.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1950420 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 616, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1942730 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 706539, "unit": "ns/op\t 373001 B/op\t 5608 allocs/op", "extra": "1705 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 91.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13142415 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45127534 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.214, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373150171 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.764, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "427253139 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 146.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8235206 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 209, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5742076 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 143.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8216864 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 248983, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4742 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 212196, "unit": "ns/op\t 24524 B/op\t 1000 allocs/op", "extra": "5557 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 178774, "unit": "ns/op\t 676 B/op\t 0 allocs/op", "extra": "6654 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 448.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2672936 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 400.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "3007170 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 811.4, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1493362 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 505.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2366227 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1822, "unit": "ns/op\t 316 B/op\t 7 allocs/op", "extra": "791634 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2036, "unit": "ns/op\t 588 B/op\t 7 allocs/op", "extra": "764505 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1435, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "852652 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1625, "unit": "ns/op\t 255 B/op\t 5 allocs/op", "extra": "821174 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1894, "unit": "ns/op\t 351 B/op\t 5 allocs/op", "extra": "890346 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 107.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10922175 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 101.3, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "12185905 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 47.43, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "25189070 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.99, "unit": "ns/op\t 650.23 MB/s\t 0 B/op\t 0 allocs/op", "extra": "60488736 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 45.25, "unit": "ns/op\t 287.31 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26538686 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 704.5, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1694226 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 122, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9857053 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 472.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2528968 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 316.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3762402 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 361.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3293251 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 692.6, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1737144 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 407.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2925210 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 730.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1646721 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23386, "unit": "ns/op\t 8662 B/op\t 208 allocs/op", "extra": "50967 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23510, "unit": "ns/op\t 8662 B/op\t 208 allocs/op", "extra": "50726 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18204182 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 142.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8433751 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29059480 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 153.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7767596 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.14, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57879566 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.07, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56363418 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.49, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58408357 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.77, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53277202 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.96, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37916959 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 30.45, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37546808 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12432073 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 284.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4198450 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 63.03, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18489097 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 441.2, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2740429 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35699510 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8035, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.77, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44382298 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.607, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "746210964 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 29.41, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38286418 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 67.68, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "17428582 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 77.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15469934 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 150.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8072078 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.68, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17582413 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.119, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147258892 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "994989200 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 9.154, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129717628 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44667276 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 67.41, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17532218 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 101.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11832240 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 142, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8356479 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 103.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11362148 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 325.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3668390 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 79.95, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14826049 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 319.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3740146 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.265, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "368242773 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.611, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254960462 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.214, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373102917 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.424, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "218776676 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.066, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149291758 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.594, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125364072 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12345396 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 249.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4807771 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4249, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 57.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20822338 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "Muhammed Efe Çetin", "username": "efectn" }, "committer": { "email": "efectn@protonmail.com", "name": "Muhammed Efe Çetin", "username": "efectn" }, "distinct": true, "id": "d5ecf06286968ec93a37693dbde3d338cd70dfd8", "message": "fix benchmarks", "timestamp": "2023-02-02T22:37:59+03:00", "tree_id": "da236d195f16932cae562b9f58d5627ab211ae12", "url": "https://github.com/gofiber/fiber/commit/d5ecf06286968ec93a37693dbde3d338cd70dfd8" }, "date": 1675367346774, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1271, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "790476 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3286, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "348064 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3336, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "343958 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 149.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7950756 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20168169 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 81.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14825235 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 59.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19983547 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 244.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4934842 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 270.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4345384 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.285, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "517251074 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 959.6, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1245500 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 746.6, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1603662 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2593, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "439426 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1415, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "773316 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1305, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "898984 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 117.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10198738 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 139.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8558536 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 127, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9464604 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 302.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3914950 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1860, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "584053 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 572.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2107465 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8981466 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 150.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7883712 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 224.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5314161 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 200.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5966593 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 396.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3015805 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26784801 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 87.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13684921 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 37.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "31007563 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 45.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26096133 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 643.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1855401 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17090565 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 291.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4086981 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4302, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "268816 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82222342 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 136.9, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8676051 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 288.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4214835 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 395.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3041365 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2237, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "512656 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 140.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8172146 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1175, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "880605 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 235.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5055852 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 731.3, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1642994 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 780, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1532002 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 769.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1556404 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 762, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1576407 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 178.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6696442 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226073518 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20571757 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27706826 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 100.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11868318 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 112.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10513732 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 40.99, "unit": "ns/op\t 76 B/op\t 0 allocs/op", "extra": "24446208 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 141.3, "unit": "ns/op\t 82 B/op\t 1 allocs/op", "extra": "7429495 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 53.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22024078 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.405, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126876422 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3792, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "301809 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3314, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "346093 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4130, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "276765 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4112, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "280603 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1202, "unit": "ns/op\t 794 B/op\t 8 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3345, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "352024 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3389, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "340642 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 143.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8359701 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 51.27, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23072899 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20530340 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.023, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298170654 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.158, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "161416250 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.894, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "201419161 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 900.1, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1334985 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 891.2, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1347352 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 162.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7475055 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 148.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8123402 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 614, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1952876 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 611.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1952868 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 704679, "unit": "ns/op\t 373001 B/op\t 5608 allocs/op", "extra": "1687 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 91.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13055349 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46347338 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.213, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373462233 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.734, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "437932846 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 148.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8119444 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 225.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5261336 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 147.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8196387 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 246703, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4743 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 218578, "unit": "ns/op\t 24570 B/op\t 1000 allocs/op", "extra": "5410 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 176618, "unit": "ns/op\t 669 B/op\t 0 allocs/op", "extra": "6727 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 481.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2488143 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 431.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2772028 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 862.9, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1466258 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 537.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2231031 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1789, "unit": "ns/op\t 310 B/op\t 7 allocs/op", "extra": "844185 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2013, "unit": "ns/op\t 569 B/op\t 7 allocs/op", "extra": "805856 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1451, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "768990 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1787, "unit": "ns/op\t 355 B/op\t 5 allocs/op", "extra": "877918 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1780, "unit": "ns/op\t 347 B/op\t 5 allocs/op", "extra": "908857 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 121.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9777912 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 105.7, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11242616 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.26, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24584059 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.31, "unit": "ns/op\t 673.37 MB/s\t 0 B/op\t 0 allocs/op", "extra": "60931130 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.83, "unit": "ns/op\t 303.56 MB/s\t 0 B/op\t 0 allocs/op", "extra": "28037823 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 715.1, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1670835 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 129.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9246453 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 491.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2450288 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 330.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3684494 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 376, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3219212 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 704.4, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1710230 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 415, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2892016 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 751, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1470331 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 22963, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51624 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 22996, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51204 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18062281 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 139.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8571852 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28972820 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 154, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7696045 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 20.28, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57237532 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.92, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54162717 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.97, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58540400 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51324909 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.25, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40336747 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38416047 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12443816 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10257698 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 63.86, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18387258 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 438.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2726149 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39170949 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8035, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.03, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44682000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.607, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "746283447 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.61, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35939076 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 75.29, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15664862 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 72.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16463012 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 150.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7949239 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.75, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18135823 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.046, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146568510 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "994733004 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298401398 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "43597441 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 70.11, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16755733 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11664026 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8464028 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 102.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11295082 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 383.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3149524 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 82.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14522472 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 310, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3845856 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.253, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "369405552 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "258208456 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.638, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331214241 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.027, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199158508 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.032, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149201959 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144102128 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12362641 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10326009 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4218, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21900726 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "Muhammed Efe Çetin", "username": "efectn" }, "committer": { "email": "efectn@protonmail.com", "name": "Muhammed Efe Çetin", "username": "efectn" }, "distinct": true, "id": "7d81680fb4e0c4ab9e4ab8bbfcbc31f1a157a6e8", "message": "fix benchmarks", "timestamp": "2023-02-02T22:41:36+03:00", "tree_id": "cd502ad6265647819ea6363ed0482c4fc2776390", "url": "https://github.com/gofiber/fiber/commit/7d81680fb4e0c4ab9e4ab8bbfcbc31f1a157a6e8" }, "date": 1675367571737, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1470, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "989775 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3284, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "307090 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3359, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "343075 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 150.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8044566 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 59.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20291635 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 80.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14744187 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 59.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19902688 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 245, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4884181 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 270.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4224814 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.365, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "509984287 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 961.4, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1249196 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 757.8, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1610103 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2593, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "426680 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1391, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "779472 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1243, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "854253 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 117.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10196121 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 144.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8448444 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 127.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9437712 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 306.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3927105 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1822, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "655314 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 570, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2111337 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9018484 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 150.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7909471 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 224.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5311995 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 203.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5927836 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 394.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3023820 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27451057 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 87.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13568977 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 37.81, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29595372 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 46.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26300416 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 647.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1850023 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17218129 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 293.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4067914 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4313, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "269995 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "81049377 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 135.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8747812 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 292, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4135362 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 394.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3029985 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2296, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "503589 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 137.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8369121 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1179, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "886816 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 236.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5053051 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 731.5, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1635010 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 784.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1532464 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 769.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1551342 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 760.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1579244 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 182.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6491826 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.307, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225845803 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20953986 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27504325 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 100.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11893335 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 112.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10558696 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 39.09, "unit": "ns/op\t 67 B/op\t 0 allocs/op", "extra": "27812300 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 145.3, "unit": "ns/op\t 90 B/op\t 1 allocs/op", "extra": "8275546 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22241439 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.397, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127633774 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3793, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "298218 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3299, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "343963 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4123, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "281870 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4123, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "280237 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1203, "unit": "ns/op\t 800 B/op\t 8 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3291, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "357662 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3340, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "345873 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 139.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8516228 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 51.02, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22970485 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20714610 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.026, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298191478 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.248, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "159652441 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.841, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "209645628 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 944.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1316374 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 910.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1314153 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 160.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7442911 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 146.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7980300 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 619.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1944513 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 617.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1950832 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 694019, "unit": "ns/op\t 372999 B/op\t 5608 allocs/op", "extra": "1713 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 91.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13197567 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "43728492 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.215, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373080247 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.748, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "438773613 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 183.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8129415 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 228.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5226073 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 147.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8208036 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 247046, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4748 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 221144, "unit": "ns/op\t 24620 B/op\t 1000 allocs/op", "extra": "5264 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177112, "unit": "ns/op\t 695 B/op\t 0 allocs/op", "extra": "6685 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 494, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2429475 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 429, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2786776 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 831.1, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1447734 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 539.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2222713 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1958, "unit": "ns/op\t 313 B/op\t 7 allocs/op", "extra": "809878 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2092, "unit": "ns/op\t 568 B/op\t 7 allocs/op", "extra": "807801 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1466, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "849729 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1764, "unit": "ns/op\t 358 B/op\t 5 allocs/op", "extra": "864146 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1860, "unit": "ns/op\t 339 B/op\t 5 allocs/op", "extra": "941011 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 121.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9873309 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 105.9, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11044561 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.15, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24673864 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.37, "unit": "ns/op\t 671.24 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62507803 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.86, "unit": "ns/op\t 303.32 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27909128 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 718, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1665145 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 128.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9324939 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 494.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2452002 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 325.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3653355 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 367, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3247914 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 699.3, "unit": "ns/op\t 14 B/op\t 1 allocs/op", "extra": "1717752 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 411.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2901948 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 788.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1478127 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23128, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51448 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23099, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51478 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18197073 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 140.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8549450 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29004289 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 155.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7670626 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.27, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56522474 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.85, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53654096 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58210899 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.75, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50872934 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39554553 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 30.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38285641 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12435192 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10305424 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.34, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18173125 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 440.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2730591 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39313525 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.804, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42587686 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.608, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "745944439 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.17, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34892924 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 76.64, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15270108 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 70.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16626938 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 149, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8068454 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.14, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17782134 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.176, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146484505 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.207, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "992386000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298033299 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44798074 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 70.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16443642 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 103, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11638904 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8391523 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 104.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11560933 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 367.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3239666 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 80.47, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14524932 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 319.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3772704 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.203, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "369165951 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.597, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "259628475 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.648, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "328850498 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.993, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200012052 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.033, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149269158 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.387, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "143196186 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12430456 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10320886 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4248, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21804146 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "Muhammed Efe Çetin", "username": "efectn" }, "committer": { "email": "efectn@protonmail.com", "name": "Muhammed Efe Çetin", "username": "efectn" }, "distinct": true, "id": "b8ac29d0516ab4441726ff54761a546842410756", "message": "fix benchmarks", "timestamp": "2023-02-02T22:48:04+03:00", "tree_id": "673931f01beff7a38f0fd8767acdeded997a415a", "url": "https://github.com/gofiber/fiber/commit/b8ac29d0516ab4441726ff54761a546842410756" }, "date": 1675367983761, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1604, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "881354 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3505, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "348691 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3331, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "357781 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 153.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7852602 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 59.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20064427 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 80.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14803098 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 59.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19890030 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 244.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4897069 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 270.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4275428 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.352, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "517930312 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 961.4, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1221625 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 746, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1606297 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2599, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "432511 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1390, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "785956 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1245, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "877075 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 117.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10212624 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 139.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8593438 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 126.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9465783 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 305.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3925900 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1884, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "598461 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 569, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2102973 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8982022 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 153.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7802124 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 225.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5279288 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 200.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5926924 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 395.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3020398 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27210184 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 87.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13694976 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 37.62, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29825923 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 46.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26146626 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 651.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1825928 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16884813 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 295.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3969151 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4308, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "270349 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82427817 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 136.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8687955 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 284.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4198671 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 394.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3032182 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2238, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "505408 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 137.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8360258 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1173, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "885254 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 236.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5053185 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 736, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1627518 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 782, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1525442 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 774.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1548571 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 762.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1569274 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 180.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6556016 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.309, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226033671 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20112517 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27712898 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 99.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12041990 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 113.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10602110 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 45.05, "unit": "ns/op\t 77 B/op\t 0 allocs/op", "extra": "30489492 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 141.4, "unit": "ns/op\t 88 B/op\t 1 allocs/op", "extra": "8498346 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 53.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22162844 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.333, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128290348 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3786, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "302806 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3317, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "342717 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4138, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "280476 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4152, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "281028 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1248, "unit": "ns/op\t 798 B/op\t 8 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3309, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "344526 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3363, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "341906 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 166.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7047710 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 55.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21543300 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 64.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20701875 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.025, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298094928 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.354, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "160463590 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.137, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "195640800 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 900.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1330364 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 891, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1345060 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 160.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7473285 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 147.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8102503 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 614, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1954656 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 612.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1945741 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 674074, "unit": "ns/op\t 373002 B/op\t 5608 allocs/op", "extra": "1735 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 91.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13145352 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45760399 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.213, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373320062 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.738, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "439627485 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 148, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8052190 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 228.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5344165 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 145.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8230383 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 247392, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4785 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 218396, "unit": "ns/op\t 24589 B/op\t 1000 allocs/op", "extra": "5431 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 176905, "unit": "ns/op\t 700 B/op\t 0 allocs/op", "extra": "6714 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 486.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2470957 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 431.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2793991 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 822.6, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1441849 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 538.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2229368 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1816, "unit": "ns/op\t 310 B/op\t 7 allocs/op", "extra": "844126 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2024, "unit": "ns/op\t 564 B/op\t 7 allocs/op", "extra": "816468 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1439, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "775836 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1543, "unit": "ns/op\t 253 B/op\t 5 allocs/op", "extra": "842140 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1758, "unit": "ns/op\t 336 B/op\t 5 allocs/op", "extra": "953798 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 121.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9847376 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 106.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10951713 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.15, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24628059 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.31, "unit": "ns/op\t 673.07 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61490520 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.84, "unit": "ns/op\t 303.49 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27989337 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 719.1, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1539922 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 131, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9163544 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 493.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2438487 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 347.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3661410 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 369.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3208290 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 707.4, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1705939 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 413.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2902867 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 761.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1568523 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23309, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50821 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23221, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51280 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18063842 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 140.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8526601 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28960888 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 156.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7710367 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.23, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57309570 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.66, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54539253 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.92, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58867344 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.72, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50625037 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40414908 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.77, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38613766 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12441369 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10320346 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.08, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18317175 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 440.4, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2715386 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39136887 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44560724 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.607, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "745413058 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35758578 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 75.84, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14855872 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 71.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16887939 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 158.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7524860 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 76.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18152336 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.221, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146003794 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "993066829 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298707487 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44975563 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 69.91, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16811986 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 103, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11662935 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 144.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8424304 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 102.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11689782 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 359.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3335012 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 80.58, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14476732 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 311.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3844710 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.236, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "370510819 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.437, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "255164684 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.633, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330763741 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.025, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199151487 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149354974 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.331, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "143919298 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12373669 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10319167 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4259, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18622347 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "M. Efe Çetin", "username": "efectn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "2820aef585a976caa8a3026c4774efb0fe5d1410", "message": ":broom: chore: add go 1.20 to ci and readmes (#2322)\n\n* :white_check_mark: chore: add go 1.20 to ci and readmes\r\n\r\n* :broom: chore: add go 1.20 to ci and readmes\r\n\r\n* update linter\r\n\r\n* fix linter\r\n\r\n* fix benchmarks\r\n\r\n* fix benchmarks\r\n\r\n* fix benchmarks", "timestamp": "2023-02-02T23:01:37+03:00", "tree_id": "673931f01beff7a38f0fd8767acdeded997a415a", "url": "https://github.com/gofiber/fiber/commit/2820aef585a976caa8a3026c4774efb0fe5d1410" }, "date": 1675368794133, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1838, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "649570 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6353, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "186532 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6448, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "182524 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 192.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6389533 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 73.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16222234 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 98.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12147552 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 74.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15967492 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 309.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3749446 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 345.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3252597 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.558, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "329763459 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1222, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "833896 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 906.1, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1325432 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3275, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "330418 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1659, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "641754 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1517, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "781963 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 161.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7301054 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 192.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5967992 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 167.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7395657 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 398.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3021553 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2653, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "398073 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 682.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1702594 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 163.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7651778 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 206.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5680234 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 312.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3891981 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 272.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4423396 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 547.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2233036 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 53.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22792383 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 104.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11714438 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 58.26, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19577787 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 62.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19835389 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 794.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1531597 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 88.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12552141 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 393.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3075565 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5267, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "212592 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 22.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "58952073 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 203.9, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5808729 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 390.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3087018 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 513.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2348863 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2946, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "378372 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 184.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6016880 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1509, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "738156 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 308.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3766040 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 929.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1265169 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 941.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1231429 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 932.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1271974 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 947.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1268092 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 245.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5037782 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.871, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "174366915 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 77.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16134238 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 59.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19788154 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 128.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9410986 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 154.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7516304 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 35.11, "unit": "ns/op\t 65 B/op\t 0 allocs/op", "extra": "28517116 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 189.2, "unit": "ns/op\t 83 B/op\t 1 allocs/op", "extra": "5790268 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 67.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18336020 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 12.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "84715663 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4730, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "245012 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3983, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "298806 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5131, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "240117 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5119, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "220378 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1601, "unit": "ns/op\t 793 B/op\t 8 allocs/op", "extra": "698751 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6412, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "175857 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6470, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "178774 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 180.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6180726 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 65.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "16166707 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 72.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16642574 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 5.455, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "222457428 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.409, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "185828088 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.265, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "188739450 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1133, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1124, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 215.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5459984 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 202, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5611857 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 742.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1618977 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 742.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1644463 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 874902, "unit": "ns/op\t 372993 B/op\t 5608 allocs/op", "extra": "1365 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 125.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9883440 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 33.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31948191 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.888, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "234030974 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.699, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330654630 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 203.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5836429 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 289.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4052418 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 202.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5870694 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 329419, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3726 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 264709, "unit": "ns/op\t 24565 B/op\t 1000 allocs/op", "extra": "4508 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 207992, "unit": "ns/op\t 721 B/op\t 0 allocs/op", "extra": "5642 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 637.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1853307 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 508, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2322223 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1047, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 633.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1872038 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2490, "unit": "ns/op\t 325 B/op\t 7 allocs/op", "extra": "720595 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2880, "unit": "ns/op\t 627 B/op\t 7 allocs/op", "extra": "595906 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1692, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "675037 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2157, "unit": "ns/op\t 277 B/op\t 5 allocs/op", "extra": "666859 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2063, "unit": "ns/op\t 258 B/op\t 5 allocs/op", "extra": "794528 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 162.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7392732 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 135.9, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8922250 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 62.35, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19798980 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 27.13, "unit": "ns/op\t 479.09 MB/s\t 0 B/op\t 0 allocs/op", "extra": "45448593 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 53.37, "unit": "ns/op\t 243.56 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22206080 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 955.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1347837 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 175, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6939639 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 580.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2068574 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 403.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2970457 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 450.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2555056 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 844.8, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1437328 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 509.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2386479 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 885.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1363497 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 32651, "unit": "ns/op\t 8535 B/op\t 207 allocs/op", "extra": "36987 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 33001, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "36462 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 63.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16610989 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 182.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6568298 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 67.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18816928 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 170.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7039674 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 24.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46971513 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 26.01, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45395478 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 25.53, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45946500 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 28.04, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "41197676 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 35.04, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32803167 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 37.22, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32940769 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 127.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9545205 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 133.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9155922 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 86.61, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13661102 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 632.2, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1851138 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 40.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27052688 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.9213, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 33.19, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35504818 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.975, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "612671617 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 41.52, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "27463404 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 105, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "10881471 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12098880 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 196.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6059916 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 83.65, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13431150 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 10.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.375, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "818834665 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.422, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "220679744 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 32.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35628748 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 89.12, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13252429 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 119.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10277686 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 187.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6443808 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 118, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10246653 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 471.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2556378 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 116.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10647254 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 394.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3118674 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.925, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "408478586 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.699, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "211395672 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.661, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "337385719 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.595, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "172706818 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 10.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 10.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "115800489 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 101.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12006020 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 134.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9039050 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4399, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 60.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18759939 times\n2 procs" } ] }, { "commit": { "author": { "email": "kolesnikov.khv@yandex.ru", "name": "Алексей Колесников", "username": "0xdeface" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "21cd45b750a723a5fc87a8bfb9d4b12016a901fa", "message": "PR: add url for favicon middleware, for correct handling different of… (#2231)\n\n* PR: add url for favicon middleware, for correct handling different of ico formats\r\n\r\n* pr: efectn > URL would be better naming i think\r\n\r\n* pr: add test case\r\n\r\n* apply reviews\r\n\r\n* remove json annotinos, since they are unnecessary\r\n\r\n* readme fixes\r\n\r\n* linting fixes\r\n\r\n---------\r\n\r\nCo-authored-by: koalan \r\nCo-authored-by: Muhammed Efe Çetin ", "timestamp": "2023-02-03T10:14:24+01:00", "tree_id": "812da106648e6c23973bf813732754bd8a290b60", "url": "https://github.com/gofiber/fiber/commit/21cd45b750a723a5fc87a8bfb9d4b12016a901fa" }, "date": 1675416357078, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2033, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "893288 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6245, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "168127 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6380, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "184738 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 189.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6218912 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 73.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16914028 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 97.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12360859 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 74.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15375661 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 314.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3797522 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 343.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3205892 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.538, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "336887845 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1179, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "981320 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 899.8, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1331682 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3319, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "355138 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1630, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "685772 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1546, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "740684 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 160.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7475908 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 190.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6445267 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 169.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7407886 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 390, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2982759 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2633, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "446224 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 678.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1804144 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 157.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7747500 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 206.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5791008 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 301.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3922390 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 265.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4568877 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 529.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2334235 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 52.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22981496 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 108.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11803826 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 58.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20020779 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 55.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22241791 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 773.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1529132 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 86.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13626640 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 392.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3134304 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5176, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "226273 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 20.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "60185156 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 205.8, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5734933 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 392.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3095154 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 517.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2261833 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3098, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "393031 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 180.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6324705 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1460, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "733862 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 305.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3835876 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 921, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1258896 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 970.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1237561 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 934.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1258920 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 937.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1284310 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 246.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4986684 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "167810594 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 76.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15340022 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 53.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22540490 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 120.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10078167 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 153.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7928407 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 37.36, "unit": "ns/op\t 74 B/op\t 0 allocs/op", "extra": "31448954 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 194.6, "unit": "ns/op\t 95 B/op\t 1 allocs/op", "extra": "6212742 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 67.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17578544 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 12.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4845, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "233845 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4064, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "299295 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5148, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "230839 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5090, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "227425 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1644, "unit": "ns/op\t 794 B/op\t 8 allocs/op", "extra": "731582 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6402, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "182482 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6580, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "174078 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 176.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6319098 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 64.53, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "17338809 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 71.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16638195 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 5.431, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "220196485 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.245, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "190286572 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.282, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192471328 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1096, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1110, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 211.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5575230 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 202.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6150621 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 738, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1645893 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 756, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1581620 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 898518, "unit": "ns/op\t 373016 B/op\t 5608 allocs/op", "extra": "1312 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 121.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9752778 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 33.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "34507806 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.748, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "252246631 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.524, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "341031822 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 201.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5927662 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 277.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4368927 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 196.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5912623 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 314585, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3758 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 258306, "unit": "ns/op\t 24602 B/op\t 1000 allocs/op", "extra": "4790 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 206134, "unit": "ns/op\t 641 B/op\t 0 allocs/op", "extra": "5930 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 643.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1934332 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 500.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2444812 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 971.3, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1201944 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 634.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1949930 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2523, "unit": "ns/op\t 324 B/op\t 7 allocs/op", "extra": "730525 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2808, "unit": "ns/op\t 590 B/op\t 7 allocs/op", "extra": "650376 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1710, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "780541 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2223, "unit": "ns/op\t 286 B/op\t 5 allocs/op", "extra": "627218 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2048, "unit": "ns/op\t 259 B/op\t 5 allocs/op", "extra": "786046 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 162.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7323825 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 135.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8972199 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 63.56, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "18887161 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 27.06, "unit": "ns/op\t 480.36 MB/s\t 0 B/op\t 0 allocs/op", "extra": "46647504 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 53.36, "unit": "ns/op\t 243.65 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23290208 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 865, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1380027 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 169.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7257537 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 582.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2042520 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 393.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2997165 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 449.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2707100 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 819.5, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1484504 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 496.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2349816 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 830.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1429756 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 33714, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "35149 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 32598, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "36357 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 64.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17965135 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 186.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "5425894 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 64.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18573889 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 165.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7052906 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 24.51, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47126376 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 26.29, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "40049185 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.97, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47326174 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 26.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "41327644 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 34.47, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32789240 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 36.42, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32076666 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 123.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9815040 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 133.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8798288 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 83.49, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13765118 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 619.9, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1899178 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 40.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29684614 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.9036, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 31.18, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36146031 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.958, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "624971755 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.83, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "27143678 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 103.1, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11464645 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 97.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12129139 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 191.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6038937 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 81.77, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14684956 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.902, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123345252 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.351, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "840586897 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.255, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "229441995 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 32.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35757954 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 88.72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "12654490 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 117.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10303689 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 183.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6446487 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 115.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10618592 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 465.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2553664 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 116.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9948943 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 388.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3119984 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.819, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "431153082 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.431, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "218827549 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.507, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "345570813 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.217, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "189033178 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.903, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "135680346 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.713, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124777653 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 101, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12280989 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 129.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9090050 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4439, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 60.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19952274 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "675f5181ce303056719720ea8338cfed3b5fc171", "message": "prepare release for v2.42.0", "timestamp": "2023-02-03T13:01:33+01:00", "tree_id": "54a543ded608d8ecd764357d86726687af3959d4", "url": "https://github.com/gofiber/fiber/commit/675f5181ce303056719720ea8338cfed3b5fc171" }, "date": 1675426373762, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1595, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "891783 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6161, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "203271 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5980, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "197926 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 155.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7747563 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 61.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19624928 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 81.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14687811 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 61.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19503156 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 246.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4862665 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 266.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3896173 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.184, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "549095892 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1130, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "957292 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 709.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1684641 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2578, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "435314 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1310, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "813333 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1177, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "925129 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 126.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9501522 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 145.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8222307 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 127.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9453456 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 306, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3939808 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2044, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "530624 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 566, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2120449 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 129.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9255020 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 164, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7318522 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 236.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5074838 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 212.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5645617 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 394.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3037515 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 42.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27895856 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 84.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14234208 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 39.54, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29195655 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 46.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26047657 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 644, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1861962 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 68.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17485485 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 301.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3984656 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4149, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "280011 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "74687176 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 155.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7646224 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 292.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3987777 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 393.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3036190 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2418, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "478278 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 144.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7942570 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1191, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "1006452 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 239.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4977494 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 714.5, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1670722 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 758.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1590534 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 753.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1600197 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 742.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1581799 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 187, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6414043 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.343, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225246712 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 61.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19315608 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27421644 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 98.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12235257 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 116.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10298982 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 57.28, "unit": "ns/op\t 79 B/op\t 0 allocs/op", "extra": "18988263 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 165.6, "unit": "ns/op\t 86 B/op\t 1 allocs/op", "extra": "7020781 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 53.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22382319 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.624, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124214436 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3778, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "294082 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3121, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "372265 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4023, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "279482 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4026, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "285918 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1281, "unit": "ns/op\t 789 B/op\t 8 allocs/op", "extra": "908618 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5870, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "200082 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5982, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "197044 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 139, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8612780 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 50.95, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22341690 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 57.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20695353 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.789, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316507630 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.049, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238377618 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.724, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253619162 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 891.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1343394 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 905.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1336257 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 167.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6953630 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 161.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7774252 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 592.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1977322 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 593.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2021419 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 678211, "unit": "ns/op\t 373008 B/op\t 5608 allocs/op", "extra": "1665 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12748243 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45071587 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "355344358 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.687, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446133192 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 157.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7696989 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 214.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5569702 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 159.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7697029 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 257838, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4452 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 206031, "unit": "ns/op\t 24573 B/op\t 1000 allocs/op", "extra": "5696 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162174, "unit": "ns/op\t 671 B/op\t 0 allocs/op", "extra": "7333 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 504.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2385666 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 416.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2864721 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 799.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1488067 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 517.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2305374 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2140, "unit": "ns/op\t 418 B/op\t 7 allocs/op", "extra": "854124 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2286, "unit": "ns/op\t 566 B/op\t 7 allocs/op", "extra": "812067 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1336, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "791629 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1811, "unit": "ns/op\t 357 B/op\t 5 allocs/op", "extra": "867373 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1902, "unit": "ns/op\t 344 B/op\t 5 allocs/op", "extra": "917679 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 125.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9511654 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 111.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10771786 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 50.05, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23800003 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.64, "unit": "ns/op\t 661.87 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61243321 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.69, "unit": "ns/op\t 297.55 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26815306 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 703.7, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1703502 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 135.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8882401 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 475.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2520722 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 320.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3729670 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 368.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3192046 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 701.6, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1739402 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 414, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2952169 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 754.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1594635 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23492, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50820 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23311, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50431 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19349191 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 129.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9255873 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 47.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24995560 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 143.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8271332 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.56, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60207163 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.62, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55915086 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57644916 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.66, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53514015 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 26.82, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40927185 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38440346 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12018301 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10847277 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17419950 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 489.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2453442 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38564498 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7531, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40885626 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.945, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "644581180 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.52, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35424078 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.46, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15280718 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 81.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14909040 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 163, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7316175 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.88, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18113918 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.156, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147011640 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.683, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325894178 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47713368 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 68.47, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17257113 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 86.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13930994 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8460442 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 94.05, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12311976 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 333.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3594426 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 82.92, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14270574 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 296.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4079560 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.689, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324675927 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274977307 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.012, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "398339281 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.187, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231277087 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.698, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155864356 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "145208870 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14661507 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10944291 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3713, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21427701 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "028d821beae35dac01a795269e58db5ab5a9cc50", "message": "prepare release", "timestamp": "2023-02-03T13:59:47+01:00", "tree_id": "0a44658ce918edc91108b013773c9f3ed024a63f", "url": "https://github.com/gofiber/fiber/commit/028d821beae35dac01a795269e58db5ab5a9cc50" }, "date": 1675429866152, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1520, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "705510 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5970, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "196958 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6182, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "194684 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 154.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7742391 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 60.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19732359 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 80.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14719281 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 60.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19551164 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 247.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4852592 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 278.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4070178 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.182, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "548583162 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1149, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 761.2, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1586126 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2843, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "413391 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1392, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "799332 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1250, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "909957 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 126.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9470818 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 142.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8397134 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 127.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9414212 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 305.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3994198 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2355, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "505268 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 566.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2107706 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 129.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9258302 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 170.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7023494 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 246.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4864294 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 214.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5295513 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 407.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2857552 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 42.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28138684 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 83.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14268723 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 40.96, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27587522 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 43.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27450012 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 633, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1885852 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 67.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17796825 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 309.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3716541 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4317, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "272715 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "75390835 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 161.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7373100 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 297.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3952132 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 400.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3013096 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2655, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "430998 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 143.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8033275 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1250, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "860299 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 240.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4985077 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 736.2, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1636975 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 785.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1535203 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 784.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1531675 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 773.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1520373 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 189.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6135666 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.352, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224443158 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 61.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19267875 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 41.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28806346 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 98.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12419308 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 116.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10019799 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 54.85, "unit": "ns/op\t 80 B/op\t 0 allocs/op", "extra": "23223289 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 175.7, "unit": "ns/op\t 90 B/op\t 1 allocs/op", "extra": "6561402 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 53.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22317284 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.617, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124543245 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3944, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "286906 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3243, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "315806 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4162, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "279847 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4148, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "279472 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1453, "unit": "ns/op\t 794 B/op\t 8 allocs/op", "extra": "847305 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6154, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "193498 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6112, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "187404 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 145.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8180226 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 52.14, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22538338 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 57.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20776503 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.834, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "309778227 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.041, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "237968172 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.736, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253259007 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 918.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1320254 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 921.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1308584 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 170.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7007640 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 155.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7543044 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 603.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1985961 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 611.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1992058 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 735136, "unit": "ns/op\t 372993 B/op\t 5608 allocs/op", "extra": "1605 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 96.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12914055 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "40607780 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.368, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356582227 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.693, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "445632274 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 156.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7590606 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 218, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5524402 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 155.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7587750 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 259077, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4542 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 213452, "unit": "ns/op\t 24590 B/op\t 1000 allocs/op", "extra": "5238 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163494, "unit": "ns/op\t 710 B/op\t 0 allocs/op", "extra": "7230 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 522.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2339619 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 420.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2755347 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 813.6, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1468228 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 518.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2319312 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2026, "unit": "ns/op\t 314 B/op\t 7 allocs/op", "extra": "807627 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2238, "unit": "ns/op\t 576 B/op\t 7 allocs/op", "extra": "789610 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1377, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "877485 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1710, "unit": "ns/op\t 264 B/op\t 5 allocs/op", "extra": "747828 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2123, "unit": "ns/op\t 351 B/op\t 5 allocs/op", "extra": "890793 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 126, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9491152 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 111.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10747230 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 52.44, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "22701127 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.65, "unit": "ns/op\t 661.54 MB/s\t 0 B/op\t 0 allocs/op", "extra": "59042631 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.79, "unit": "ns/op\t 296.85 MB/s\t 0 B/op\t 0 allocs/op", "extra": "25247073 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 770.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1641910 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 135.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8629911 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 485.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2433012 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 329.1, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3659780 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 373.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3244768 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 700.5, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1707873 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 412, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2882205 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 779.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1479946 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24806, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48150 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 26518, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48256 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19504166 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 134.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8884455 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 48.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24946634 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 156, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8041502 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 20.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57863910 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.06, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53270277 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.03, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57031734 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.33, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53420866 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.89, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35209250 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 30.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34417522 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12003861 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 110, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10910654 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 71.18, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14569765 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 502.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2280643 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37527174 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7554, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 28.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40791426 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 2.055, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "600224742 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 33.43, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31040565 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 81.08, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14745488 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 78.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15401085 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 161.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7382328 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 67.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17436428 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146337483 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.175, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.689, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325118301 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47733140 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 71.76, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16775976 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 86.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13220943 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 144.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8416195 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 96.16, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11926854 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 349, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3380196 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 93.74, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12358056 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 307.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3935805 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.703, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324424436 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.367, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274451403 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.015, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "398047759 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.196, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231078079 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.711, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155675203 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.336, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146290587 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 82.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14605467 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10946968 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3718, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21457538 times\n2 procs" } ] }, { "commit": { "author": { "email": "ryanbekhen.official@gmail.com", "name": "ACHMAD IRIANTO EKA PUTRA", "username": "ryanbekhen" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "61a3336119fa4bde5911d9af34950e1ae3144dbb", "message": "add forward from domain (#2323)\n\n* add forward from domain\r\n\r\n* add balancer forward\r\n\r\n* add unittest and readme\r\n\r\n* add short description new feature\r\n\r\n* add short description on signature\r\n\r\n* golangci-lint fix\r\n\r\n---------\r\n\r\nCo-authored-by: René Werner ", "timestamp": "2023-02-03T14:45:27+01:00", "tree_id": "620bc363316579e144009263d3e51f85a8476e71", "url": "https://github.com/gofiber/fiber/commit/61a3336119fa4bde5911d9af34950e1ae3144dbb" }, "date": 1675432626810, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1632, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "641626 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7380, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "164661 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7470, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "158797 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 193.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6365154 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 81.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15702876 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 102.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11280984 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 75.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15676260 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 295.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4057178 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 336.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3246904 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.692, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "448409439 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1434, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "800258 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 921, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1314759 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3182, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "353769 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1640, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "665002 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1507, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "763351 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 149.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7818331 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 185.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6231235 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 151.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7916126 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 377.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3169707 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2428, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "412141 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 673, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1792437 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 152.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7811886 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 190.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5932873 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 284.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4405213 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 255.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4804420 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 472.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2508078 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 51.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23725236 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 98.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12641827 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 50.91, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24182770 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 54.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22197363 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 784.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1565420 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 77.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15262245 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 352.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3337724 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4991, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "232359 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "66060938 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 179.3, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6583646 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 361.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3384024 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 481.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2381287 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2706, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "418200 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 166.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6737600 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1398, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "789924 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 298.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4210843 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 891.5, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1414387 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 910.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1336473 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 855, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1351143 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 833.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1431606 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 225.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5372810 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.554, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "193814127 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 72.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15556789 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 50.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23946422 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 114.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10562230 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 131.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9052024 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 52.62, "unit": "ns/op\t 66 B/op\t 0 allocs/op", "extra": "22441710 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 209.8, "unit": "ns/op\t 92 B/op\t 1 allocs/op", "extra": "6420849 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 64.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18817006 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "90502138 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4735, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "265945 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4134, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "307538 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5216, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "226606 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5152, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "237202 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1630, "unit": "ns/op\t 798 B/op\t 8 allocs/op", "extra": "788244 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 7517, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "170181 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7237, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "162042 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 183.8, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7782568 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 65.14, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18915157 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 73.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17296458 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.921, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254846994 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198219315 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.373, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200741480 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1112, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1044, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 195.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5863246 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 195.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5900865 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 674.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1796605 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 661.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1726312 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 829110, "unit": "ns/op\t 373018 B/op\t 5608 allocs/op", "extra": "1384 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 116.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10622503 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 32.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "33658131 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.163, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "294686588 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.312, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "367957357 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 191.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6394616 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 265.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4528960 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 183.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6528331 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 302654, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3541 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 246124, "unit": "ns/op\t 24563 B/op\t 1000 allocs/op", "extra": "4869 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 190990, "unit": "ns/op\t 672 B/op\t 0 allocs/op", "extra": "6074 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 607.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2011762 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 498.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2465041 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 969.3, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1235466 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 600.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2052548 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2432, "unit": "ns/op\t 347 B/op\t 7 allocs/op", "extra": "613765 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2548, "unit": "ns/op\t 576 B/op\t 7 allocs/op", "extra": "674473 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1602, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "647240 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1850, "unit": "ns/op\t 265 B/op\t 5 allocs/op", "extra": "743067 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1876, "unit": "ns/op\t 256 B/op\t 5 allocs/op", "extra": "813228 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 150.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8281616 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 133.6, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8287693 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 59.54, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19383982 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 24.8, "unit": "ns/op\t 524.22 MB/s\t 0 B/op\t 0 allocs/op", "extra": "52734243 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 52.04, "unit": "ns/op\t 249.81 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23125272 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 849.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1411974 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 157.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7737247 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 583.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2057504 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 403.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3088128 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 479.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2747540 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 846.1, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1503128 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 511.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2344495 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 885.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1324638 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 27800, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "42392 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 27778, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "44283 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 72.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16394437 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 155, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7279970 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 54.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21873355 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 172.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6709844 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51300979 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 23.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44865675 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 21.83, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54910855 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 25.17, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44069486 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 33.04, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35632730 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 34.47, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30691849 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9954638 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 126.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8954242 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 80.58, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14398058 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 602.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2044992 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 36.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31165272 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8867, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 30.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37801159 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 2.163, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "529600466 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30087063 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 90.54, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "13169738 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 96.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12355000 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 189.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6294702 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 78.49, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14565343 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.203, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129981136 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.324, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "906546184 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "272956898 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 31.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "41389000 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 82.67, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14414522 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12027246 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 180, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7053384 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 115.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10244454 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 396.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3029743 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 104.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11640699 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 358, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3420672 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.269, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "271229629 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.112, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "236793181 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.634, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "348759964 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.255, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200179076 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.524, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127876525 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 10.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123622197 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 99.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12527026 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 135.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8925040 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4629, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 65.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18972952 times\n2 procs" } ] }, { "commit": { "author": { "email": "ryanbekhen.official@gmail.com", "name": "ACHMAD IRIANTO EKA PUTRA", "username": "ryanbekhen" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "61a3336119fa4bde5911d9af34950e1ae3144dbb", "message": "add forward from domain (#2323)\n\n* add forward from domain\r\n\r\n* add balancer forward\r\n\r\n* add unittest and readme\r\n\r\n* add short description new feature\r\n\r\n* add short description on signature\r\n\r\n* golangci-lint fix\r\n\r\n---------\r\n\r\nCo-authored-by: René Werner ", "timestamp": "2023-02-03T14:45:27+01:00", "tree_id": "620bc363316579e144009263d3e51f85a8476e71", "url": "https://github.com/gofiber/fiber/commit/61a3336119fa4bde5911d9af34950e1ae3144dbb" }, "date": 1675433137769, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1850, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "582297 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7916, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "142663 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7285, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "157170 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 180.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6647410 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 72.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15805359 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 96.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12177471 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 72.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16682612 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 288.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4164524 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 313.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3638269 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.561, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "461435624 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1384, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "871551 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 844.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1426698 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3067, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "378056 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1545, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "681002 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1377, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "808429 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 148.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8067649 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 173.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7055344 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 152.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7883366 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 370.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3246331 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2407, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "465427 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 680.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1768524 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 155.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7709126 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 196.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6107702 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 282.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4224753 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 267.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4407502 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 478.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2546282 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 50.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23933710 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 98.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12059364 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 47.43, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23347885 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 54.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21825867 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 786.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1518223 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 80.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14801757 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 358, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3432372 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5065, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "224226 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "63526532 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 184, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6425558 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 357.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3418843 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 472.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2514270 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2835, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "391582 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 169.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6823078 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1409, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "732388 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 294, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4167429 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 851.2, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1421233 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 883.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1360041 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 865, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1378645 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 857.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1390406 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 227.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5331237 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.274, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "191945755 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 72.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16785836 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 50.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23879421 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 115.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10232719 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 136, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8689806 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 56.01, "unit": "ns/op\t 66 B/op\t 0 allocs/op", "extra": "18094749 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 207.5, "unit": "ns/op\t 95 B/op\t 1 allocs/op", "extra": "6215473 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 62.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18727437 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4700, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "259455 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3686, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "291219 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4983, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "242127 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5041, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "243930 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1440, "unit": "ns/op\t 787 B/op\t 8 allocs/op", "extra": "729100 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 7072, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "173322 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7202, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "164626 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 162.5, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7254025 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 60.17, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18614169 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 68.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17605806 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.453, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "264007857 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.963, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "202248350 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "212509429 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1107, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1074, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5923504 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 185.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6320334 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 661.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1814442 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 656.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1827957 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 811507, "unit": "ns/op\t 373004 B/op\t 5608 allocs/op", "extra": "1381 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 112.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10860940 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 31.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36124509 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.011, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298960890 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.208, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "374088556 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 187.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6412566 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 257.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4578285 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 187.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6392155 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 307877, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3604 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 249514, "unit": "ns/op\t 24558 B/op\t 1000 allocs/op", "extra": "4866 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 194090, "unit": "ns/op\t 630 B/op\t 0 allocs/op", "extra": "6121 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 637.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1825701 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 498.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2408275 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 965, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1247298 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 612, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1931557 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2326, "unit": "ns/op\t 326 B/op\t 7 allocs/op", "extra": "716215 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2480, "unit": "ns/op\t 584 B/op\t 7 allocs/op", "extra": "678918 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1596, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "675878 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1891, "unit": "ns/op\t 263 B/op\t 5 allocs/op", "extra": "755961 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1988, "unit": "ns/op\t 262 B/op\t 5 allocs/op", "extra": "765008 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 149, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7913931 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 136.3, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9159949 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 59.89, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19832158 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 23.36, "unit": "ns/op\t 556.58 MB/s\t 0 B/op\t 0 allocs/op", "extra": "51061803 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 51.99, "unit": "ns/op\t 250.07 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23165389 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 835.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1432612 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 161, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7439731 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 588.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2070312 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 393.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3093784 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 447.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2662053 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 846.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1477070 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 494.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2398622 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 899.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1278235 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 28139, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "42866 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 28635, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "38748 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 73.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16253794 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 155.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7732747 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 56.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21131716 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 169.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7017585 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 21.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51043546 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 23.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46748805 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 21.75, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51291840 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 24.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44907762 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 31.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36139525 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 34.06, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33867774 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 117, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10252521 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 130.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9257517 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 78.11, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14991658 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 569.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2066139 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 36.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32168502 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8829, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 30.35, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39109064 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 2.239, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "543868581 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 37.45, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29794221 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 90.34, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "13192646 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 98.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12283682 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 191.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6195939 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 76.54, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15443887 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.556, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124243734 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.369, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "872777810 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.338, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "279119253 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 29.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "40154940 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 83.65, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13504767 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 101.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11941909 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 174.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7119304 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 112.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10526096 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 405.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2893574 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 97.14, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11781270 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 354.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3322962 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.322, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "276811317 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.203, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "234941886 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.597, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "338378926 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.156, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "193969524 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.201, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130579728 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.868, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "121066128 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12263221 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 129.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9167260 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4383, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 66.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18410742 times\n2 procs" } ] }, { "commit": { "author": { "email": "dozheiny@gmail.com", "name": "Iliya", "username": "dozheiny" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "54439a5bde246577331b6e345c9d640b289568c2", "message": "🔥 Feature: add queryFloat parser (#2328)", "timestamp": "2023-02-09T13:44:13+08:00", "tree_id": "1e5c04e2f901a8aff499bee82825baec9f746337", "url": "https://github.com/gofiber/fiber/commit/54439a5bde246577331b6e345c9d640b289568c2" }, "date": 1675922138263, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1966, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "704508 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7595, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "155852 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6308, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "185776 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 185.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6272610 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 69.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17133072 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 94.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12824382 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 70.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16572799 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 300.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3905151 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 337.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3297200 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.402, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "335715259 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1174, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "895410 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 879.8, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1387195 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3159, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "363170 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1640, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "727425 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1480, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "738728 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 155.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7681255 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 186.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6587312 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 160, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7597923 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 372, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3169422 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2542, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "461094 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 643.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1773290 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 150.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8104512 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 207, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5597952 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 295.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4151202 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 265.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4667404 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 526.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2325819 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 50.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23694422 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 99.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12058304 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 56.57, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20703662 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 56.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20962923 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 755.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1625889 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 86.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14664445 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 369.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3123220 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5138, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "227774 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 20.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "62505976 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 197.2, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5952524 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 382.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3326643 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 494.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2396553 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2867, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "402602 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 175, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6503611 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1439, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "717117 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 292.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4049954 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 886.3, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1341336 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 918.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1307938 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 925.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1328432 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 899.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1320277 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 229, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4991034 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.479, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "185027150 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 70.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17117002 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 52.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23427933 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 118, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9840116 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 147.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8125020 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 37.27, "unit": "ns/op\t 70 B/op\t 0 allocs/op", "extra": "33327598 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 192.7, "unit": "ns/op\t 90 B/op\t 1 allocs/op", "extra": "6639487 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 65.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18663925 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4464, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "259617 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3885, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "295873 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4916, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "239563 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4902, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "226030 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1636, "unit": "ns/op\t 803 B/op\t 8 allocs/op", "extra": "685514 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6227, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "186682 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6249, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "180027 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 182.8, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6893702 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 63.02, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "16457521 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 70.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17061652 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.947, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "229089234 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200177761 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.008, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "205853671 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1082, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1064, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 216.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5535711 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 199.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5727093 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 715.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1601184 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 691.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1725460 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 840446, "unit": "ns/op\t 373001 B/op\t 5608 allocs/op", "extra": "1423 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9995689 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 32.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36660643 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.237, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "284689528 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.458, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "312098455 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 189.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6194700 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 268, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4551747 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 193.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6152971 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 301476, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3802 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 253754, "unit": "ns/op\t 24616 B/op\t 1000 allocs/op", "extra": "4730 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 201246, "unit": "ns/op\t 693 B/op\t 0 allocs/op", "extra": "5466 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 618.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1953968 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 483.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2486276 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 937.3, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1279712 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 596.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1963346 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2469, "unit": "ns/op\t 321 B/op\t 7 allocs/op", "extra": "751159 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2960, "unit": "ns/op\t 629 B/op\t 7 allocs/op", "extra": "593659 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1593, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "822619 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2131, "unit": "ns/op\t 263 B/op\t 5 allocs/op", "extra": "753475 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2088, "unit": "ns/op\t 256 B/op\t 5 allocs/op", "extra": "812564 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 154, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7890177 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 131.7, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9237873 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 59.26, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19842369 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 25.44, "unit": "ns/op\t 510.96 MB/s\t 0 B/op\t 0 allocs/op", "extra": "48392072 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 50.57, "unit": "ns/op\t 257.09 MB/s\t 0 B/op\t 0 allocs/op", "extra": "24097396 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 853.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1416146 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 162.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7186243 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 553.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2160274 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 396.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3057739 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 434.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2679004 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 792, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1542398 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 490.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2503170 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 967.9, "unit": "ns/op\t 160 B/op\t 1 allocs/op", "extra": "1212355 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 29836, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "39646 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 30203, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "39841 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18739101 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 179.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6282975 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18874898 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 162.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7305030 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 23.87, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51298543 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 24.99, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46491446 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 22.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47165398 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 26.39, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46590558 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 33.35, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34957784 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 34.33, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32952164 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 123.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10183904 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 136.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8949979 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 82.42, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14346810 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 612.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1863651 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 39.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30951019 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8878, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 30.64, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37443834 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "625912233 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 38.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "26811727 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 102.9, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12171591 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 97.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12243429 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 195.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6185688 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 79.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14401707 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.418, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126409407 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.323, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "912474606 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.067, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230646990 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 32.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39303288 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 85.26, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13958254 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 114.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10408122 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 179.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6470791 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 114.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10364482 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 452.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2632309 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 110.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10345494 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 377.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3279640 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.675, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447439726 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.368, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228146391 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.379, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "359249406 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.051, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198977544 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.555, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "138918802 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.433, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129035373 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 95.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12690880 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 122.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9824378 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4339, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 56.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21296853 times\n2 procs" } ] }, { "commit": { "author": { "email": "dozheiny@gmail.com", "name": "Iliya", "username": "dozheiny" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "c3b151a1fe058abd91650cdd905e63dbf2409165", "message": "🔥 Feature: add queryBool parser (#2329)\n\n* 🔥 Feature: add queryBool parser\r\n\r\n* 🩹 pass linter", "timestamp": "2023-02-09T22:33:09+08:00", "tree_id": "0599df2298b765eababc8c73f4f22efe60d91a92", "url": "https://github.com/gofiber/fiber/commit/c3b151a1fe058abd91650cdd905e63dbf2409165" }, "date": 1675953862692, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1538, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "718743 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5866, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "191996 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6043, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "195501 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 151.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7922601 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 60.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19758408 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 80.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14870469 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 61.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19521130 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 246.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4854631 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 268.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4019041 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.176, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "549633057 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1129, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "982798 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 709.1, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1690268 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2608, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "430923 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1310, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "812922 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1167, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "945220 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 127, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9517959 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 142.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8465646 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 125.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9502782 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 303.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3967035 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2042, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "508441 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 565.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2124735 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 130.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9141182 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 162.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7399288 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 234.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5121710 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 215.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5601111 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 395, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3009646 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27567998 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 84.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14307289 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 39.97, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "28603426 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 44.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26999576 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 641.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1870214 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17433885 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 298.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3976808 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4191, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "269913 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "76061167 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 153.8, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7693094 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 297.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4048498 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 394.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3009855 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2433, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "453564 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 142.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8050071 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1192, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "1003161 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 243.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4965550 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 713.8, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1669552 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 756.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1592542 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 749.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1596960 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 738.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1613485 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 187.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6464811 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224674438 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 60.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19370445 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 41.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28711476 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 98.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12216522 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 115.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10374044 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 52.68, "unit": "ns/op\t 73 B/op\t 0 allocs/op", "extra": "25408251 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 172.5, "unit": "ns/op\t 87 B/op\t 1 allocs/op", "extra": "6892592 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21694905 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.709, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123801812 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3833, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "299719 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3177, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "367708 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4081, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "279057 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4108, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "287018 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1325, "unit": "ns/op\t 788 B/op\t 8 allocs/op", "extra": "904524 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5857, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "199724 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5960, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "194402 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 139.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8531421 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 51.78, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23056651 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20275821 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.728, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322107262 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 4.881, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "240350928 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.728, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253141477 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 918.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1292974 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 922.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1332166 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 166.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7169551 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 155, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7716780 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 602.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1963312 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 601.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1977640 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 674311, "unit": "ns/op\t 373006 B/op\t 5608 allocs/op", "extra": "1728 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 93.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12868120 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46322961 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356244483 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.699, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "443832438 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 155.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7739416 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 214, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5626100 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 156.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7717036 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 258183, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4587 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 212271, "unit": "ns/op\t 24612 B/op\t 1000 allocs/op", "extra": "5896 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162201, "unit": "ns/op\t 658 B/op\t 0 allocs/op", "extra": "7348 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 511.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2341954 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 419.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2867235 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 804.9, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1487542 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 520.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2299178 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2482, "unit": "ns/op\t 414 B/op\t 7 allocs/op", "extra": "869202 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2424, "unit": "ns/op\t 574 B/op\t 7 allocs/op", "extra": "793930 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1340, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "800947 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1620, "unit": "ns/op\t 259 B/op\t 5 allocs/op", "extra": "783265 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2119, "unit": "ns/op\t 343 B/op\t 5 allocs/op", "extra": "923628 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 125.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9534568 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 111.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10735424 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 50.12, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23416630 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.64, "unit": "ns/op\t 662.02 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61375730 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.73, "unit": "ns/op\t 297.29 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27493770 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 705.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1702854 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 134.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8861035 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 495.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2492580 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 322.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3695952 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 376.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3247280 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 705.3, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1738812 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 420, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2938849 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 753.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1588208 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23725, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50640 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23638, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50104 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19534899 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 129.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9185806 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 48.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24986941 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 144.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8305942 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59385937 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.45, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57250512 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60664868 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.43, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54033046 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 26.68, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42341937 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.73, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39537128 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12016576 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10927125 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 65.97, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17667592 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 486.1, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2482754 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37874295 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7547, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.81, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42619966 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.907, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "617829358 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.44, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35558631 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.54, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15328857 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 83.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14418055 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 162.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7392430 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.79, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17652198 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.184, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146604364 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.174, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.687, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325041766 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47652753 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 68.94, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17159118 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 86.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13939719 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8372172 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 95.11, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11990528 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 334.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3555795 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 83.19, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14188089 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 294.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4018287 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.696, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325216826 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275029647 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.012, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "398319807 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.187, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231266670 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.707, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155835973 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.371, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144968390 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14583806 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10872463 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3718, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21511954 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "956394fd1b3ebf79bfbe740ec4014f880e0da76b", "message": "🐛 [Bug]: Mounted subapps don't work correctly if parent app attached additional middlewares after mounting (v2.40.1 bug) #2233", "timestamp": "2023-02-10T15:30:25+01:00", "tree_id": "9b8bd0627f63188775ca652c5f4577205b4572d3", "url": "https://github.com/gofiber/fiber/commit/956394fd1b3ebf79bfbe740ec4014f880e0da76b" }, "date": 1676040141909, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2057, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "520138 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6822, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "175084 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7013, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "175016 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 193.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6181440 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 75.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15764344 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 105.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11560546 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 77.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15333085 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 309.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3701050 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 362.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3308442 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.732, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "315853492 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1253, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "867633 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 971.8, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1239190 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3431, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "334671 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1737, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "709902 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1570, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "703023 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 167.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7389441 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 193.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6489831 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 169.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7042513 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 410, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2940345 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2855, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "402681 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 705.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1715607 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 162.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7323644 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 210.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5660667 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 317.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3745654 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 282.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4267698 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 538.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2142382 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 54.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22198250 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 106.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11357672 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 61.1, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18885364 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 55.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22386058 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 792.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1511017 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 93.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13106960 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 406.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2933972 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5458, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "207165 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 21.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "58373216 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 215.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5366418 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 403, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3050788 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 536, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2227532 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3241, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "366099 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 187.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6175105 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1558, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "647109 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 404.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2947137 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1097, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "985422 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 987.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1191205 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 971.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1235529 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 954.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1241722 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 324.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3543974 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.942, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "168388634 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 78.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15993382 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 52.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22581631 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 127.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9440602 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 150.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8054281 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 54.32, "unit": "ns/op\t 73 B/op\t 0 allocs/op", "extra": "20515976 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 206.5, "unit": "ns/op\t 85 B/op\t 1 allocs/op", "extra": "5660722 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 69.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15506827 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 12.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4977, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "225495 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4055, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "290727 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5403, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "204450 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5249, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "229312 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1910, "unit": "ns/op\t 808 B/op\t 8 allocs/op", "extra": "602637 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6870, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "172268 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7234, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "172794 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 201.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6136436 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 68.36, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "15878563 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 78.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15465895 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 5.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "235128601 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.524, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "179341587 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.596, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "265370864 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1135, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1148, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 216.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5450005 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 207.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5909329 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 756.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1583475 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 747.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1595180 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 949713, "unit": "ns/op\t 373007 B/op\t 5608 allocs/op", "extra": "1213 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 121.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10199305 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 35.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "34880312 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.508, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "269110363 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.675, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "329776764 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 200.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5920342 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 288.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3942714 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 202.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6017016 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 324500, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3830 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 290280, "unit": "ns/op\t 24649 B/op\t 1000 allocs/op", "extra": "4208 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 232886, "unit": "ns/op\t 699 B/op\t 0 allocs/op", "extra": "5142 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 662.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1823074 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 528.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2254675 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1026, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 669.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1828592 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2646, "unit": "ns/op\t 334 B/op\t 7 allocs/op", "extra": "670359 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 3211, "unit": "ns/op\t 636 B/op\t 7 allocs/op", "extra": "510320 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1787, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "764200 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2462, "unit": "ns/op\t 276 B/op\t 5 allocs/op", "extra": "675248 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2320, "unit": "ns/op\t 267 B/op\t 5 allocs/op", "extra": "724268 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 169.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7331618 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 140.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8340944 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 66.45, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "18091670 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 28.73, "unit": "ns/op\t 452.48 MB/s\t 0 B/op\t 0 allocs/op", "extra": "42955784 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 56.68, "unit": "ns/op\t 229.35 MB/s\t 0 B/op\t 0 allocs/op", "extra": "21767322 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 928, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1283538 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 180.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6663294 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 625.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1937344 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 439.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2744684 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 475.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2520151 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 845.9, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1418384 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 536, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2302897 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 998.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1230950 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 39800, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "30706 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 38975, "unit": "ns/op\t 8535 B/op\t 207 allocs/op", "extra": "31249 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 66.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17848916 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 194.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6115026 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 66.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17489380 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 176.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6554079 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 26.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "42902336 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 27.24, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44138976 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 26.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44405796 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 28.75, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "39842769 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 38.36, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30271190 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 38.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "27996734 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 129.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9251212 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 137.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8167078 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 92.12, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "12128529 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 655, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1783122 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 43.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28364866 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.9531, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 33.49, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31826630 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 2.051, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "583734224 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 42.86, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "27165825 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 113.1, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11428262 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 106.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11276570 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 226.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5587926 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 89.19, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13662338 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 10.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.444, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "835531837 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.489, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "219540819 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 34.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "33323545 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 96.33, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "11972815 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 126.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9807817 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 191.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6527152 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 124.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9261978 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 498.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2472272 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 124, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9663976 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 426.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2876712 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.972, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397282122 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.889, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "207177913 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.826, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316256121 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.802, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "180035148 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 10.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 10.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 107.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11491372 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 137.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8784666 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4393, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 65.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18655560 times\n2 procs" } ] }, { "commit": { "author": { "email": "jgcalderonperez@protonmail.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "committer": { "email": "jgcalderonperez@protonmail.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "distinct": true, "id": "d35f4f2300fa1e079b073f80b70f8007ad46fcdb", "message": "Add support for DoRedirects\n\nSigned-off-by: Juan Calderon-Perez ", "timestamp": "2023-02-12T00:02:53-08:00", "tree_id": "af08d19799396b80780a3bd3e8a43dc0dcf990d5", "url": "https://github.com/gofiber/fiber/commit/d35f4f2300fa1e079b073f80b70f8007ad46fcdb" }, "date": 1676189663966, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 636.5, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1852256 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3329, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "340538 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3419, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "337041 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 150.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8008222 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 59.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20334432 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 80.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14987150 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 59.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20096373 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 244.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4894724 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 279.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3858218 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.346, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "517043137 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 975.5, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1232472 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 764.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1565894 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2706, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "417254 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1425, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "754958 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1275, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "859585 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 118.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10140242 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 139.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8621503 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 127.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9476371 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 302.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3959359 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2089, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "519218 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 569.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2110268 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9024738 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 156.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7600076 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 232.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5139664 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 204.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5845669 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 403.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2954376 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27425680 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 87.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13762363 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 38.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29942877 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 42.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27709141 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 657.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1831239 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17047146 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 318.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3798092 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4382, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "264780 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82143912 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 143.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8271213 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 290.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4126394 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 402.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2993376 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2468, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "447295 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 137.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8307676 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1219, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "874921 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 237.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5007877 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 764.6, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1564150 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 818.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1468299 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 808.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1480629 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 792.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1503529 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 182.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6503052 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.314, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225740670 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20664702 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 40.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28650480 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 97.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12444939 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 113.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10578433 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 41.86, "unit": "ns/op\t 68 B/op\t 0 allocs/op", "extra": "27369888 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 149.4, "unit": "ns/op\t 93 B/op\t 1 allocs/op", "extra": "7955256 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21825277 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127768453 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3878, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "299043 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3390, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "336782 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4226, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "273967 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4221, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "276525 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1320, "unit": "ns/op\t 797 B/op\t 8 allocs/op", "extra": "929654 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3352, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "336393 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3410, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "336704 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 147.3, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8111618 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 52.08, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22617262 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20620922 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.027, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297774776 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.075, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "161252192 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.969, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "204929032 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 915.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1316656 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 904.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1335697 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 160.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7312083 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 153.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8106258 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 619.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1934426 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 617, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1936668 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 704729, "unit": "ns/op\t 373002 B/op\t 5608 allocs/op", "extra": "1700 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 91.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13140514 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45463832 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.217, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373022115 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.744, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "436724284 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 149.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7997272 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 227.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5202727 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 146.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8221911 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 247761, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4414 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 221180, "unit": "ns/op\t 24568 B/op\t 1000 allocs/op", "extra": "5395 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177290, "unit": "ns/op\t 703 B/op\t 0 allocs/op", "extra": "6690 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 492.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2435818 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 430.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2724445 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 831.3, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1446084 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 537.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2227150 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1857, "unit": "ns/op\t 312 B/op\t 7 allocs/op", "extra": "828330 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2092, "unit": "ns/op\t 571 B/op\t 7 allocs/op", "extra": "800683 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1462, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "831754 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1827, "unit": "ns/op\t 358 B/op\t 5 allocs/op", "extra": "864235 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1900, "unit": "ns/op\t 345 B/op\t 5 allocs/op", "extra": "914979 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 121.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9840228 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 109.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9561006 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49.63, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "22618464 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.34, "unit": "ns/op\t 672.12 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62147480 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.87, "unit": "ns/op\t 303.25 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27980366 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 736.7, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1612062 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 128.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9327774 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 497, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2415675 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 328.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3629451 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 376.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3215396 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 705.2, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1704298 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 413.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2894325 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 817.7, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1409569 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23724, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50342 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24095, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49917 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18177614 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 143.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8338087 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28921846 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 158.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7581009 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.61, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57802178 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.97, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53051067 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56964660 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.83, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51066380 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.78, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39399522 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 30.51, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37453290 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12429561 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10253749 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 65.62, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17784789 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 448.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2682243 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39068220 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.805, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.07, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43258878 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.609, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "745211258 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34609225 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 78.06, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15150558 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 80.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14856831 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 153.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7791476 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17839309 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.179, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146812465 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "994570654 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.021, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298469950 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44445380 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 71.21, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16436164 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 103, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11644134 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 142, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8365234 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 104.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11274241 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 365.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3257377 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 82.71, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14352684 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 318.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3743971 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.199, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "379632925 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.559, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "265338046 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.636, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "327162873 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.991, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200493640 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.047, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149279506 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.343, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "143750842 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12355728 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10312764 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4234, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21833724 times\n2 procs" } ] }, { "commit": { "author": { "email": "jgcalderonperez@protonmail.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "committer": { "email": "jgcalderonperez@protonmail.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "distinct": true, "id": "71b9ba210fc8f54c8e71e2d027b36af816ecacd4", "message": "Fix linter issues\n\nSigned-off-by: Juan Calderon-Perez ", "timestamp": "2023-02-12T00:13:06-08:00", "tree_id": "9de58dd391ac201630a5d4a31ad848652d5f116d", "url": "https://github.com/gofiber/fiber/commit/71b9ba210fc8f54c8e71e2d027b36af816ecacd4" }, "date": 1676190256737, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1898, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "561372 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 8083, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "129150 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7426, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "164160 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 182.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6582694 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 73.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15303003 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 98.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12192302 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 73.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16438964 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 296.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4091707 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 324.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3704401 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.606, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "460541185 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1359, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "857544 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 876.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1378123 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3371, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "353298 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1623, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "664104 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1414, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "776371 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 150.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7901614 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 175.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5984629 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 151.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7932704 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 363.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3230607 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2581, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "437362 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 679.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1765906 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 154.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7198990 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 200.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5941725 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 288.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4193922 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 258.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4593759 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 483.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2506572 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 50.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23566720 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 100.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11773602 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 47.74, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23819187 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 52.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22321634 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 772.7, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1541922 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 80.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14915246 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 383.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3273488 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5051, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "241078 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 19.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "62660472 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 188.8, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6319399 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 361.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3375567 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 482.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2449768 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2959, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "365515 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 170.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6665979 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1454, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "843471 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 290.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4055352 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 876.9, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1379918 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 909.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1335086 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 924.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1347188 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 870, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1363327 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 227.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5243415 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.409, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "183873208 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 71.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16718391 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 47.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24118927 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 112.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10440885 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 133.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9273348 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 55.07, "unit": "ns/op\t 65 B/op\t 0 allocs/op", "extra": "23098838 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 202, "unit": "ns/op\t 94 B/op\t 1 allocs/op", "extra": "6285393 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 62.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19390675 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "96336762 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4580, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "256334 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3783, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "300816 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4954, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "240282 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4964, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "237906 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1627, "unit": "ns/op\t 799 B/op\t 8 allocs/op", "extra": "777814 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 7090, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "169243 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7170, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "161864 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 167.2, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7131343 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 62.09, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18949700 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 69.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17130704 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.545, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "264058957 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.143, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198485929 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.684, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "210582266 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1063, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1086, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 213.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5969155 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 188.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6192986 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 657.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1836836 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 651.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1803538 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 841995, "unit": "ns/op\t 373010 B/op\t 5608 allocs/op", "extra": "1400 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 111.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10599195 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 31.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38035022 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.999, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298563082 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.204, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372450951 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 185.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6423394 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 253.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4719541 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 186.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6582049 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 302972, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3706 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 246832, "unit": "ns/op\t 24605 B/op\t 1000 allocs/op", "extra": "4783 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 195356, "unit": "ns/op\t 688 B/op\t 0 allocs/op", "extra": "5944 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 630, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1994942 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 491.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2388992 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 945.1, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1242044 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 611.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1937412 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2495, "unit": "ns/op\t 343 B/op\t 7 allocs/op", "extra": "629708 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2619, "unit": "ns/op\t 583 B/op\t 7 allocs/op", "extra": "662635 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1609, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "702201 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1912, "unit": "ns/op\t 266 B/op\t 5 allocs/op", "extra": "736626 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1939, "unit": "ns/op\t 255 B/op\t 5 allocs/op", "extra": "817184 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 148.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8040873 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 129.1, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9117936 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 61.07, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19647328 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 23.75, "unit": "ns/op\t 547.31 MB/s\t 0 B/op\t 0 allocs/op", "extra": "49840555 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 51.27, "unit": "ns/op\t 253.58 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22530846 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 845.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1323091 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 161.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7409233 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 569.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2119515 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 385.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2996577 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 438.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2759814 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 847.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "1456300 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 483.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2477534 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 883, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1325241 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 28282, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "42135 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 28212, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "42086 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 73.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16289083 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 156.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7619758 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 57.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21342715 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 172.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6916255 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.08, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49609759 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 23.85, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46895505 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 22, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48914319 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 24.67, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44903089 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 31.83, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35516305 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 34.74, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32899399 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 118.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10240708 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 130.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8778698 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 78.74, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14356352 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 579.4, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2064048 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 37.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31788296 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8915, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 31.21, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33830820 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 2.167, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "548408577 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 37.58, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29246121 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 92.24, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12852810 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 96.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12374664 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 192.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6040630 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 77.81, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14838805 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.603, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123775220 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.383, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "870640243 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.333, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274060830 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 29.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38754609 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 81.88, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14556066 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11585192 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 168, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6905293 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 114.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10628440 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 398.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2861794 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 98.23, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11633036 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 355.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3365076 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.377, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "276642576 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.217, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231630234 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.571, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331369798 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "196200154 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.065, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "132404155 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.863, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123928249 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 95.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12340334 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 129.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9194001 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4407, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 66.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18203125 times\n2 procs" } ] }, { "commit": { "author": { "email": "jgcalderonperez@protonmail.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "committer": { "email": "jgcalderonperez@protonmail.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "distinct": true, "id": "febe920dec381667483f24601cf0f7155d2eaf71", "message": "Add example to README", "timestamp": "2023-02-12T00:20:31-08:00", "tree_id": "0ee74a3a9a6d6fb64d2c523a02ccee53c1fac72a", "url": "https://github.com/gofiber/fiber/commit/febe920dec381667483f24601cf0f7155d2eaf71" }, "date": 1676190698969, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1602, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "733213 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3698, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "285231 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3359, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "346989 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 150.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7800102 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20124207 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 80.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14744684 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 59.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20131940 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 244.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4893673 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 278.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3666010 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.278, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "520877229 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 979.8, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1244468 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 745.8, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1605751 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2582, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "435748 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1390, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "781494 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1243, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "878284 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 117.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10245730 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 139.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8569086 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 127.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9443943 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 304, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3948049 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1883, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "531378 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 570.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2089188 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8817236 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 150.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7893368 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 224.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5307162 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 201.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5937080 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 395.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2968864 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27576391 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 88.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13696743 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 37.67, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29759331 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 45.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26221779 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 646.2, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1839073 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17054036 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 294.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3943047 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4291, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "269408 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82104040 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 135.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8748885 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 283.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4213754 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 393.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3038712 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2280, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "501175 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 137.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8265022 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1177, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "891364 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 236.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5046632 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 761.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1631430 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 820.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1515891 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 772.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1531519 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 764.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1568306 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 177.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6676436 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.306, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225742639 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20514686 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 44.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27228058 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 100.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11861602 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 112.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10719603 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 37.92, "unit": "ns/op\t 65 B/op\t 0 allocs/op", "extra": "28699491 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 146.4, "unit": "ns/op\t 92 B/op\t 1 allocs/op", "extra": "8071755 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21953784 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.342, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128442478 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3799, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "301210 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3310, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "342162 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4129, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "276793 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4142, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "279615 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1198, "unit": "ns/op\t 795 B/op\t 8 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3286, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "318844 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3351, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "342088 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 158.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7398562 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 51.18, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19858711 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20728688 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.026, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "248472799 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.186, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "159741426 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.919, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "204534190 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 897.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1338364 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 893.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1348976 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 159.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7447662 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 152.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8105840 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 610.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1965747 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 609.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1956116 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 658169, "unit": "ns/op\t 372996 B/op\t 5608 allocs/op", "extra": "1789 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 91.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12939687 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46284362 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.215, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372337800 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.739, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "438856774 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 147.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8071113 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 229.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5323096 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 150.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8203748 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 249876, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4774 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 217655, "unit": "ns/op\t 24573 B/op\t 1000 allocs/op", "extra": "5395 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177083, "unit": "ns/op\t 691 B/op\t 0 allocs/op", "extra": "6760 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 488.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2469554 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 429.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2777612 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 818.6, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1466178 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 536.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2230809 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1801, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "834330 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2052, "unit": "ns/op\t 567 B/op\t 7 allocs/op", "extra": "809842 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1465, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "819997 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1750, "unit": "ns/op\t 358 B/op\t 5 allocs/op", "extra": "863794 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1852, "unit": "ns/op\t 342 B/op\t 5 allocs/op", "extra": "929851 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 121.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9887733 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 106.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11132829 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.13, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24577746 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.31, "unit": "ns/op\t 673.08 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61614663 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.82, "unit": "ns/op\t 303.62 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27991104 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 715.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1673378 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 128.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9184213 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 490.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2452269 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 324.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3687682 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 367.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3257058 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 706.9, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1704040 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 414.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2875746 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 737.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1607248 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23020, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51794 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 22929, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51428 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18212629 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 140.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8522080 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28992745 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 154.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7711161 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.14, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57331280 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.63, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53473359 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.54, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59297085 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.69, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51969469 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.29, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40536466 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.73, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38561559 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12446929 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10311891 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.19, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18125506 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 442.2, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2703876 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39127873 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.804, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.12, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44538344 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.607, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "746874511 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.75, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35713358 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 75.69, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15404694 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 73.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16251256 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 157.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7633928 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.94, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17980424 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146211582 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "994859024 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.019, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298700517 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44708259 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16062914 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 103, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11644750 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8433582 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 101.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11669050 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 360.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3284076 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 80.83, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14757998 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 315.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3834897 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.317, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "367081756 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.703, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "256070617 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.633, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330397658 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199229247 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149354780 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.336, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144226416 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12372444 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10315356 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4224, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21916704 times\n2 procs" } ] }, { "commit": { "author": { "email": "msaf1980@gmail.com", "name": "Michail Safronov", "username": "msaf1980" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "497eb02b48190484d842748a08b2a84aba2ced62", "message": "Basic auth alloc (#2333)\n\n* basic_auth: extend benchmark for uppercase Basic\n\n* basic_auth: check space after basic (and avoid alloc if Basic)\n\n* fixup! basic_auth: check space after basic (and avoid alloc if Basic)", "timestamp": "2023-02-13T22:48:55+01:00", "tree_id": "fbe4769b01972e470a95ba7a8bbde727216f01df", "url": "https://github.com/gofiber/fiber/commit/497eb02b48190484d842748a08b2a84aba2ced62" }, "date": 1676325621551, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1858, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "698319 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6801, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "161090 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7197, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "172669 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 171.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7471617 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 66.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16738338 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 90.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12660117 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 65.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18601564 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 266.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4555796 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 310.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3750120 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.401, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "494615018 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1295, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "879740 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 802.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1451940 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2839, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "403615 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1437, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "745023 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1303, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "877694 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 136.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8520105 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 152.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7899818 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 137.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8114686 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 353.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3453146 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2169, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "531565 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 611.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1926956 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 148.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8335800 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 184.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6348532 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 258.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4681651 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 254.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4916799 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 440.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2600428 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 47.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24634774 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 89.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13343244 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 45.93, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24551608 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 49.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23884270 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 760, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1619859 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 74.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15489838 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 349.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3187906 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4718, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "251082 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "61504274 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 176.2, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6818426 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 336.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3380922 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 468.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2735683 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2767, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "403348 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 156.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7432786 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1375, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "761971 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 273.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4241394 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 820.6, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1510485 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 877, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1388911 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 836.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1471137 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 832.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1397596 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 218.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5399326 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.919, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199351069 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 65.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17163637 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 46.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25544282 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 112.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10239430 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 129.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9202569 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 67.77, "unit": "ns/op\t 75 B/op\t 0 allocs/op", "extra": "19858554 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 189.3, "unit": "ns/op\t 86 B/op\t 1 allocs/op", "extra": "5606278 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 60.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18632424 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 10.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4499, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "250066 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3606, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "341900 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4551, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "253753 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4566, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "237288 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1503, "unit": "ns/op\t 799 B/op\t 8 allocs/op", "extra": "822531 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6632, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "179160 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6937, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "169779 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 158.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7605856 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 58.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20031565 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 64.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18381877 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.976, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "283511206 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "217579201 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "227689194 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1060, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1025, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 184.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6750610 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 170.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7292836 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 596.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2014440 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 603.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1996495 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 780369, "unit": "ns/op\t 373000 B/op\t 5608 allocs/op", "extra": "1466 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 99.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11366199 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 27.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "43082227 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.646, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "340635538 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.837, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426622180 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 167.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6989295 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 238.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5233534 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 171.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6913227 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 285421, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4333 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 235583, "unit": "ns/op\t 24538 B/op\t 1000 allocs/op", "extra": "5080 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 172123, "unit": "ns/op\t 648 B/op\t 0 allocs/op", "extra": "6886 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 591.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2029466 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 575.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2021223 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 449.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2715825 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 885.7, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1365957 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 584.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2084564 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2266, "unit": "ns/op\t 322 B/op\t 7 allocs/op", "extra": "739952 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2479, "unit": "ns/op\t 582 B/op\t 7 allocs/op", "extra": "682678 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1520, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "677564 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1759, "unit": "ns/op\t 257 B/op\t 5 allocs/op", "extra": "804127 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1980, "unit": "ns/op\t 354 B/op\t 5 allocs/op", "extra": "881234 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 138.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8752132 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 126.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9438555 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 57.23, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "20608040 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 21.11, "unit": "ns/op\t 615.92 MB/s\t 0 B/op\t 0 allocs/op", "extra": "57902568 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 48.67, "unit": "ns/op\t 267.11 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26332159 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 777.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1524535 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 149.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7928623 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 537.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2158275 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 363.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3473161 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 407.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2895601 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 795.6, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1618725 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 442.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2558275 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 861.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1378562 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 26963, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "41074 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 27337, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "43886 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 68.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17221086 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 150.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7771550 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 52.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22090252 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 164.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7128982 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 20.82, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51447950 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 22.94, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50571553 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.62, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53740044 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.09, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53308876 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 30.08, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36653191 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 31.79, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34756767 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 104, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11331741 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 114.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10780357 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 72.91, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "16248992 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 533.1, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2254442 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36987499 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.807, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 28.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41599219 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 2.066, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "597232620 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 35.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31751540 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 83.33, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "13426999 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 85.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14287837 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 169.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6969384 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 69.49, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17606854 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.892, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "138772077 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.243, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.876, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "307232139 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "43396560 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 79.38, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14333457 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 92.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13012905 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 164.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7013810 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 107.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12104238 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 370.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3198375 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 99.54, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12343993 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 324.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3743594 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.986, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "304917614 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.659, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "252209359 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.255, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "366277208 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.594, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "216145268 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.326, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "139087824 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "133500679 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 91.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12837976 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10327813 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3892, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 60.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21190570 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "c12b233a5ddcf3b2140ecb928adde7a8908f2600", "message": "🐛 [Bug]: Mounted subapps don't work correctly if parent app attached additional middlewares after mounting (v2.40.1 bug) #2233", "timestamp": "2023-02-18T19:13:55+01:00", "tree_id": "2f298834770948a951c1f142f66f6c331c35a50d", "url": "https://github.com/gofiber/fiber/commit/c12b233a5ddcf3b2140ecb928adde7a8908f2600" }, "date": 1676744722624, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1235, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "834320 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3663, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "313020 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3717, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "309205 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 150.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7726306 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 71.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16845806 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 96.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16604802 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 53.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22456878 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 215.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5596515 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 273.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4207144 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.817, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "424606756 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 957.5, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1242253 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 746.8, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1613355 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2590, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "427994 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1378, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "788349 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1238, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "872539 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 119, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10248370 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 141.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8419278 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 145.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10157612 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 301.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3948770 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1850, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "624072 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 494, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2434836 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 113.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10549548 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 141.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "8399424 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 215.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5577468 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 203.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5888119 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 396.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3031338 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 36.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32531686 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 80.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14904116 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.45, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26264211 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 46.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25694691 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 644.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1854960 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16647282 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 298.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4000044 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4341, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "266539 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "83025848 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 129.9, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "9095368 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 283.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4177333 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 392.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3048726 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2238, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "501043 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 143.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7913703 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1238, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "877375 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 244, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4932844 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 737.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1561261 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 792.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1501405 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 780.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1536531 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 774, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1552585 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 183.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6465223 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224642090 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 54.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21926659 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26773962 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 100, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11934056 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 107.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10978374 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 38, "unit": "ns/op\t 71 B/op\t 0 allocs/op", "extra": "26410809 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 140.2, "unit": "ns/op\t 88 B/op\t 1 allocs/op", "extra": "8446704 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 48.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24360493 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.317, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128863542 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3892, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "294720 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3389, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "338754 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4246, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "272589 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4246, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "275354 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1195, "unit": "ns/op\t 796 B/op\t 8 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3666, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "313093 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3723, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "307420 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 140.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8424990 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 44.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25869896 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 57.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20737568 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298140477 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.051, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "169385172 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.827, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "204203932 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 892.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1341462 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 883.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1229803 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 164.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7253575 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 147.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8086286 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 616.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1943426 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 619.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1941415 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 657362, "unit": "ns/op\t 373005 B/op\t 5608 allocs/op", "extra": "1774 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13059079 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44874098 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.334, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373099734 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.799, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "427126990 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 150.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8014485 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 227.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5403902 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 151.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7834340 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 246674, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4735 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 219986, "unit": "ns/op\t 24537 B/op\t 1000 allocs/op", "extra": "5418 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177504, "unit": "ns/op\t 699 B/op\t 0 allocs/op", "extra": "6711 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 490.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2448787 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 418.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2861638 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 797.4, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1509148 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 530.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2275936 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1811, "unit": "ns/op\t 310 B/op\t 7 allocs/op", "extra": "846826 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2251, "unit": "ns/op\t 586 B/op\t 7 allocs/op", "extra": "656474 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1427, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "806740 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1839, "unit": "ns/op\t 354 B/op\t 5 allocs/op", "extra": "879330 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1894, "unit": "ns/op\t 341 B/op\t 5 allocs/op", "extra": "931970 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 122, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9867568 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 103.7, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10971883 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.58, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24307951 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.23, "unit": "ns/op\t 675.96 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62398072 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.08, "unit": "ns/op\t 301.78 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27671293 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 708.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1689792 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 128.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9375847 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 498.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2414212 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 334, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3588723 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 368.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3220069 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 709.4, "unit": "ns/op\t 14 B/op\t 1 allocs/op", "extra": "1701460 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 413.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2878018 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 770.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1578014 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23559, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50270 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24692, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50467 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18183159 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 141.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8530960 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28948930 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 156.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7635307 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59613703 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.77, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55219708 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.99, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58272890 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.34, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51208794 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.36, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40024016 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38031366 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12436700 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10294359 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.78, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17934238 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 442.2, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2706162 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39235430 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8073, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.36, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43776783 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "746001288 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.97, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35344522 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 76.41, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15494494 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 81.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14796297 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 149.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8068898 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.75, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17596954 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149467569 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995216482 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298478007 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "43775690 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 71.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16625496 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11653146 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8332846 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 104, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11451344 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 377.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3230811 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 81.87, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14510828 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 315.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3799248 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.151, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "377520171 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.443, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270215004 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.641, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324375984 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.971, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200331664 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.039, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149206845 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.291, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144307011 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12351802 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 119.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10031656 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4255, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21895377 times\n2 procs" } ] }, { "commit": { "author": { "email": "jgcalderonperez@protonmail.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "committer": { "email": "jgcalderonperez@protonmail.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "distinct": true, "id": "192a495248106bfd7f026677ce3b53fb16c2360c", "message": "Add support for DoDeadline and DoTimeout. Expand unit-tests", "timestamp": "2023-02-19T21:15:17-08:00", "tree_id": "46b2ac9907efb12f92a70e7734247f33e4297a28", "url": "https://github.com/gofiber/fiber/commit/192a495248106bfd7f026677ce3b53fb16c2360c" }, "date": 1676870797121, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 913.2, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1489119 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6293, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "188736 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6460, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "181819 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 185.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6522450 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 72.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17146612 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 92.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12834960 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 70.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17032026 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 268.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4477410 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 332.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3610466 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.203, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373450321 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1239, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "940722 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 875.8, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1365560 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3117, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "341420 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1591, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "692569 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1409, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "787310 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 148.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7826632 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 177.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6649006 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 149.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8215239 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 381.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3071306 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2446, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "411272 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 632.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1908931 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 149.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7765518 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 188.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5948210 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 268.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4360382 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 257.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4648564 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 480.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2492676 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 49.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24378504 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 101.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12160868 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 53.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21830847 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 61.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19373839 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 779.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1524786 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 84.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13446993 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 365, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3246860 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5078, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "227068 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "66562429 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 184.8, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6424186 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 355.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3342262 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 481.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2445842 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2978, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "373876 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 170.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6691978 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1560, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "715470 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 294.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4073749 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 902.7, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1297730 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1000, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 907.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1307148 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 871.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1358443 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 224.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5400284 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.347, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "188572435 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 70.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16977890 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 55.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20880928 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 128.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9400334 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 134.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9005304 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 60.4, "unit": "ns/op\t 68 B/op\t 0 allocs/op", "extra": "17613642 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 191.2, "unit": "ns/op\t 81 B/op\t 1 allocs/op", "extra": "5983128 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 61.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19676456 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4755, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "240909 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3969, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "298749 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5272, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "226491 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5347, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "207224 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1494, "unit": "ns/op\t 785 B/op\t 8 allocs/op", "extra": "788450 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6391, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "188360 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6498, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "180486 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 172.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6814936 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 57.82, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20690768 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 73.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16974543 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.528, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "265731745 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.322, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "194931972 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.846, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "209599142 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1086, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1090, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 200.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5679022 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 190.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6284602 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 663.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1799078 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 661, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1815889 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 831561, "unit": "ns/op\t 373008 B/op\t 5608 allocs/op", "extra": "1357 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 118.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10837989 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 30.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38005137 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "287237484 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.246, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "368453955 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 190.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6285162 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 258.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4741966 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 189.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6321709 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 305221, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3555 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 255673, "unit": "ns/op\t 24614 B/op\t 1000 allocs/op", "extra": "4749 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 195836, "unit": "ns/op\t 734 B/op\t 0 allocs/op", "extra": "6049 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 610.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1868139 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 509.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2409387 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 978.1, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1253870 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 621.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1934686 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2355, "unit": "ns/op\t 325 B/op\t 7 allocs/op", "extra": "724369 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2624, "unit": "ns/op\t 582 B/op\t 7 allocs/op", "extra": "682718 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1622, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "683728 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2069, "unit": "ns/op\t 271 B/op\t 5 allocs/op", "extra": "698649 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2030, "unit": "ns/op\t 259 B/op\t 5 allocs/op", "extra": "785671 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 147.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7975785 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 131.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9264199 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 61.53, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19471501 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 22.99, "unit": "ns/op\t 565.37 MB/s\t 0 B/op\t 0 allocs/op", "extra": "46056386 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 52.26, "unit": "ns/op\t 248.74 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23189161 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 852.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1427296 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 161.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7410148 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 591.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2050272 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 396.1, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3137611 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 453.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2686700 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 818.9, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1426881 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 516.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2306694 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 924.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1277510 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 29034, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "41509 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 28120, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "42051 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 72.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16337346 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 158, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7420448 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 57.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20959659 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 181.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6549542 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.64, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47569831 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 24.84, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46798958 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 22.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53528487 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 24.72, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44543973 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 32.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34385002 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 35.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33124406 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 119.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10003092 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 130.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9309516 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 80.21, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14346493 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 590.9, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1990878 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 40.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32203068 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.9262, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 31.87, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33571399 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 2.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "538822678 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.48, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "28548318 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 98.27, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12396874 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 96.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12734077 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 195.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6140494 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 81.51, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14964894 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "122681758 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.405, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "854222428 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.406, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "271626237 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 30.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39803031 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 86.51, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13589319 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 108.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10828689 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 173.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6718710 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 115, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10221914 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 414.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2833910 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 103.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11447215 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 373.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3188770 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.429, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "271175318 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.267, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "218278423 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.615, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331749295 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.183, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "193289758 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130237917 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.962, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "120237049 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12194863 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 135.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9147360 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4526, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 66.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17631787 times\n2 procs" } ] }, { "commit": { "author": { "email": "jgcalderonperez@protonmail.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "committer": { "email": "jgcalderonperez@protonmail.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "distinct": true, "id": "c871cb7955282fa2e5e5d78fd00e85db1e9a382b", "message": "Fix linter errors\n\nSigned-off-by: Juan Calderon-Perez ", "timestamp": "2023-02-19T21:23:06-08:00", "tree_id": "1baa3f746f6b3db8c38b4d76b85fab8408f8460b", "url": "https://github.com/gofiber/fiber/commit/c871cb7955282fa2e5e5d78fd00e85db1e9a382b" }, "date": 1676871249296, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1596, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "821397 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3661, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "310750 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3736, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "307946 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 150.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7942610 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 52.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23028178 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 72.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16327557 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 52.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22898852 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 214.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5573605 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 281.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4184944 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.818, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426440024 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 961.3, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1247019 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 739.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1613372 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2590, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "428395 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1381, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "784916 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1250, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "878114 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 117.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10214810 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 142.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8429678 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 123.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9662008 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 301.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3977828 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1887, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "590521 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 494.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2422321 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 113.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10610284 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 143.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "8321534 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 220.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5464736 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 199.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5970205 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 399.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3012828 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 36.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31973784 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 80.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14946277 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27006585 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 43.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27077828 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 643.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1862352 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16716938 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 295.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3950701 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4360, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "268491 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "83013758 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 133.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8865620 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 283.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4172874 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 391.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3047600 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2260, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "515364 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 142.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8129527 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1193, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "883252 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 236.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5066964 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 743.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1595984 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 790.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1518826 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 775.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1548642 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 766.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1563644 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 179.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6621271 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.326, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225314766 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 54.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22208216 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 38.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31279956 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 97.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12238270 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10875819 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 41.81, "unit": "ns/op\t 74 B/op\t 0 allocs/op", "extra": "25096411 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 145.7, "unit": "ns/op\t 93 B/op\t 1 allocs/op", "extra": "7960228 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 49.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24392532 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.295, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129124381 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3946, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "293035 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3396, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "335512 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4247, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271814 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4222, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "275828 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1233, "unit": "ns/op\t 797 B/op\t 8 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3670, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "320190 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3727, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "307580 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 140.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8413902 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 46.29, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25489936 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20345793 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.028, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297728858 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198543014 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.828, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "202686547 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 892.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1352751 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 877.2, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1372233 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 159.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7541407 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 149.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7940598 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 616.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1940028 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 615.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1946236 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 680750, "unit": "ns/op\t 372995 B/op\t 5608 allocs/op", "extra": "1765 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12592353 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44673782 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.617, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331858905 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.699, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444616656 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 148.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8067188 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 223.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5374092 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 149.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8026899 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 247542, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4771 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 219669, "unit": "ns/op\t 24543 B/op\t 1000 allocs/op", "extra": "5356 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177008, "unit": "ns/op\t 689 B/op\t 0 allocs/op", "extra": "6706 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 487.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2435839 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 413.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2890098 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 791.8, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1414701 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 526.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2274495 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2041, "unit": "ns/op\t 414 B/op\t 7 allocs/op", "extra": "870003 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2164, "unit": "ns/op\t 667 B/op\t 7 allocs/op", "extra": "856539 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1404, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "778874 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1769, "unit": "ns/op\t 356 B/op\t 5 allocs/op", "extra": "872616 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1835, "unit": "ns/op\t 341 B/op\t 5 allocs/op", "extra": "931933 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 121.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9884742 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 99.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11966052 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.1, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24680638 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.23, "unit": "ns/op\t 676.07 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62259964 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.04, "unit": "ns/op\t 302.07 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27776281 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 706.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1668879 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 127.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7838439 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 499.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2413027 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 330.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3595347 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 367.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3211915 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 708.2, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1689225 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 411.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2895777 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 803.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1442128 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23681, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51016 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23403, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50660 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18198600 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 141.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8448762 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28964215 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 155.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7651266 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57464340 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.63, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54384744 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.88, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58764427 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51702058 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.44, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40345518 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.71, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38448877 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12430915 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10316959 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.07, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18148700 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 441.8, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2709456 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39156468 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8035, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.18, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44569416 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.608, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "746143588 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.76, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36093410 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 75.77, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15457942 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 76.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15767234 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 154.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7762486 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.84, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18097654 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.068, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149798018 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "994943884 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298653304 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44868211 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 70.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16667450 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11664358 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8436692 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 103.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11615425 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 360.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3318319 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 80.93, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14954467 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 314.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3838932 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.218, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372884450 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.434, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270408199 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.625, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330825812 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199878374 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149297204 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.328, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144196388 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12352844 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10330334 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.427, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21922380 times\n2 procs" } ] }, { "commit": { "author": { "email": "jgcalderonperez@protonmail.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "committer": { "email": "jgcalderonperez@protonmail.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "distinct": true, "id": "f25e3b5d86e822b53aa1021b3e8393c9827dd5ae", "message": "Add examples for Proxy Middleware", "timestamp": "2023-02-19T21:31:31-08:00", "tree_id": "2150725b9265aeaddd149a230ad278465babb142", "url": "https://github.com/gofiber/fiber/commit/f25e3b5d86e822b53aa1021b3e8393c9827dd5ae" }, "date": 1676871763777, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1336, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "893376 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 4154, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "295964 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3706, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "312398 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 150.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7990074 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 52.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22854826 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 73.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16444070 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 52.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22623361 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 215.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5531362 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 281.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4305198 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.853, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426189788 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 953.3, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1253944 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 738.2, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1624189 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2571, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "433180 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1373, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "785136 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1237, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "890056 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 116.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10214797 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 147.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8076595 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 123.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9504570 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 311, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3896604 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1833, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "632096 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 497.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2425448 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 114, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10379362 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 143.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "8409285 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 218.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5445580 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 198.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5976334 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 395.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3028291 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 36.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32871429 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 81.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14785944 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.68, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26964418 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 48.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24730563 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 641.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1877421 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 72.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16613668 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 295.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4043334 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4322, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "266392 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "83203518 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 131.9, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8963406 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 284.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4249710 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 387.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3087687 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2265, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "517528 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 142.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8085477 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1188, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "882866 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 235.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5088048 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 744.9, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1608189 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 787, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1516833 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 769.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1552575 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 768.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1561858 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 178.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6656360 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.326, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225192460 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 54.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21862260 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28228107 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 101.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11873958 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10831575 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 35.5, "unit": "ns/op\t 66 B/op\t 0 allocs/op", "extra": "28209840 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 141.5, "unit": "ns/op\t 88 B/op\t 1 allocs/op", "extra": "8435745 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 49.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23976147 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.342, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129030475 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3928, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "290817 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3398, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "336340 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4258, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "274876 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4268, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "270152 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1227, "unit": "ns/op\t 794 B/op\t 8 allocs/op", "extra": "902454 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3663, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "315822 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3717, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "309133 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 139.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8561380 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 46.01, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25771875 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20236926 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.028, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298038586 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.028, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199006064 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.144, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198734527 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 887.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1353088 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 870.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1377058 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 158.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7575487 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 148.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7858890 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 614.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1963923 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 613.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1936498 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 652395, "unit": "ns/op\t 373016 B/op\t 5608 allocs/op", "extra": "1753 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11793270 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45083760 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.617, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331698214 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.699, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444452692 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 149.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7970252 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 226.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5399134 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 149.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7985485 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 246438, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4393 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 220210, "unit": "ns/op\t 24568 B/op\t 1000 allocs/op", "extra": "5373 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177185, "unit": "ns/op\t 699 B/op\t 0 allocs/op", "extra": "6705 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 487.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2458874 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 414, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2893416 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 819.4, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1519449 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 522.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2286578 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2034, "unit": "ns/op\t 416 B/op\t 7 allocs/op", "extra": "861576 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2159, "unit": "ns/op\t 662 B/op\t 7 allocs/op", "extra": "866841 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1403, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "911959 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1790, "unit": "ns/op\t 347 B/op\t 5 allocs/op", "extra": "906010 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1844, "unit": "ns/op\t 341 B/op\t 5 allocs/op", "extra": "932764 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 121.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9849548 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 103.6, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11524328 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 47.91, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24727836 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.23, "unit": "ns/op\t 676.13 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62240650 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.09, "unit": "ns/op\t 301.70 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27714355 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 700.3, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1548261 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 128.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9179281 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 498.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2406819 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 332, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3607539 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 368.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3242278 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 702.9, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1722345 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 415.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2895326 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 776.3, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1570623 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23182, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50892 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23195, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51067 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18200341 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 141.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8470695 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28973904 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 160.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7711540 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57970482 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.63, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54436148 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.85, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58968657 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.64, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51118513 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.29, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40038176 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.65, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38381353 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12442128 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10327118 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.23, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18062244 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 439.8, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2719797 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39310634 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.02, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44159331 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.607, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "745877785 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.58, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35377195 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 76.16, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15442800 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 73.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16371422 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 152.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7974240 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.91, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18072171 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.055, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "148571457 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "991736536 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298495699 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "43994960 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 69.78, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16813822 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11688858 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8482069 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 103.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11470328 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 358.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3329149 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 80.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14738978 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 310.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3858528 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.253, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372952369 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.431, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "269795031 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.625, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331407541 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199729135 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.039, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149324534 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.305, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "139837506 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12368036 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10313167 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.426, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21916574 times\n2 procs" } ] }, { "commit": { "author": { "email": "rwdevenney@gmail.com", "name": "Ryan Devenney", "username": "ryand67" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "b634ba0a58315308f488a4a5a920d46f095465fc", "message": "fix cors * behavior #2338 (#2339)\n\n🐛- fix cors * behavior #2338", "timestamp": "2023-02-20T22:36:34+01:00", "tree_id": "71473f0e2f4afd6c0da579e9bfb5d0ba5dc8c9a9", "url": "https://github.com/gofiber/fiber/commit/b634ba0a58315308f488a4a5a920d46f095465fc" }, "date": 1676929662029, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1533, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "780439 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3702, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "276764 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3776, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "297981 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 148.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7874523 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 51.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21791275 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 72.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16762502 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 52.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22257416 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 215.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5626755 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 279.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3971994 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.819, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426083346 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 977, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1209346 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 768.8, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1570920 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2722, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "434662 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1430, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "792709 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1300, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "876318 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 118.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10179780 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 147.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8268777 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 119.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10008330 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 301.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3856119 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1888, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "585164 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 489.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2435298 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 113.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10480491 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 148.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "8047641 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 230.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5317719 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 211.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5817040 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 407.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2926237 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 37.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32592534 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 80.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14828863 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 43.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27194470 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 45.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25076949 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 648.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1856810 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16767126 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 313.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3874518 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4447, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "255601 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82762381 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 135, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8900198 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 292.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4187672 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 397, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3033880 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2366, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "507158 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 145.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7986253 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1229, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "871260 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 249.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4903624 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 772, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1501881 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 831.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1468549 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 820.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1435086 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 810.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1479049 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 185.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6467737 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224404773 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 54.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22241956 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25922676 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 100.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11917344 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 107.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11256841 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 38.97, "unit": "ns/op\t 69 B/op\t 0 allocs/op", "extra": "27090490 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 143.8, "unit": "ns/op\t 93 B/op\t 1 allocs/op", "extra": "7921987 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 48.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24560024 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.298, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128933692 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3981, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "293214 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3459, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "304897 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4377, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271005 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4374, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269251 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1273, "unit": "ns/op\t 801 B/op\t 8 allocs/op", "extra": "993866 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3818, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "312901 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3963, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "279370 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 157.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6913581 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 47.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25839495 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 57.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19740753 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.024, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298142167 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.041, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "170474520 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.901, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "203336518 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 907.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1334588 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 879.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1352976 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 164.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6950000 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 151.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7980414 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 617.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1931229 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 623.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1944090 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 692001, "unit": "ns/op\t 373009 B/op\t 5608 allocs/op", "extra": "1635 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 92.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12753855 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46409300 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.218, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372992814 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.809, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "424745389 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 149.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8015506 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 224.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5174312 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 149.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8067968 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 250271, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4767 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 223902, "unit": "ns/op\t 24563 B/op\t 1000 allocs/op", "extra": "4868 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 176928, "unit": "ns/op\t 697 B/op\t 0 allocs/op", "extra": "6738 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 490.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2436133 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 493.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2450254 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 412.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2896605 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 798.7, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1504970 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 525.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2289637 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1827, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "831085 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2038, "unit": "ns/op\t 560 B/op\t 7 allocs/op", "extra": "828246 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1414, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "834316 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1595, "unit": "ns/op\t 252 B/op\t 5 allocs/op", "extra": "847060 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1794, "unit": "ns/op\t 339 B/op\t 5 allocs/op", "extra": "943778 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 121.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9886368 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 101.3, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11711608 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.51, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24162338 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.23, "unit": "ns/op\t 675.88 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62318856 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.07, "unit": "ns/op\t 301.82 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27997416 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 718.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1653508 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 128.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9317718 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 514.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2367675 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 338, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3591759 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 369.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3242454 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 707.6, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1683225 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 416.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2879342 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 775, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1515472 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23733, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49122 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24797, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50832 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17581290 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 141.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8446105 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28921724 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 160.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7632159 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.57, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56452700 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 21.02, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53517124 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.22, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58214773 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.34, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50953704 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.81, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37680452 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 30.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37933446 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12420134 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 149.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10304688 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.37, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "15452536 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 446, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2665162 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38634949 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8037, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43500358 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "745846135 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 33.03, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34084279 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 78.41, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15466834 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 67.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17577754 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 148.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8088572 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.87, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17743765 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.027, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147874497 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995182965 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "289219778 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44781673 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 71.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16423047 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11683712 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 143, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8228978 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 106.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11059815 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 371.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3172972 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 81.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13698411 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 319.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3703603 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.166, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "371772444 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.441, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "245298940 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.636, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330576597 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.977, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "201186628 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.046, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149239299 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.314, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144854634 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12360616 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10310629 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4268, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21877317 times\n2 procs" } ] }, { "commit": { "author": { "email": "835733+gaby@users.noreply.github.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "dc038d8233b486960a87d30253d4a888e376ff0b", "message": "Feature: Add DoRedirects, DoTimeout and DoDeadline to Proxy middleware (#2332)\n\n* Add support for DoRedirects\n\nSigned-off-by: Juan Calderon-Perez \n\n* Fix linter issues\n\nSigned-off-by: Juan Calderon-Perez \n\n* Add example to README\n\n* Add support for DoDeadline and DoTimeout. Expand unit-tests\n\n* Fix linter errors\n\nSigned-off-by: Juan Calderon-Perez \n\n* Add examples for Proxy Middleware\n\n---------\n\nSigned-off-by: Juan Calderon-Perez ", "timestamp": "2023-02-24T15:09:00+01:00", "tree_id": "9f101933ef642c64bcf41d05e08a1121de159f6c", "url": "https://github.com/gofiber/fiber/commit/dc038d8233b486960a87d30253d4a888e376ff0b" }, "date": 1677248421924, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 658.2, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1888722 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5377, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "216478 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5327, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "219175 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 166, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7530806 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 59.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20482264 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 80.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15231896 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 61.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19797510 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 228.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5342265 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 275.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4052683 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.724, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "437659298 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1029, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 721.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1645100 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2621, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "396610 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1309, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "777880 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1176, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "875228 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 125, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9598800 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 147.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8142760 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 126.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9507100 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 315, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3878485 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2183, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "521427 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 536.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2271903 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 126.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9503757 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 156.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7608250 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 220.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5314371 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 214.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5622201 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 392.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3010675 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 41.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29056676 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 83.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14396116 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 44.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25916056 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 46.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25909174 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 637.2, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1834434 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16978042 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 302.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3826412 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4226, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "280524 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "78932209 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 152.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7893127 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 293.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4106383 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 389.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3052034 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2577, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "516208 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 147.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8146818 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1307, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "795844 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 248.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4870077 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 721.9, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1635488 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 836.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1364763 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 829.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1441950 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 800.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1491693 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 191.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6225375 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "223299117 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20179480 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27852105 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 98.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12178252 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10908607 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 55.47, "unit": "ns/op\t 78 B/op\t 0 allocs/op", "extra": "19043900 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 166.2, "unit": "ns/op\t 84 B/op\t 1 allocs/op", "extra": "7181422 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 51.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20296010 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.314, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130654622 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3846, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "290325 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3147, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "352306 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4404, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "266503 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4316, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "263884 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1360, "unit": "ns/op\t 802 B/op\t 8 allocs/op", "extra": "946112 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5094, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "225794 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5327, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "223515 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 144.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7855708 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 47.08, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25575145 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20361441 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.876, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322282317 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.216, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "232647930 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.735, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "248037776 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 895.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1327479 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 901, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1340394 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 170.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7010808 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 160.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7280001 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 592.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2021220 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 606, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2017503 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 722809, "unit": "ns/op\t 373001 B/op\t 5608 allocs/op", "extra": "1628 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 97.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12750426 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46353468 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.369, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356136560 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.682, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "445926517 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 157.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7484434 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 222.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5650227 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 157.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7689798 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 255903, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4557 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 210044, "unit": "ns/op\t 24565 B/op\t 1000 allocs/op", "extra": "5780 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162364, "unit": "ns/op\t 699 B/op\t 0 allocs/op", "extra": "7326 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 513.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2317723 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 520.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2327217 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 416.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2903061 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 817.6, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1500265 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 521.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2300994 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2340, "unit": "ns/op\t 419 B/op\t 7 allocs/op", "extra": "852806 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2664, "unit": "ns/op\t 578 B/op\t 7 allocs/op", "extra": "784472 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1349, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "938484 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1758, "unit": "ns/op\t 254 B/op\t 5 allocs/op", "extra": "829824 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1875, "unit": "ns/op\t 359 B/op\t 5 allocs/op", "extra": "860740 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 129.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9171480 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 119.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10102334 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 50.42, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23717970 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.25, "unit": "ns/op\t 675.27 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62458207 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.68, "unit": "ns/op\t 297.63 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27465006 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 705.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1714117 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 133.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8748775 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 485.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2474850 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 328.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3648918 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 369.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3238908 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 695, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1778452 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 426.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2761242 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 805, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1463278 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24280, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "47714 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24769, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49096 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19415059 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 132.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8966779 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 49.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24768252 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 149.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7862182 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.1, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "62604273 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.72, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48809628 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.91, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57989324 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54096496 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 27, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41802429 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.28, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39631970 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12009310 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10914846 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 67.95, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17082386 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 489.1, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2390280 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38474132 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7546, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.51, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41510197 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.928, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "654794964 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35445363 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 79.34, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14634942 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 81.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14522965 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 166.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7204828 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.22, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18063760 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.178, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146847333 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.682, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325742986 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46345412 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 69.05, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17210200 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 86.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13866915 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 144.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8296795 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 96.26, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11793866 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 333.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3466867 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 83.52, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14071412 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 304.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3937566 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.695, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325211365 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.518, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275101302 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.095, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "387727717 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.218, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226148997 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.698, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155721454 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.582, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146141758 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 84.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14599224 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10938136 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3712, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21535166 times\n2 procs" } ] }, { "commit": { "author": { "email": "github-actions[bot]@users.noreply.github.com", "name": "github-actions[bot]", "username": "github-actions[bot]" }, "committer": { "email": "github-actions[bot]@users.noreply.github.com", "name": "github-actions[bot]", "username": "github-actions[bot]" }, "distinct": true, "id": "73e93947ba4267d63b62fdc7d9e1880ca9c52cb0", "message": "Automated Synchronization with gofiber/docs repo", "timestamp": "2023-02-24T23:43:41+03:00", "tree_id": "322c4c883a0f0777f40c7258bfbd5f68a6bfb4ee", "url": "https://github.com/gofiber/fiber/commit/73e93947ba4267d63b62fdc7d9e1880ca9c52cb0" }, "date": 1677272124873, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1904, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "615453 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7935, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "142636 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7275, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "172041 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 174.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6631452 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 70.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16508004 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 96.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13216904 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 75.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16195292 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 297, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3843836 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 366.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3173343 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.514, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "327867924 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1254, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "961012 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 909.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1317116 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3234, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "320551 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1713, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "610204 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1518, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "736502 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 156.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7678758 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 184.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7057009 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 154.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7909833 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 383, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3200414 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2676, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "413148 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 641.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1794848 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 150.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8238328 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 192.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6227226 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 291.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3942356 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 257.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4714760 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 516.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2266003 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 49.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24518037 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 104, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11695622 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 55.99, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21083769 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 54.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22380571 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 816.2, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1472554 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 89.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13505300 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 403.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2841540 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5445, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "224758 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 20.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "56446178 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 203.2, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5721104 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 398, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3077268 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 525.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2373508 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3278, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "359367 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 196.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5755623 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1544, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "681898 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 333.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3696530 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 978.9, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1228776 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 968.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1219846 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 941, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1262304 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 959.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1241756 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 252.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4616997 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.942, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "173962896 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 72.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16319995 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 50.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23091825 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 120.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9782065 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 144.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8191692 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 54, "unit": "ns/op\t 80 B/op\t 0 allocs/op", "extra": "18761982 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 206.5, "unit": "ns/op\t 97 B/op\t 1 allocs/op", "extra": "6065370 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 69.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19481140 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "98429653 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4780, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "238617 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3869, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "277441 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4818, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "233402 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4802, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "253939 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1793, "unit": "ns/op\t 817 B/op\t 8 allocs/op", "extra": "713175 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6864, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "184755 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6792, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "174694 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 176.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6340908 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 64.68, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19181194 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 72.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15753040 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "251035854 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.183, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "188736955 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.365, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "267467870 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1113, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1151, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 215.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5610042 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 206.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5815424 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 764.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1685674 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 717.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1598904 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 953740, "unit": "ns/op\t 373007 B/op\t 5608 allocs/op", "extra": "1258 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 120, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9268015 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 33.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36363430 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.333, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "257908500 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.556, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "340307866 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 206.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5793787 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 272.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4444947 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 203.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5702616 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 314670, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3968 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 288501, "unit": "ns/op\t 24625 B/op\t 1000 allocs/op", "extra": "4093 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 229727, "unit": "ns/op\t 703 B/op\t 0 allocs/op", "extra": "5190 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 640.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1870222 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 629.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1943536 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 514.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2348084 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1120, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 642.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1840492 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2708, "unit": "ns/op\t 332 B/op\t 7 allocs/op", "extra": "684020 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 3077, "unit": "ns/op\t 614 B/op\t 7 allocs/op", "extra": "614320 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1646, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "675129 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2619, "unit": "ns/op\t 300 B/op\t 5 allocs/op", "extra": "576165 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2242, "unit": "ns/op\t 264 B/op\t 5 allocs/op", "extra": "746389 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 159, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7948498 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 138.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8671591 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 66.12, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "18849296 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 25.54, "unit": "ns/op\t 509.05 MB/s\t 0 B/op\t 0 allocs/op", "extra": "46901001 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 53.13, "unit": "ns/op\t 244.69 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22827919 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 938.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1279616 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 166.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6817864 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 602.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1967109 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 419.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2921816 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 456.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2456061 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 829.5, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1421940 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 546.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2305970 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 1052, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 33748, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "35253 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 32477, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "33496 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18477380 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 192.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6659989 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 65.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18776529 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 183.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7070464 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 24.84, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48237338 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 24.43, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45543849 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.04, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49104630 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 26.22, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43796893 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 37.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32153592 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 36.53, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33175040 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 118.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10042170 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 132, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9065838 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 85.79, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13308656 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 604, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2006062 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 40.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30923960 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.9507, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 32.48, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31768249 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.945, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "620373928 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.82, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "28267117 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 105, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11720300 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 100.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12149356 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 204.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5870235 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 82.83, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14140153 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.503, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128413243 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.378, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "882900676 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.392, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230705256 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 33.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36454677 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 90.92, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "12326281 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 117.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9676665 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 188.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6358527 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 121.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9688040 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 445.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2616955 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 115.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10637524 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 370.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3141158 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.744, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "425903166 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.492, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "220970289 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.551, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "338177943 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.226, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "187668152 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.368, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125479888 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.716, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124070289 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 99.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12062661 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 126.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9371586 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4204, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 59.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19626996 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "af69fa5a56b921a02e041d45a61024a37c53e564", "message": "use another labeler", "timestamp": "2023-02-25T10:01:26+01:00", "tree_id": "f18da4818ba392464423ce64ec4f9965081bd9bc", "url": "https://github.com/gofiber/fiber/commit/af69fa5a56b921a02e041d45a61024a37c53e564" }, "date": 1677316408901, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1654, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "772172 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3653, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "302101 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3873, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "308830 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 152.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7840990 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 52.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23095554 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 72.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16158483 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 53.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22613157 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 214.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5604967 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 274.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4199572 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.815, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "425655960 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 958.6, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1252857 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 740.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1596486 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2592, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "428518 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1388, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "785239 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1245, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "882138 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 117.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10252620 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 141.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8443123 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 118.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10134394 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 302, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3977161 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1839, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "598929 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 493.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2422551 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 113.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10605217 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 143.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "8375608 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 215.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5550922 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 203.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5876488 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 396.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3021276 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 36.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31933484 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 80.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14995220 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.09, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27389581 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 46.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25835306 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 644.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1868943 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17221875 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 302, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3877563 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4362, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "265297 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "83039235 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 131, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "9143540 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 280.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4250899 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 390.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3053361 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2243, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "514772 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 143.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7990128 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1180, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "898083 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 241.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4941030 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 734.6, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1633346 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 787.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1523886 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 773.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1549472 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 765.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1571077 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 181.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6520562 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.332, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225183055 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 54.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22153449 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27357432 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 100.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11909168 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 107.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11108922 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 43.89, "unit": "ns/op\t 80 B/op\t 0 allocs/op", "extra": "23236880 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 147.9, "unit": "ns/op\t 91 B/op\t 1 allocs/op", "extra": "8178088 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 50.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24584698 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.304, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129083002 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3879, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "295309 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3378, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "343329 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4212, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "276654 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4208, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "273979 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1182, "unit": "ns/op\t 797 B/op\t 8 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3724, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "316138 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3702, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "311466 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 139.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8545958 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 44.52, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26363107 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 57.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20294160 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.025, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298059242 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.058, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "160279520 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.932, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "208219652 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 881.1, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1357155 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 872.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1373684 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 165.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7254795 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 149.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7980087 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 612.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1944951 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 610.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1963725 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 672950, "unit": "ns/op\t 372993 B/op\t 5608 allocs/op", "extra": "1773 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 93.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12387582 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "43858068 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.214, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373329510 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.802, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "432625677 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 151.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7998832 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 222.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5298109 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 150.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7934671 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 247401, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4754 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 218875, "unit": "ns/op\t 24596 B/op\t 1000 allocs/op", "extra": "5418 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177493, "unit": "ns/op\t 703 B/op\t 0 allocs/op", "extra": "6710 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 479.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2502888 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 485.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2469733 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 412.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2888800 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 787.6, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1522936 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 522.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2184237 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1818, "unit": "ns/op\t 312 B/op\t 7 allocs/op", "extra": "824598 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2070, "unit": "ns/op\t 557 B/op\t 7 allocs/op", "extra": "834268 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1467, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "875193 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1818, "unit": "ns/op\t 353 B/op\t 5 allocs/op", "extra": "885213 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1860, "unit": "ns/op\t 344 B/op\t 5 allocs/op", "extra": "920163 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 123.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9789963 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 100.1, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11618136 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.28, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24512805 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.22, "unit": "ns/op\t 676.54 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61895799 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 49.11, "unit": "ns/op\t 264.72 MB/s\t 0 B/op\t 0 allocs/op", "extra": "28011775 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 703.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1704837 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 128.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9317848 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 497.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2412734 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 329.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3635736 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 367.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3222478 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 704.7, "unit": "ns/op\t 14 B/op\t 1 allocs/op", "extra": "1713096 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 416.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2881446 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 717.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1512385 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23422, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50028 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23320, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51168 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18201498 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 140.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8492932 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28974074 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 154.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7723519 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.45, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60411340 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53234410 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.89, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58846254 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.68, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50823098 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40232560 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.52, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38596522 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12447817 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10300414 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.26, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17949522 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 439.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2724523 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39036853 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8042, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.17, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44342133 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.607, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "744683970 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.57, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36079621 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 75.1, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15650656 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 75.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15910771 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 150.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7967308 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.68, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18213432 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "148013694 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995913244 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.016, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298289341 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45554282 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 70.14, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16762860 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11668689 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8437153 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 102.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11580394 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 361.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3328675 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 81.05, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14474733 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 310.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3830622 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "371316614 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.439, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "271094625 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.639, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "327366567 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.079, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199193222 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.033, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149322124 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.324, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144115696 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12382441 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10338433 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4222, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21869680 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "89d0340fcb1b9475a3c587983464c5ba1ad794f7", "message": "Merge remote-tracking branch 'origin/master' into subapps_mounting_bug", "timestamp": "2023-02-25T10:01:56+01:00", "tree_id": "abd4c27503d262c27fc9a77d7c6217bb8eadc06a", "url": "https://github.com/gofiber/fiber/commit/89d0340fcb1b9475a3c587983464c5ba1ad794f7" }, "date": 1677316432068, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1410, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "749964 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5307, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "225496 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5314, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "223136 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 159.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7525226 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 57.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20837851 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 77.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15422738 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 59.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19919707 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 221.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5408386 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 269.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4435292 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.678, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "448012869 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 997.3, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1208138 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 705.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1690776 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2557, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "439281 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1288, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "816568 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1154, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "929899 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 124.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9589117 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 150.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7968148 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 126.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9500122 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 309, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3878623 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2062, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "523996 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 527.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2273468 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 122.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9668403 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 155.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7609995 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 217.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5447698 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 212.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5614155 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 389.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3079446 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 41.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29240065 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 83.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14274247 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 44.49, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25676676 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 44.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26755855 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 637.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1872290 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17153022 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 296.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4021372 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4202, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "275527 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "78876763 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 151.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7725800 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 292.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4128674 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 394.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3039756 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2431, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "453702 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 144, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7870051 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1333, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "801177 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 242.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4962086 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 712.8, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1669528 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 827.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1441102 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 825.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1463641 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 796.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1504437 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 188.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6420488 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.343, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224276942 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20622079 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 41.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28135246 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 97.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12270309 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10849740 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 50.54, "unit": "ns/op\t 65 B/op\t 0 allocs/op", "extra": "22916856 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 171.4, "unit": "ns/op\t 86 B/op\t 1 allocs/op", "extra": "6989944 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 51.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23079020 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.188, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130683516 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3804, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "285946 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3137, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "360688 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4270, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "266395 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4283, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271917 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1304, "unit": "ns/op\t 789 B/op\t 8 allocs/op", "extra": "919012 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5169, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "227114 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5230, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "219020 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 138, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8594925 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 45.97, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25452662 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20645953 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.719, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "321953968 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238276857 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.734, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253911822 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 911.1, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1318838 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 910, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1317890 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 172.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6945589 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 158.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7554549 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 607, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1991443 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 606.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2003724 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 685054, "unit": "ns/op\t 373000 B/op\t 5608 allocs/op", "extra": "1614 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 93.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12912823 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46436478 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.359, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356579274 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.696, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447046564 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 159.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7505083 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 212.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5636251 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 163.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7466395 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 258327, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4530 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 209222, "unit": "ns/op\t 24561 B/op\t 1000 allocs/op", "extra": "5816 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162291, "unit": "ns/op\t 670 B/op\t 0 allocs/op", "extra": "7342 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 508.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2351900 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 507.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2341576 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 413.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2898115 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 813.6, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1484323 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 522.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2283121 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2098, "unit": "ns/op\t 315 B/op\t 7 allocs/op", "extra": "797299 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2333, "unit": "ns/op\t 592 B/op\t 7 allocs/op", "extra": "756667 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1374, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "917592 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1750, "unit": "ns/op\t 256 B/op\t 5 allocs/op", "extra": "813949 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1810, "unit": "ns/op\t 252 B/op\t 5 allocs/op", "extra": "850658 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 123.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9728175 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 111.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10756868 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 50.42, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23566821 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.26, "unit": "ns/op\t 675.14 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62524165 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.71, "unit": "ns/op\t 297.43 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27481123 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 704.1, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1703832 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 131.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9140842 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 477.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2513275 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 322.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3737636 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 369.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3220795 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 694.3, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1707745 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 411.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2889087 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 819.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1495296 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23741, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50056 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23646, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50522 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19537747 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 130.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9154480 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 48.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24634576 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 145.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8236646 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58768790 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.17, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54653956 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.43, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60250058 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53612043 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 26.95, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41913495 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38684931 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12003470 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10916402 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 68.15, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17177293 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 488.4, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2448607 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38459650 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7536, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.03, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40609638 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.944, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "618433017 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.91, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34599388 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.88, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14971178 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 81.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14742771 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 163.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7340936 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.33, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17470381 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.157, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147098245 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.683, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325572685 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46902752 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 68.83, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17067667 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 86.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13868054 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8448670 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 96.54, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12487040 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 332.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3562195 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 83.99, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14136993 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 294.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4054108 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325122325 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.362, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274395568 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.016, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "398307513 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.192, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231327033 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.704, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155771828 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.125, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "145099059 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14683473 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10959163 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3714, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21516031 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "M. Efe Çetin", "username": "efectn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "b3643198f8e9a8126b2681afdd374cc4ff7219b2", "message": ":memo: docs: automated synchronization with `gofiber/docs` (#2344)\n\nAutomated Synchronization with gofiber/docs repo", "timestamp": "2023-02-25T10:29:07+01:00", "tree_id": "fbeca6b103b4a6d9f3bb41049d23817664c9dfba", "url": "https://github.com/gofiber/fiber/commit/b3643198f8e9a8126b2681afdd374cc4ff7219b2" }, "date": 1677318026637, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1584, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "682069 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5245, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "194491 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5307, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "221131 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 155.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7711423 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 57.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21021396 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 77.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15605100 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 59.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20092362 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 223.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5371016 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 270, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3759456 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "443210484 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1012, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 709.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1696818 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2553, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "438048 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1301, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "829849 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1167, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "936472 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 124.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9597264 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 150.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7994316 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 126.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9521353 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 311.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3844380 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2064, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "572774 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 529.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2272287 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 122.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9776042 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 155.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7668928 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 218.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5426386 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 213.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5593363 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 389.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3060916 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 41.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29115339 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 83.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14463183 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 44.08, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25429138 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 45.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25983606 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 639.7, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1880940 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16997512 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 300.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4037514 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4206, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "277666 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "78919398 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 148.9, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7920230 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 293.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4066894 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 396, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3050350 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2372, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "461678 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 145.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7917325 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1315, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "794623 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 241.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4962637 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 719, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1666560 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 841.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1430898 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 827, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1443579 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 791.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1497403 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 186.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6406398 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224916628 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20682444 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27724294 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 98.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12144909 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10892206 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 41.41, "unit": "ns/op\t 68 B/op\t 0 allocs/op", "extra": "27335044 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 162.3, "unit": "ns/op\t 85 B/op\t 1 allocs/op", "extra": "7031179 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 51.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23254574 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.178, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130719320 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3870, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "295750 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3163, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "352590 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4372, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "275988 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4290, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "261276 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1283, "unit": "ns/op\t 790 B/op\t 8 allocs/op", "extra": "922939 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5165, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "225319 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5166, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "226676 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 140.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8407182 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 45.94, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25516086 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20110672 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.725, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322493953 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.035, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238356979 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.738, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254421030 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 900.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1330696 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 907.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1314916 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 169.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7067053 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 156.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7647674 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 597.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1996477 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 603.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2009454 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 707214, "unit": "ns/op\t 373000 B/op\t 5608 allocs/op", "extra": "1642 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12613569 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46767700 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.371, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "355315737 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.683, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446286746 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 157.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7612230 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 209.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5669043 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 156.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7654538 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 256986, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4550 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 208142, "unit": "ns/op\t 24561 B/op\t 1000 allocs/op", "extra": "5822 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162231, "unit": "ns/op\t 670 B/op\t 0 allocs/op", "extra": "7316 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 503.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2393467 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 506.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2336870 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 412.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2899400 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 810.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1485158 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 520.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2289526 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2042, "unit": "ns/op\t 314 B/op\t 7 allocs/op", "extra": "803271 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2277, "unit": "ns/op\t 576 B/op\t 7 allocs/op", "extra": "790675 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1377, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "918648 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1980, "unit": "ns/op\t 356 B/op\t 5 allocs/op", "extra": "872715 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1763, "unit": "ns/op\t 253 B/op\t 5 allocs/op", "extra": "838492 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 124.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9541321 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 107.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10994330 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 50.42, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "22053236 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.28, "unit": "ns/op\t 674.24 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62464082 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.74, "unit": "ns/op\t 297.19 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27486594 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 705.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1686512 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 131, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8998944 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 475.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2534268 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 322.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3753984 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 370.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3224259 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 695.2, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1737712 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 413.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2883337 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 779.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1556539 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23895, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49280 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23960, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49695 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19415613 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 130.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9228566 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 48.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24971260 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 144.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8053891 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.34, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58472481 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.55, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55999960 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.02, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60696602 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.38, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53956598 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 27.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42798181 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.65, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39472776 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12008223 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10918496 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.58, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17425395 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 489.2, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2442728 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38071168 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7533, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.94, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "46256793 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.967, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "607667832 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 33.59, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34296154 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 79.08, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14975623 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 79.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15108723 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 163.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7329274 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.11, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17593794 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.164, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146848888 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.174, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.687, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325503111 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46547346 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 68.44, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17146844 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 86.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13915526 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8335296 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 94.81, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12262585 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 338.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3546902 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 84.46, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14274488 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 304.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3940422 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324876832 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.365, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274543436 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.013, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "398227364 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.273, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226152040 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.698, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155890905 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.377, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "145065819 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14648109 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10958155 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.372, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21541664 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "M. Efe Çetin", "username": "efectn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "a1eb0e69a6f1d380e9d2515f5c42ad01ce73fda4", "message": ":memo: docs: fix example on envvar middleware", "timestamp": "2023-02-25T12:43:57+03:00", "tree_id": "df434d45249d1283ffdbb3ed5040782490f19e62", "url": "https://github.com/gofiber/fiber/commit/a1eb0e69a6f1d380e9d2515f5c42ad01ce73fda4" }, "date": 1677318913027, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1935, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "597644 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7404, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "150036 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6566, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "189376 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 187.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6810416 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 65.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17299435 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 87.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13158825 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 67.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17866506 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 258.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4784761 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 315.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3845232 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.049, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "381257110 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1232, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "955017 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 823.7, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1456419 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3000, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "407676 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1458, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "720435 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1367, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "897850 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 147.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8181778 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 169.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7330863 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 145.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7984360 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 376.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3199825 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2341, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "447906 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 631, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1985305 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 141.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8677220 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 178.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6591919 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 254.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4609329 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 259.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4856122 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 463.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2679614 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 47.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24994850 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 97.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13508551 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 52.09, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21512319 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 53.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22673848 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 780.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1533218 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 80.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14074148 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 350.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3399450 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5024, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "226801 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 17.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "68645451 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 175.4, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6891092 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 349.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3532261 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 480.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2517160 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2813, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "432805 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 168.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6883936 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1515, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "709546 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 294.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4121342 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 890, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1412676 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1002, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 965.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1213390 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 916.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1298623 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 221.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5473156 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.101, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200048575 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 65.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18376724 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 49.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24603104 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 111.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10495488 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 124.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8418178 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 58.72, "unit": "ns/op\t 80 B/op\t 0 allocs/op", "extra": "23397894 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 187.7, "unit": "ns/op\t 83 B/op\t 1 allocs/op", "extra": "5842188 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 58.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19735605 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 10.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4587, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "254197 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3665, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "311544 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4920, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "234295 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4973, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "220567 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1562, "unit": "ns/op\t 806 B/op\t 8 allocs/op", "extra": "789458 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6017, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "178912 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5957, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "198460 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 166.2, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7191538 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 53.11, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21719556 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 67.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18079351 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.247, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274448385 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.833, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "208380042 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.451, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "219688407 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1026, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1002, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 191.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6381520 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 179, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6552600 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 628.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1887568 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 623.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1940307 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 823894, "unit": "ns/op\t 373018 B/op\t 5608 allocs/op", "extra": "1430 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 108.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10855580 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 29.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39289428 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.937, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "306264385 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.087, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "393838502 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 182.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6426213 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 240, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4880322 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 179.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6451791 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 295592, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3937 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 245218, "unit": "ns/op\t 24569 B/op\t 1000 allocs/op", "extra": "4802 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 184438, "unit": "ns/op\t 694 B/op\t 0 allocs/op", "extra": "6754 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 606.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2018061 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 602.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2066703 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 473.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2488652 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 916.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1299174 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 609.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1972954 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2341, "unit": "ns/op\t 330 B/op\t 7 allocs/op", "extra": "691825 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2590, "unit": "ns/op\t 585 B/op\t 7 allocs/op", "extra": "677848 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1559, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "767536 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1886, "unit": "ns/op\t 262 B/op\t 5 allocs/op", "extra": "760492 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2041, "unit": "ns/op\t 260 B/op\t 5 allocs/op", "extra": "778371 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 146.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8111634 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 140.9, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9074949 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 60.81, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "18619586 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 23.25, "unit": "ns/op\t 559.24 MB/s\t 0 B/op\t 0 allocs/op", "extra": "51397129 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 51.01, "unit": "ns/op\t 254.87 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23911796 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 828.7, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1417407 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 154.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7691516 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 604, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2118895 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 384, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3183942 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 426.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2768202 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 788.5, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1479733 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 477.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2636685 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 929.4, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1313078 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 27881, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "41677 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 28224, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "41224 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 73.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16598252 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 149.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7892456 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 54.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21811894 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 172.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7002733 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 21.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51018633 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 22.85, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46678332 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 21.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52336428 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 23.82, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45645777 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 31.25, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36062407 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 34.22, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36566727 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 116, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10460368 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 129.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9675553 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 78.27, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "15247140 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 583.9, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2051792 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 36.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32741203 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8672, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 30.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33337015 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 2.275, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "550013958 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.74, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "25470061 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 91.61, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12651645 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 94.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12362650 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 192.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6410048 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 78.45, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15211962 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.725, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126155325 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.389, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "860620711 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.237, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "279006760 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 29.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38601943 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 83.41, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14748105 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 100.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11814082 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 170.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6285519 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 110.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10739486 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 390.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3100938 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 99.78, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12064132 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 356.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3401634 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.275, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "290924871 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.201, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "241763538 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.486, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "338774895 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.066, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "203408726 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.724, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "133032710 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.571, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126246494 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 93.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11492378 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 125.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9867931 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4175, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 62.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18816530 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "bfa8b6a22216d97152fc53d9dd4622f27de6e481", "message": "Merge remote-tracking branch 'origin/master'", "timestamp": "2023-02-25T10:44:08+01:00", "tree_id": "3d4b9425bedc7df4ca61d89c7f93b9627aad3d99", "url": "https://github.com/gofiber/fiber/commit/bfa8b6a22216d97152fc53d9dd4622f27de6e481" }, "date": 1677318932415, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1563, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "996805 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5197, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "230372 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5275, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "219054 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 155.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7694002 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 57.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20758797 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 76.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15378432 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 59.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20144865 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 222.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5382850 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 269, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4377324 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.683, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447701125 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 997.5, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1205844 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 706.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1696149 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2540, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "447062 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1283, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "817052 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1153, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "934680 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 124.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9592238 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 152.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7849042 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 126, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9507152 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 310.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3864612 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2012, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "560721 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 528.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2271324 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 122.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9744745 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 155.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7639080 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 218.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5465696 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 212.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5606670 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 389, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3083250 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 41.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28991847 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 83.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14265622 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 43.77, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26169741 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 46.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25799577 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 638.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1897189 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17151315 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 297.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4056060 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4157, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "275869 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "78669818 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 149.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7965787 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 296.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3984440 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 392.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3061172 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2358, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "484902 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 145.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7885502 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1288, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "801520 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 240, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4947138 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 715.3, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1676492 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 828.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1444784 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 820.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1400226 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 795.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1405606 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 184, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6454734 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.341, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224353429 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20605071 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27716467 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 99.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12051733 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10897309 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 49.01, "unit": "ns/op\t 72 B/op\t 0 allocs/op", "extra": "20810722 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 160.8, "unit": "ns/op\t 84 B/op\t 1 allocs/op", "extra": "7164123 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 51.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23295846 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.181, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130764916 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3842, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "291285 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3156, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "352356 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4259, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "272308 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4261, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269324 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1303, "unit": "ns/op\t 796 B/op\t 8 allocs/op", "extra": "941294 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5227, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "228823 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5252, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "219040 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 138, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8630782 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 45.91, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25594336 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20569507 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.722, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322061653 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.039, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238193472 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.721, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253251165 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 890.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1334608 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 897.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1350434 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 169, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7104501 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 154.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7798093 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 590.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2018307 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 593.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2003562 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 697261, "unit": "ns/op\t 373006 B/op\t 5608 allocs/op", "extra": "1699 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12719898 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46798005 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "357413304 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447788468 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 157.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7662566 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 212.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5579815 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 155.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7667570 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 258342, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4422 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 206023, "unit": "ns/op\t 24560 B/op\t 1000 allocs/op", "extra": "5836 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162769, "unit": "ns/op\t 697 B/op\t 0 allocs/op", "extra": "7345 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 497.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2408286 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 504.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2384973 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 413, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2905564 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 799.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1487001 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 520, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2296724 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2508, "unit": "ns/op\t 413 B/op\t 7 allocs/op", "extra": "872403 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2469, "unit": "ns/op\t 582 B/op\t 7 allocs/op", "extra": "776589 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1352, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "772142 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1927, "unit": "ns/op\t 353 B/op\t 5 allocs/op", "extra": "883870 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1991, "unit": "ns/op\t 344 B/op\t 5 allocs/op", "extra": "920313 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 127.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9544554 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 107.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11120258 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 50.1, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23576101 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.27, "unit": "ns/op\t 674.59 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62263951 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.68, "unit": "ns/op\t 297.63 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27480436 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 705.7, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1728649 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 131.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9132164 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 475, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2525366 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 323.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3738170 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 371.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3181076 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 700.3, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1726297 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 415.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2914425 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 745.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1452877 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23542, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49965 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23524, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50211 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19582892 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 129.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9180294 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 48.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25007671 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 144.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8280627 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.37, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60634374 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.47, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56544118 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.14, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60382510 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.41, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55175655 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 26.78, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42169640 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.81, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39912314 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 100.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12023442 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10932931 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 65.55, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17685750 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 484.9, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2491630 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38543875 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7531, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41426401 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.948, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "623882359 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.49, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35840182 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.06, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15330662 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 81.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14731449 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 162.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7403013 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.91, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17713603 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.164, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146910027 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.681, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325553878 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47797118 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 68.39, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17219408 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 86.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13844686 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8357445 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 94.38, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11913806 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 332.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3568489 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 80.86, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14428245 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 295.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4065392 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.692, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325176436 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274723832 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.012, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "398321613 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.191, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231184328 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.701, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155871045 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.102, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147307794 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14666636 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10844479 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3718, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21284616 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "3992cab83b45adf80eac0156d64dac8d7131008a", "message": "update proxy docs", "timestamp": "2023-02-25T10:56:10+01:00", "tree_id": "3966083f5c58daffe6e80fc8eba6170a997e669f", "url": "https://github.com/gofiber/fiber/commit/3992cab83b45adf80eac0156d64dac8d7131008a" }, "date": 1677319653544, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 628.6, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1878975 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5205, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "225176 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5259, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "220988 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 155.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7687965 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 57.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20906149 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 77.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15327277 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 59.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20207055 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 222.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5392855 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 267.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4322949 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.678, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446643916 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1004, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1211563 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 708.1, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1689351 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2546, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "421873 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1280, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "824325 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1153, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "953467 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 124.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9560175 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 150.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7988642 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 126.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9509360 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 314, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3826612 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2068, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "521978 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 527.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2274494 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 122.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9676335 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 157, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7571481 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 220.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5434191 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 212.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5551616 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 389.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3035779 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 41.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28895257 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 83.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14400308 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 44.27, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25381020 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 47.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25503524 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 633.2, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1885545 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17104316 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 294.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4057030 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4156, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "283014 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "79403862 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 149.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7880088 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 294.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4043776 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 389.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3074337 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2280, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "491716 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 145.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7871727 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1290, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "785943 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 241.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4948674 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 716.5, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1683309 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 829.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1446817 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 819.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1462874 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 795.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1514281 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 187.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6347270 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224295152 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20748661 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 44.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27042297 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 99.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12080330 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10908772 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 52.39, "unit": "ns/op\t 74 B/op\t 0 allocs/op", "extra": "20211398 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 162.4, "unit": "ns/op\t 81 B/op\t 1 allocs/op", "extra": "7488388 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 51.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22666062 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.186, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130940853 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3848, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "289302 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3152, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "361513 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4276, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271826 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4254, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "275948 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1282, "unit": "ns/op\t 788 B/op\t 8 allocs/op", "extra": "880040 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5153, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "226738 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5240, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "225123 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 137.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8638982 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 45.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25120807 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20618809 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322353786 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.033, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238190360 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.725, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253506782 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 901, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1339742 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 895.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1333581 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 168.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7028544 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 156.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7778635 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 602.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2008017 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 601.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1995060 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 683883, "unit": "ns/op\t 373006 B/op\t 5608 allocs/op", "extra": "1701 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12732284 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45958260 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "355441888 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.695, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "445218964 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 157.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7447154 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 209.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5599509 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 157, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7759537 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 257860, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4544 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 207565, "unit": "ns/op\t 24553 B/op\t 1000 allocs/op", "extra": "5805 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162347, "unit": "ns/op\t 716 B/op\t 0 allocs/op", "extra": "7156 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 500.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2404544 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 502.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2364216 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 412.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2912641 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 805, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1483430 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 521.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2284026 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2430, "unit": "ns/op\t 414 B/op\t 7 allocs/op", "extra": "872242 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2394, "unit": "ns/op\t 573 B/op\t 7 allocs/op", "extra": "796016 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1329, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "805501 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1912, "unit": "ns/op\t 350 B/op\t 5 allocs/op", "extra": "897428 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1930, "unit": "ns/op\t 344 B/op\t 5 allocs/op", "extra": "919524 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 123.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9693468 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 112.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10303452 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 50.07, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23636431 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.31, "unit": "ns/op\t 673.21 MB/s\t 0 B/op\t 0 allocs/op", "extra": "57868700 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.68, "unit": "ns/op\t 297.63 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27468554 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 697.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1712256 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 131.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9130998 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 496.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2516085 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 324.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3687508 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 370.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3235857 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 700.9, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1749432 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 410.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2913025 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 887.6, "unit": "ns/op\t 160 B/op\t 1 allocs/op", "extra": "1317549 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24336, "unit": "ns/op\t 8535 B/op\t 207 allocs/op", "extra": "50679 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23609, "unit": "ns/op\t 8535 B/op\t 207 allocs/op", "extra": "50288 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19547698 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 130.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9093237 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 48.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24989029 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 145, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8213060 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.28, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59767513 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.55, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56591205 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60313948 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.36, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55160714 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 26.72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41786101 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39339108 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12017814 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10875734 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.01, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17657818 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 488.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2458686 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38507323 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7537, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.89, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41676678 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.958, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "628644296 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.82, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35119516 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.74, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15159540 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 81.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14711544 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 161, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7419026 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.22, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18178747 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.125, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147564220 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.682, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325363544 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46974363 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 68.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16863976 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 86.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13887693 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 142.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8290177 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 96.15, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12320360 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 337.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3536121 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 82.28, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13984329 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 298.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4006107 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.693, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325125015 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.485, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274749648 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.016, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397565654 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.189, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231294200 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155822245 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.295, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144497680 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14624248 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10815752 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3716, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21357502 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "d124757c7809c406fd2ba78f02be355cc6c457cb", "message": "Update pull_request_template.md", "timestamp": "2023-02-25T11:47:42+01:00", "tree_id": "c6fd488062dc50a0e6e6f9b83d7ce909b1117fed", "url": "https://github.com/gofiber/fiber/commit/d124757c7809c406fd2ba78f02be355cc6c457cb" }, "date": 1677322736201, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1713, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "995672 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5222, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "192843 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5312, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "221424 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 156, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7713706 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 57.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20788068 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 77.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15478418 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 60.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19710530 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 222.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5388601 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 269.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3773049 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.681, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447851526 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1004, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 707.2, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1641777 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2544, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "431076 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1300, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "793435 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1155, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "927624 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 125, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9590035 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 149.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7854811 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 126.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9522382 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 313.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3803044 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1978, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "550161 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 527.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2268078 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 122.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9799579 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 155.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7564755 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 218.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5445732 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 212.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5637504 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 389.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3082156 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 41.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29143111 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 83.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14446129 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 43.85, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26401039 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 50.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23895812 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 636.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1880444 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17064951 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 293.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4011918 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4242, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "264951 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "79250370 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 150.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7926057 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 289.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4139223 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 391.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3053600 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2338, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "469467 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 145.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7890574 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1305, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "804015 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 240.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4921581 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 712.6, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1656633 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 830.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1442671 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 819.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1462065 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 789.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1515736 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 185.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6414153 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.333, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225238266 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20784259 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 46.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25915618 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 101.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11872172 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10638382 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 55.05, "unit": "ns/op\t 72 B/op\t 0 allocs/op", "extra": "20635251 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 166.1, "unit": "ns/op\t 83 B/op\t 1 allocs/op", "extra": "7243032 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 51.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23411922 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.179, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130638934 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3844, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "292293 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3153, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "366272 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4313, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "263299 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4276, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271179 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1338, "unit": "ns/op\t 794 B/op\t 8 allocs/op", "extra": "879586 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5128, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "225837 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5251, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "217077 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 138.2, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8609589 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 45.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25718517 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20573712 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.721, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "321620199 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238203166 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.715, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253509294 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 901.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1320018 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 899.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1335283 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 169.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6979138 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 156.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7529188 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 596.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2000248 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 598.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2000350 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 697284, "unit": "ns/op\t 373007 B/op\t 5608 allocs/op", "extra": "1611 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12748824 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46744792 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.357, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "357405028 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.684, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447438607 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 157.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7663452 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 214.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5651262 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 155.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7705185 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 258940, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4570 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 206361, "unit": "ns/op\t 24531 B/op\t 1000 allocs/op", "extra": "5763 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162191, "unit": "ns/op\t 644 B/op\t 0 allocs/op", "extra": "7321 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 492.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2417395 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 507.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2361346 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 413.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2913672 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 827.1, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1487977 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 521, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2296429 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2257, "unit": "ns/op\t 412 B/op\t 7 allocs/op", "extra": "876758 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2325, "unit": "ns/op\t 563 B/op\t 7 allocs/op", "extra": "819516 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1345, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "833895 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1751, "unit": "ns/op\t 360 B/op\t 5 allocs/op", "extra": "858118 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1899, "unit": "ns/op\t 351 B/op\t 5 allocs/op", "extra": "893112 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 123.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9735236 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 107.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10342180 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 50.03, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23468894 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.27, "unit": "ns/op\t 674.62 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62553991 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.68, "unit": "ns/op\t 297.60 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27457176 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 697.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1727866 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 131.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9126150 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 477.2, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2398945 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 326.1, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3660062 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 371.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3231141 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 696.6, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1757214 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 413, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2884747 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 795.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1443686 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23386, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50931 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23823, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49744 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19374387 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 130.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9103641 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 48.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24994858 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 144.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8317574 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.38, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58489096 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.55, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56757843 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.19, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59666938 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54688734 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 26.68, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42125305 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.81, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39837780 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11961066 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10816761 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.28, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17529118 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 486.2, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2464004 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37144012 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7534, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.91, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42894009 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.933, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "624669445 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.61, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34951987 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.4, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15318404 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 81.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14803670 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 160.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7480058 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.64, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18182893 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.154, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147121972 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.684, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325699173 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47757588 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 68.36, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16949766 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 86.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13915072 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8437834 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 94.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12137276 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 333.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3575374 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 83, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14423269 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 294.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4031014 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.702, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325265058 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.374, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274785610 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.013, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "398339350 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.188, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231303630 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.704, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155762226 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.391, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "143108924 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14592487 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10915339 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.372, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21556148 times\n2 procs" } ] }, { "commit": { "author": { "name": "gofiber", "username": "gofiber" }, "committer": { "name": "gofiber", "username": "gofiber" }, "id": "53d956a318a142133ed106672b60ea1eaec77230", "message": "🐛 [Bug-Fix]: Mounted subapps don't work correctly if parent app attached …", "timestamp": "2023-02-25T10:46:55Z", "url": "https://github.com/gofiber/fiber/pull/2331/commits/53d956a318a142133ed106672b60ea1eaec77230" }, "date": 1677323247217, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 639, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1935325 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3681, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "305572 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3729, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "304159 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 149.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7917813 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 51.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22817646 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 72.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16500440 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 53.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22601025 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 215.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5486140 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 275.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4100076 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.823, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "425362525 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 968.8, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1245530 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 753.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1606440 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2632, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "428330 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1396, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "783686 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1261, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "882380 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 117.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10160467 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 139.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8387157 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 118.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10143482 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 301.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4000959 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1861, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "590941 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 494.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2419188 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 114.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10522591 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 142.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "8121855 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 215.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5527959 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 203.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5848773 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 400.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2987197 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 37.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32114658 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 80.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15058713 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.82, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27145360 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 43.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26365492 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 647.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1844535 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16712005 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 302.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3847483 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4353, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "268144 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "83241738 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 130.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8918427 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 285.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4235635 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 394.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3002703 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2196, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "514341 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 145.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7970054 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1186, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "888627 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 242.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4948968 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 735.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1631040 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 789, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1513389 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 783.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1529264 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 770.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1561706 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 182.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6332266 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.333, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224491525 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 54.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22296150 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 40.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29824564 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 96.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12376938 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 107.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11086935 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 41.09, "unit": "ns/op\t 72 B/op\t 0 allocs/op", "extra": "32432826 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 140.3, "unit": "ns/op\t 91 B/op\t 1 allocs/op", "extra": "8191232 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 49.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24025856 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.326, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129026097 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3868, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "294723 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3357, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "338966 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4196, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "273667 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4199, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "275174 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1203, "unit": "ns/op\t 799 B/op\t 8 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3660, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "319969 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3718, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "309249 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 139.1, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8482282 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 45.82, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26196298 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 64.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20798751 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298383819 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.095, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "170223667 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "207447926 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 891.2, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1338106 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 894.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1365753 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 197.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7280878 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 182.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6589101 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 614.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1948515 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 613.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1939868 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 673142, "unit": "ns/op\t 373015 B/op\t 5608 allocs/op", "extra": "1755 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 92.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13047133 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45615891 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.214, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372694083 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.806, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "428105968 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 151.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7917853 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 223.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5367760 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 151.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7936008 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 247646, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4758 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 219156, "unit": "ns/op\t 24602 B/op\t 1000 allocs/op", "extra": "5395 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 176934, "unit": "ns/op\t 703 B/op\t 0 allocs/op", "extra": "6704 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 482.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2440063 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 486.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2449996 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 412.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2840692 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 790.7, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1522034 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 524.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2280270 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1757, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "838453 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2001, "unit": "ns/op\t 558 B/op\t 7 allocs/op", "extra": "831246 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1434, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "827725 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1568, "unit": "ns/op\t 253 B/op\t 5 allocs/op", "extra": "839233 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1789, "unit": "ns/op\t 337 B/op\t 5 allocs/op", "extra": "950956 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 121.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9835902 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 103.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11204828 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 47.89, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24717757 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.22, "unit": "ns/op\t 676.20 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62498049 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.1, "unit": "ns/op\t 301.64 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27811738 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 706.8, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1573312 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 128.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9326360 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 498.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2408338 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 331.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3614815 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 368.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3245504 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 701.7, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1728837 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 411.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2903262 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 746.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1649026 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23708, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50430 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23887, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50362 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18196346 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 141.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8442540 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28954340 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 154.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7210816 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56952264 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.62, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54253309 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.74, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58221952 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 24.19, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50084000 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.47, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39941440 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.61, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38736577 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12441668 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10318064 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.73, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18238436 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 441.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2699214 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39319276 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8037, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44389995 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.607, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "745221184 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.76, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35682374 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 76.01, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15633182 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 75.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15762966 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 152.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7866823 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.85, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18094632 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.069, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "148063052 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995324446 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298640210 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44723664 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 74.64, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15073008 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11683530 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8455777 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 102.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11174007 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 361.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3305414 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 81.62, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14844584 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 311, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3838447 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.226, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "362266952 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.429, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270350424 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.621, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "326830452 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.021, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198955525 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.039, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149383405 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.407, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144310664 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12343585 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10328516 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4247, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21959430 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "0e87b260a1af910789940dddb5b184f10f3a4727", "message": "Bump fuxingloh/multi-labeler from 1 to 2 (#2348)\n\nBumps [fuxingloh/multi-labeler](https://github.com/fuxingloh/multi-labeler) from 1 to 2.\r\n- [Release notes](https://github.com/fuxingloh/multi-labeler/releases)\r\n- [Commits](https://github.com/fuxingloh/multi-labeler/compare/v1...v2)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: fuxingloh/multi-labeler\r\n dependency-type: direct:production\r\n update-type: version-update:semver-major\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", "timestamp": "2023-02-27T14:21:16+01:00", "tree_id": "d2157e6c32d7adbdee865919cff261f22ecabcca", "url": "https://github.com/gofiber/fiber/commit/0e87b260a1af910789940dddb5b184f10f3a4727" }, "date": 1677504748600, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1248, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "829261 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5281, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "220335 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5340, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "225721 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 155.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7688094 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 57.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20724987 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 77.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15722629 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 59.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19533818 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 222.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5382069 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 269.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3888864 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.678, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447396898 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1013, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 713.8, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1687010 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2565, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "429871 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1304, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "836625 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1168, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "930087 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 125.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9590989 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 147.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8021679 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 126.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9279702 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 313, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3822274 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2002, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "550246 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 530.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2275786 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 122.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9782486 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 156.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7673918 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 218.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5478428 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 214.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5468836 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 389.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3086977 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 41.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29179449 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 83.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14377027 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 43.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26697640 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 46.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25640739 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 641.8, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1886625 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17308682 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 297.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3959718 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4196, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "281316 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "79338674 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 152, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7864316 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 291.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4122196 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 390.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3055128 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2297, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "470234 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 149.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7712385 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1300, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "803706 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 243.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4902078 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 715.8, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1668655 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 833.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1446115 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 823.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1454343 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 797, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1505058 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 185.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6419559 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.333, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224901879 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20857317 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27884314 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 98.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12183559 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10908172 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 53.78, "unit": "ns/op\t 72 B/op\t 0 allocs/op", "extra": "20855250 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 165.3, "unit": "ns/op\t 85 B/op\t 1 allocs/op", "extra": "7101790 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 51.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23106169 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.188, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130873962 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3883, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "292168 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3198, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "345943 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4323, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "273382 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4356, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "268623 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1315, "unit": "ns/op\t 791 B/op\t 8 allocs/op", "extra": "922998 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5177, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "216633 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5232, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "223266 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 137.5, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8600536 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 46.08, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24352256 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20558370 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.722, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "321901156 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "237439947 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.714, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253445880 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 904.2, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1335315 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 895.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1316822 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 170.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7099624 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 156.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7708525 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 599.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1988406 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 597.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2005640 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 677201, "unit": "ns/op\t 373003 B/op\t 5608 allocs/op", "extra": "1741 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12701386 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46730805 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.352, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356091170 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447734230 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 157.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7631719 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 212.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5673018 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 157.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7690184 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 258001, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4556 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 208614, "unit": "ns/op\t 24559 B/op\t 1000 allocs/op", "extra": "5734 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162167, "unit": "ns/op\t 661 B/op\t 0 allocs/op", "extra": "7339 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 500.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2380698 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 511.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2374333 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 412.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2904724 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 834.9, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1496029 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 523, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2297546 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2172, "unit": "ns/op\t 419 B/op\t 7 allocs/op", "extra": "853162 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2307, "unit": "ns/op\t 560 B/op\t 7 allocs/op", "extra": "826581 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1332, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "803534 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1593, "unit": "ns/op\t 252 B/op\t 5 allocs/op", "extra": "847642 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1898, "unit": "ns/op\t 341 B/op\t 5 allocs/op", "extra": "934186 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 123.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9733594 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 107.3, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10165383 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 50.05, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23568954 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 20.53, "unit": "ns/op\t 633.14 MB/s\t 0 B/op\t 0 allocs/op", "extra": "58497214 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.66, "unit": "ns/op\t 297.75 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26857446 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 711.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1725153 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 134.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8784619 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 476.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2533594 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 325.1, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3729199 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 370.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3229129 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 699.5, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1751754 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 417.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2870109 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 794.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1556584 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23679, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50572 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23506, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50533 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19555720 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 129.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9071900 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 48.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24983386 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 149, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8111653 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.69, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59104434 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.82, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55109401 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.26, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55469354 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52695397 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 26.69, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42432243 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.88, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37509444 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12016940 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10834628 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.03, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17302744 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 489.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2444353 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38562796 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7541, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.82, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42686446 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "610702676 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35127171 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 78.53, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15019278 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 80.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14875022 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 161.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7361229 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.99, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17809268 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.164, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146951574 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.686, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325483254 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47737280 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 68.38, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16800722 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 86.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13873908 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8333115 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 94.74, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12631842 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 332.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3576900 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 83.53, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14190206 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 294.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4056470 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.693, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325244876 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275020802 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397165129 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.188, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231117806 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155731430 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "145446480 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 82.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14587575 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10920754 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.373, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21540734 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "19aa55da38fb6afc9da856192a651ec72c276f9f", "message": "improve workflows\n- exclude markdown changes\n- don´t push the benchmark results in a pull request", "timestamp": "2023-02-28T18:10:05+01:00", "tree_id": "240bc3be091a289e4e91e67035f4e591335da0a8", "url": "https://github.com/gofiber/fiber/commit/19aa55da38fb6afc9da856192a651ec72c276f9f" }, "date": 1677604905693, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 730, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1927120 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5209, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "223219 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5301, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "219368 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 159.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7523005 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 57.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20796705 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 77.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15448124 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 59.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19939338 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 222.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5394236 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 269.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4121385 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.684, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447597463 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 997.3, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1203147 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 704.8, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1696792 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2547, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "433011 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1284, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "834366 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1157, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "930994 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 125.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9591919 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 151.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7943764 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 126.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9507012 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 309.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3858987 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2039, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "550430 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 527.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2248472 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 122.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9787291 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 155.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7620573 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 218.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5461850 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 213.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5585923 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 387.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3080516 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 41.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29292139 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 83.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14419060 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 44.18, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26106354 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 44.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25030264 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 641.8, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1870381 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17211769 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 296.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4057354 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4175, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "277879 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "79453454 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 150.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7945476 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 292.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3981716 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 392.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3058129 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2332, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "484320 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 143.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7993922 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1299, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "779104 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 240.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5007360 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 713.7, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1682341 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 825.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1442493 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 818.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1463655 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 793.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1517540 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 185.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6395842 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.347, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225233005 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20859895 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 41.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28388019 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 97.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12294769 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10760521 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 62.88, "unit": "ns/op\t 80 B/op\t 0 allocs/op", "extra": "18738452 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 171, "unit": "ns/op\t 87 B/op\t 1 allocs/op", "extra": "6879994 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 51.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23115898 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.177, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130621959 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3866, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "296293 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3192, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "351820 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4299, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "272658 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4268, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269893 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1271, "unit": "ns/op\t 788 B/op\t 8 allocs/op", "extra": "941637 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5183, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "221211 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5248, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "219322 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 137.3, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8618970 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 45.99, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25156160 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20606924 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.722, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322075330 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.032, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238429099 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.727, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253072772 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 897.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1342370 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 905.2, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1331497 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 169.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7038183 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 155.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7774208 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 597.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2035719 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 595.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2020712 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 679574, "unit": "ns/op\t 372998 B/op\t 5608 allocs/op", "extra": "1708 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12698971 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46792183 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356779606 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.695, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "445057076 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 160.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7553643 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 218.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5612572 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 155.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7670130 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 259179, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4483 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 208200, "unit": "ns/op\t 24596 B/op\t 1000 allocs/op", "extra": "5767 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162147, "unit": "ns/op\t 636 B/op\t 0 allocs/op", "extra": "7345 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 505.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2387630 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 503.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2345838 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 411.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2912554 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 806, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1496116 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 521.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2293503 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2479, "unit": "ns/op\t 415 B/op\t 7 allocs/op", "extra": "868204 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2394, "unit": "ns/op\t 566 B/op\t 7 allocs/op", "extra": "813069 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1348, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "936228 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1837, "unit": "ns/op\t 356 B/op\t 5 allocs/op", "extra": "871528 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2092, "unit": "ns/op\t 345 B/op\t 5 allocs/op", "extra": "916208 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 125.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9686407 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 113.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10066431 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 50.46, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23072587 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.24, "unit": "ns/op\t 675.75 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62027084 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.68, "unit": "ns/op\t 297.61 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27179664 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 707, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1717575 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 131.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9164990 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 475.4, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2509766 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 321.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3551427 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 370.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3236253 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 698.6, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1738170 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 415.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2916405 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 775.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1448176 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23627, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50109 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24505, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50324 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19532030 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 130.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9116817 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 48.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24958665 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 144.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8253736 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.62, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57783232 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.74, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52787658 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.61, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58821606 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.22, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53568811 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 26.87, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41153994 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.84, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39301880 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11978799 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10926901 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.51, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17582758 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 489.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2460625 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38209750 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7531, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.17, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42863949 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.914, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "628466031 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34651098 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.85, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15088152 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 81.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14813292 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 161.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7447021 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17952219 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.174, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146954954 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.175, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.681, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325906822 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47082798 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 68.26, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17003893 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 86.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13848038 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8405452 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 94.61, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11248170 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 333.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3531098 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 83.63, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14236155 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 294.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4065686 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.693, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324868048 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.362, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275093361 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.015, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397453741 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.189, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231335533 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.706, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155808186 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144074724 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14682884 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10948489 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3721, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21531194 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "e2da8540be01d30eb51175c4c0fab8ee175331ee", "message": "Update auto-labeler.yml\n\ndowngrade autolabeler", "timestamp": "2023-03-06T07:55:19+01:00", "tree_id": "8906caf9d478ea2b07b0fb1feacda5f0d0469d0f", "url": "https://github.com/gofiber/fiber/commit/e2da8540be01d30eb51175c4c0fab8ee175331ee" }, "date": 1678086433962, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2226, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "459993 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6822, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "176335 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6726, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "163558 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 198.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6108216 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 72.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17112126 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 95.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11932095 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 74.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15404697 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 310.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3658476 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 345.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3349395 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.541, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "332810498 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1255, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "893214 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 929.6, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1290216 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3429, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "333465 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1782, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "632539 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1483, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "777176 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 161.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7381940 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 186.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6376179 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 163.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7343625 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 390.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3050551 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2508, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "472630 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 654.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1843341 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 155, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7728850 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 197, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5862256 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 290.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4096558 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 268.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4341436 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 520.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2232703 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 51.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22584811 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 109.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11312440 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 54.94, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20934219 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 58.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20486499 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 787.7, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1499086 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 86.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13232180 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 406.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2910340 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5277, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "195157 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 20.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "52004802 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 191.2, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6004342 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 384, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3191656 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 511.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2431068 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2970, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "367675 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 177.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6312486 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1476, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "789494 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 300.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3901101 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 900.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1323550 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 958.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1249185 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 947.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1269555 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 920.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1239525 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 260.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5144605 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.863, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "171603702 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 72.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15799881 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 55.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22225112 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 121.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10002966 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 148.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8513727 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 38.91, "unit": "ns/op\t 74 B/op\t 0 allocs/op", "extra": "31715042 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 196.2, "unit": "ns/op\t 83 B/op\t 1 allocs/op", "extra": "5872407 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 66.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18522673 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4834, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "248066 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4030, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "289742 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5110, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "228964 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5248, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "203380 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1699, "unit": "ns/op\t 811 B/op\t 8 allocs/op", "extra": "749248 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6901, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "160212 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6830, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "170265 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 189.8, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6574645 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 61.38, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19637858 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 74.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16349835 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 5.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "236034438 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "184264119 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.563, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "183103944 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1111, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1142, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 220.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5744492 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 202.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5493072 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 755.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1585386 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 745.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1580742 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 983971, "unit": "ns/op\t 373017 B/op\t 5608 allocs/op", "extra": "1233 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 120.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10166690 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 34.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35307856 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.394, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270552960 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.591, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "333141519 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 211.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5352709 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 279.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4357118 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 204.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5662512 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 327189, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3702 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 280701, "unit": "ns/op\t 24574 B/op\t 1000 allocs/op", "extra": "4447 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 228112, "unit": "ns/op\t 638 B/op\t 0 allocs/op", "extra": "4771 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 647.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1783867 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 649, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1821684 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 513.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2406450 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1022, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 636.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1895199 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2628, "unit": "ns/op\t 345 B/op\t 7 allocs/op", "extra": "619789 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 3050, "unit": "ns/op\t 634 B/op\t 7 allocs/op", "extra": "586279 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1679, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "766207 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2362, "unit": "ns/op\t 271 B/op\t 5 allocs/op", "extra": "702760 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2357, "unit": "ns/op\t 275 B/op\t 5 allocs/op", "extra": "679525 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 160.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7383943 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 138.1, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9023608 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 70.25, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "16386896 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 27.18, "unit": "ns/op\t 478.35 MB/s\t 0 B/op\t 0 allocs/op", "extra": "48232866 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 55.23, "unit": "ns/op\t 235.39 MB/s\t 0 B/op\t 0 allocs/op", "extra": "19735731 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 961.5, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1148346 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 187.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7050114 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 683.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1827318 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 420.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2702293 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 467.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2427582 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 835.5, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1412326 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 529.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2345107 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 973.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1318984 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 37164, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "33852 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 35442, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "31189 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 63.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17673001 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 183.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6338366 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 64.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18494970 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 170.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6994359 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 26.25, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "41720668 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 27.17, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43046758 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 24.08, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47425275 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 27.95, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43184143 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 39.53, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30072373 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 39.95, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "25561958 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 126.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9272826 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 134.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8747805 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 91.79, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "12874908 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 664.9, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1814149 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 41.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29524898 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.9453, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 34.86, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34718348 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.993, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "611821030 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 42.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "27665641 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 110.4, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "10157944 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 104.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11808135 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 206.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5895878 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 84.09, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13021209 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.898, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "122127924 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.445, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "889019508 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.587, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "204903296 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 33.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37420048 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 93.22, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "12748677 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 120.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9779438 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 186.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6400669 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 117.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10533472 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 503.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2412889 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 118.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10213525 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 404.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2997255 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.897, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "430153215 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.662, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "215692622 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.746, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "344690000 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.502, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "176185671 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.283, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126830833 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 10.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "120416274 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 105.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11844342 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 133.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9422700 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4706, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 62.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20680466 times\n2 procs" } ] }, { "commit": { "author": { "email": "44057030+lublak@users.noreply.github.com", "name": "lublak", "username": "lublak" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "2e7e879d6f69902d06b4759a5f31a083968faa40", "message": "feature: allow preloaded certs with prefork (#2351)\n\n* allow preloaded certs with prefork\r\n\r\n* add to documentation\r\n\r\n* add comments for ListenMutualTLSWithCertificate\r\n\r\n* add test for WithCertificate\r\n\r\n* Update benchmark.yml\r\n\r\n* Update benchmark.yml\r\n\r\n* Update benchmark.yml\r\n\r\n* Update benchmark.yml\r\n\r\n* Update benchmark.yml\r\n\r\n* Update benchmark.yml\r\n\r\n---------\r\n\r\nCo-authored-by: RW ", "timestamp": "2023-03-06T12:03:41+01:00", "tree_id": "d25310db63220396d245ff20d43bea72469cbb80", "url": "https://github.com/gofiber/fiber/commit/2e7e879d6f69902d06b4759a5f31a083968faa40" }, "date": 1678101283641, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 615.3, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1972998 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3660, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "311565 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3728, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "308901 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 148.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8016555 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 51.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23175278 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 72.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16608675 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 53.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22782928 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 224.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5319836 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 271.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4405023 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.817, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426661774 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 958.7, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1249197 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 752.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1608212 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2560, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "439030 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1398, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "786392 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1241, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "867142 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 116.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10438701 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 143, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8392153 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 118.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10135346 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 302, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3943760 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1902, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "651118 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 490.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2444160 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 112.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10620637 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 144.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "8244578 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 215.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5534306 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 204.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5864042 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 395.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3022932 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 36.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32140372 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 79.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15049803 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.14, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27196550 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 46.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25516576 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 648.7, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1855236 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 75.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15728510 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 302.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3911318 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4331, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "266334 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "83231888 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 130.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "9008164 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 281.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4240618 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 386.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3097191 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2205, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "507762 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 146.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7988406 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1179, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "884293 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 239.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4998452 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 739.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1640086 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 791.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1514684 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 775, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1552227 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 762.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1561158 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 189, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6369871 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.307, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225795733 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 53.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22022072 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27756480 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 100.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11872119 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 107.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11171554 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 35.78, "unit": "ns/op\t 67 B/op\t 0 allocs/op", "extra": "28016737 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 149.3, "unit": "ns/op\t 92 B/op\t 1 allocs/op", "extra": "8062602 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 48.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24723015 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.308, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128073355 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3881, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "295674 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3339, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "342573 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4194, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "275961 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4185, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "278686 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1167, "unit": "ns/op\t 795 B/op\t 8 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3655, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "317000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3707, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "309523 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 139.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8534050 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 44.74, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26373247 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 60.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20767140 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298124532 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.124, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "168679292 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199416432 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 886.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1344816 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 880, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1366915 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 161.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7415311 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 148, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8150979 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 620, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1932723 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 620, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1939312 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 671714, "unit": "ns/op\t 373008 B/op\t 5608 allocs/op", "extra": "1760 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 93.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12739999 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45661770 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.213, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373401034 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.699, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444692288 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 148.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8030908 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 223.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5359116 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 147.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8080683 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 248585, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4740 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 218180, "unit": "ns/op\t 24615 B/op\t 1000 allocs/op", "extra": "5312 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177541, "unit": "ns/op\t 703 B/op\t 0 allocs/op", "extra": "6698 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 484.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2493088 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 488.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2447893 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 416, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2878504 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 790.4, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1516202 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 526.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2284387 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1742, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "830090 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 1962, "unit": "ns/op\t 558 B/op\t 7 allocs/op", "extra": "833070 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1414, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "856815 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1548, "unit": "ns/op\t 255 B/op\t 5 allocs/op", "extra": "819170 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1756, "unit": "ns/op\t 336 B/op\t 5 allocs/op", "extra": "956491 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 122.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9740109 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 99.82, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11478646 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.12, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24613639 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.22, "unit": "ns/op\t 676.28 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62011459 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.05, "unit": "ns/op\t 301.96 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27934106 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 701, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1709473 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 128, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9356679 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 497.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2405203 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 329.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3433930 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 369.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3222763 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 722.1, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1662330 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 414.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2855740 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 712.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1632222 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23333, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51092 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23691, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50967 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18061650 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 140.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8504379 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28992768 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 154.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7689669 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.21, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57575589 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.66, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54039034 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.88, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58846418 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.93, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51416580 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.34, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40109235 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.61, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38707680 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12415071 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10322449 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.28, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18162111 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 439.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2688534 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39096736 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8041, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.09, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44640056 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.607, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "746510000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.83, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35285493 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 75.46, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15662290 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 72.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16486429 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 154.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7765512 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.01, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18106507 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.063, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149030426 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "990807854 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298624083 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44544774 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 70.21, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16089901 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11660703 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8449450 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 103, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11440846 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 360.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3318018 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 80.88, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14662598 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 311.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3839286 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.232, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "371206942 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.429, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270937527 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.629, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331418791 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.027, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199142362 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149339404 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.334, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "143888176 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12367917 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10324917 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4309, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21927826 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "9e440635f08a6c7f2b0d2e20546c34ea28380f94", "message": "enable benchmark summary for pull requests/ fix auto labeler (#2365)\n\n* enable benchmark summary for pull requests\r\n\r\n* enable benchmark summary for pull requests\r\n\r\n* correct auto labeler", "timestamp": "2023-03-10T10:30:52+01:00", "tree_id": "44ee67a35fb7de1f0afb12bc231c907458005501", "url": "https://github.com/gofiber/fiber/commit/9e440635f08a6c7f2b0d2e20546c34ea28380f94" }, "date": 1678441313656, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1616, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "866836 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3696, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "289310 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3787, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "309124 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 148.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8027416 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 52.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22852398 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 72.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16619822 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 53.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22531406 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 225.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5320123 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 289.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3731004 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.815, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426187838 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 975.4, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1242518 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 762.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1560370 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2700, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "428660 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1445, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "771574 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1281, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "865675 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 113.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10292743 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 142, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8422840 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 118.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10116562 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 300.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4001461 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2022, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "524223 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 497.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2448408 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 113.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10562252 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 148.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7882494 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 224.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5088812 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 207.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5754187 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 409.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2913925 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 36.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31452502 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 80.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14982567 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 43.02, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27170170 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 43.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27569833 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 663.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1791762 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 75.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16031344 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 308.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3802412 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4434, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "261711 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82891945 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 135.4, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8913058 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 292, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4073605 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 397.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3028846 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2344, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "502611 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 143.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7966027 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1204, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "879912 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 239.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4981512 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 759.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1587297 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 806.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1451880 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 797.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1512192 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 802.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1456246 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 192.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6153622 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.319, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "221056152 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 54.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21912046 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 40.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29566717 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 98.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11609157 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 107.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11178180 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 39.35, "unit": "ns/op\t 73 B/op\t 0 allocs/op", "extra": "25634155 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 150.5, "unit": "ns/op\t 96 B/op\t 1 allocs/op", "extra": "7653483 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 49.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24263329 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.323, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127167274 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3992, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "267062 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3495, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "333991 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4417, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "265082 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4278, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271120 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1205, "unit": "ns/op\t 796 B/op\t 8 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3735, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "317674 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3750, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "304804 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 143.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8247298 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 45.81, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25563987 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 57.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20581106 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.024, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298160062 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "159438331 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.734, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "209630472 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 900.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1329160 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 886.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1354912 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 161.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7441344 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 149, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8163988 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 623.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1927813 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 621.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1910490 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 662990, "unit": "ns/op\t 373001 B/op\t 5608 allocs/op", "extra": "1732 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 93.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12735153 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44923548 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.217, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373059783 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.705, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "443686174 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 148.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8047299 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 225.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5362040 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 149, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8071070 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 248349, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4764 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 222097, "unit": "ns/op\t 24576 B/op\t 1000 allocs/op", "extra": "5338 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177725, "unit": "ns/op\t 669 B/op\t 0 allocs/op", "extra": "6718 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 498.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2468022 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 500.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2432342 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 414.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2884644 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 798.6, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1492868 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 526.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2287719 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1833, "unit": "ns/op\t 312 B/op\t 7 allocs/op", "extra": "820506 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2078, "unit": "ns/op\t 561 B/op\t 7 allocs/op", "extra": "825075 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1419, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "852102 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1613, "unit": "ns/op\t 252 B/op\t 5 allocs/op", "extra": "848720 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1800, "unit": "ns/op\t 338 B/op\t 5 allocs/op", "extra": "944901 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 121.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9862791 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 101.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11437588 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.46, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24208314 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.25, "unit": "ns/op\t 675.38 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62466014 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.06, "unit": "ns/op\t 301.87 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27837556 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 713.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1653664 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 128.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9348632 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 514.4, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2327887 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 333.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3548144 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 369.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3219289 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 726.4, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1702162 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 412.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2876661 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 782.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1531033 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24157, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50524 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23954, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50352 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18187816 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 143.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8441618 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28913883 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 156.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7655256 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.34, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57109616 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.79, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57729639 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58473459 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.92, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51107778 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 30.18, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37260392 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 30.78, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34489254 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 97.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12119582 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10297054 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 70.26, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17800240 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 461.4, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2551624 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38690091 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8091, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43668060 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.608, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "745628824 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.32, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35354372 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.68, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14525115 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 73.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15767190 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 153.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7802310 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 68.47, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16496012 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.105, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147452450 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995096775 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.019, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298508444 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44417733 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 72.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16615429 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 103.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11683730 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 142.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8411078 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 104, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11388547 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 380, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3296691 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 83.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14571220 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 319.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3775857 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.327, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "374096024 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.431, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "269929260 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 4.022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "329329257 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.832, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "175630542 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.131, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149288924 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.305, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144049360 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11559019 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10315617 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.429, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21830893 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "01fcdedcef5a1a834cc9ff6e606fc882cbf44c60", "message": "improve labeler config", "timestamp": "2023-03-12T09:31:49+01:00", "tree_id": "b0db188ccd559b3d355780a0bb9d5c16dc4857f2", "url": "https://github.com/gofiber/fiber/commit/01fcdedcef5a1a834cc9ff6e606fc882cbf44c60" }, "date": 1678610596060, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1913, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "542364 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 8211, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "142801 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6049, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "189393 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 180, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6979849 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19383004 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 86.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14379326 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 67.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17276280 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 280.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4299525 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 332.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3059376 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.324, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "359863950 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1135, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1076132 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 834.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1426832 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2860, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "364689 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1522, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "716154 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1346, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "948900 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 142.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8365393 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 177.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6810168 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 146.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8365189 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 368.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3208219 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2438, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "506994 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 590.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2040477 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 141.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8505973 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 185.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6264244 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 259.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4558801 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 233.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5122153 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 470.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2624239 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 47.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25540980 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 90.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13096627 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 48.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23884810 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 48.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23516931 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 755.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1736554 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 84.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14925280 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 346.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3370484 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4571, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "255091 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 17.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "65613898 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 172, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6981312 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 331.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3579450 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 427.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2751092 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2688, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "410397 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 158.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7323631 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1256, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "961189 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 278.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4327832 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 812, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1440679 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 820.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1418626 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 820.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1488661 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 801.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1469779 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 209.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5621985 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.014, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192339994 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 66.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18462364 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 47.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24648562 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 106.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11316014 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 126.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8662117 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 34.44, "unit": "ns/op\t 68 B/op\t 0 allocs/op", "extra": "34401373 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 168.4, "unit": "ns/op\t 84 B/op\t 1 allocs/op", "extra": "7138569 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 57.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20417514 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 10.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4051, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "284001 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3409, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "333715 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4342, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "261099 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4369, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "265078 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1493, "unit": "ns/op\t 801 B/op\t 8 allocs/op", "extra": "813256 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5631, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "192577 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5637, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "205101 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 155.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7522191 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 55.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20959448 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 65.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18104472 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.548, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270942601 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.841, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "211867647 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "205668006 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 961.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1246416 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 955.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1267927 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 184.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6353115 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 174.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6674685 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 642.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1864653 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 652.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1860499 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 789727, "unit": "ns/op\t 373000 B/op\t 5608 allocs/op", "extra": "1417 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10661146 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 30, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "40293812 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.871, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "319619216 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.187, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "384340032 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 177.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6954108 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 243.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4777776 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 178.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6910782 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 280426, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4168 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 232245, "unit": "ns/op\t 24574 B/op\t 1000 allocs/op", "extra": "5384 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 185050, "unit": "ns/op\t 628 B/op\t 0 allocs/op", "extra": "6810 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 545, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2042748 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 554.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2190687 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 439.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2729101 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 869.2, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1411362 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 550, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2183174 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2842, "unit": "ns/op\t 415 B/op\t 7 allocs/op", "extra": "867795 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 3276, "unit": "ns/op\t 599 B/op\t 7 allocs/op", "extra": "636501 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1435, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "821539 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1916, "unit": "ns/op\t 267 B/op\t 5 allocs/op", "extra": "729175 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1936, "unit": "ns/op\t 254 B/op\t 5 allocs/op", "extra": "828279 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 135.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8941552 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 122.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9905781 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 57.83, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "18455572 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 22.5, "unit": "ns/op\t 577.82 MB/s\t 0 B/op\t 0 allocs/op", "extra": "54445596 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 47.67, "unit": "ns/op\t 272.71 MB/s\t 0 B/op\t 0 allocs/op", "extra": "25985341 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 769, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1584877 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 147.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7766449 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 503.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2376129 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 345, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3447819 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 404.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2927026 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 712.1, "unit": "ns/op\t 14 B/op\t 1 allocs/op", "extra": "1697264 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 442.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2723654 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 786, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1513726 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 26970, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "43514 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 27730, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "44595 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 56.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21137740 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 163.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7487412 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 56.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21021908 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 146.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8177512 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 21.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52712776 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 22.29, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53736603 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 21.01, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52045179 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 23.46, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47669985 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 30.17, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37834450 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 32.01, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36036918 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 109, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11227184 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 114.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10504614 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 72.73, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "16229384 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 552, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2120145 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 35.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "33142306 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7983, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 27.28, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39262545 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.745, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "700597747 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 35.86, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30673504 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 92.62, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12874597 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 83.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14410689 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 177.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6850442 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 71.07, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16574632 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.805, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "139363302 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.241, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "939171952 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.722, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "246235621 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 28.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39526380 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 80.12, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13994444 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 106.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11694451 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 165.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7322983 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 106.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10653356 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 424.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2661577 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 103.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11530233 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 346.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3329930 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.551, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "480618786 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.944, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "246091045 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.215, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "382650748 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.597, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "217295332 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.187, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "148367257 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.743, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "136492124 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 89.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13005682 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10395194 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3941, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 52.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22986122 times\n2 procs" } ] }, { "commit": { "author": { "email": "yvestumushimire@gmail.com", "name": "Tumushimire Yves", "username": "yvestumushimire" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "634f163e3f6292e658e61d0dd9e3c475d87b5d54", "message": "🚀 [Feature]: SessionOnly when cookie.Expires is 0 (#2152)\n\n* feature: session only for zero expire cookie #2145\r\n\r\n* refactor condition to set MaxAge and Expire on cookie\r\n\r\n* move checking zero maxage and expire in session middleware\r\n\r\nSigned-off-by: Yves Tumushimire \r\n\r\n* feature: session only for zero expire cookie #2145\r\n\r\n* refactor condition to set MaxAge and Expire on cookie\r\n\r\n* move checking zero maxage and expire in session middleware\r\n\r\nSigned-off-by: Yves Tumushimire \r\n\r\n* CR changes\r\n\r\n* some updates\r\n\r\n---------\r\n\r\nSigned-off-by: Yves Tumushimire \r\nCo-authored-by: Muhammed Efe Çetin \r\nCo-authored-by: René Werner ", "timestamp": "2023-03-12T19:14:22+01:00", "tree_id": "ce6d529d964ad06faa641e734a17c08934ee2138", "url": "https://github.com/gofiber/fiber/commit/634f163e3f6292e658e61d0dd9e3c475d87b5d54" }, "date": 1678645527609, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1625, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "932646 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3646, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "302900 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3754, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "306397 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 148.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8012662 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 52.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23016702 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 72.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16363024 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 53.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22271392 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 225.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5342928 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 278.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4319920 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.815, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "425324691 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 974.9, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1239225 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 758.2, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1579646 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2672, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "425779 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1410, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "754978 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1274, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "868424 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 113.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10565049 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 142.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8408883 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 118.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10143913 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 302.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3965824 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1843, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "594007 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 514.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2366247 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 113.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10570650 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 143.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "8223051 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 215.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5546655 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 202.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5881125 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 399.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3014496 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 37.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31654021 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 80.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14914119 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.43, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24404062 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 44.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26979304 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 647.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1850614 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 75.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15856560 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 311.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3966196 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4442, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "262878 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82796798 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 132.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8800496 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 285.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4196078 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 396.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3034508 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2410, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "473626 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 145.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8021442 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1232, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "872461 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 242.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4961330 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 756.9, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1620010 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 804.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1489302 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 819.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1482068 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 821, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1491607 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 190.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6268425 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.326, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224867558 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 54.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21833168 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 40.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29161286 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 96.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12381590 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 108.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11156079 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 49.64, "unit": "ns/op\t 71 B/op\t 0 allocs/op", "extra": "20965176 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 146.6, "unit": "ns/op\t 88 B/op\t 1 allocs/op", "extra": "8429491 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 49.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24189414 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 12.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128518821 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3987, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "287050 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3460, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "331519 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4341, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269575 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4336, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269485 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1323, "unit": "ns/op\t 796 B/op\t 8 allocs/op", "extra": "928454 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3736, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "309597 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3826, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "302302 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 148.1, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7950847 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 46.23, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25467123 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20211490 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.024, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297814291 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.044, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "191213077 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.852, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "205404379 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 906.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1318605 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 891.2, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1318390 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 162.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7400925 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 148.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7998459 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 619.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1932319 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 621.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1918454 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 698482, "unit": "ns/op\t 373009 B/op\t 5608 allocs/op", "extra": "1720 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 93.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12794526 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46189956 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.218, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372812661 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.785, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "431119464 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 148.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7996286 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 226.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5218326 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 148.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7961067 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 247168, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4760 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 221118, "unit": "ns/op\t 24578 B/op\t 1000 allocs/op", "extra": "5256 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177595, "unit": "ns/op\t 704 B/op\t 0 allocs/op", "extra": "6666 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 490.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2458225 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 490.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2426944 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 415, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2886997 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 801.9, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1497680 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 526.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2278921 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1821, "unit": "ns/op\t 310 B/op\t 7 allocs/op", "extra": "846096 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2089, "unit": "ns/op\t 578 B/op\t 7 allocs/op", "extra": "784170 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1426, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "777892 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1609, "unit": "ns/op\t 252 B/op\t 5 allocs/op", "extra": "842904 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1862, "unit": "ns/op\t 342 B/op\t 5 allocs/op", "extra": "929685 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 123, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9813528 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 100.6, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11578161 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49.44, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23515095 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.23, "unit": "ns/op\t 675.99 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62418787 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.05, "unit": "ns/op\t 301.96 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27122593 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 732.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1653439 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 128.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9345344 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 507.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2346825 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 331.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3571054 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 370.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3231255 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 728.5, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1686574 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 415.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2885475 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 784.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1474448 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24606, "unit": "ns/op\t 8535 B/op\t 207 allocs/op", "extra": "47857 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24838, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48522 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18175198 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 145.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8346452 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28909770 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 158.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7556510 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.46, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55989789 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 21.13, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53062412 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.21, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56938477 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50301228 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.58, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38367379 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 30.67, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36907783 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12418747 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10292293 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 71.08, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "16243251 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 454.1, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2623515 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38669920 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8071, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 27.15, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41879300 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.611, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "744645763 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 34.41, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30530650 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 82.8, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14744599 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 69.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17220289 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 150.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8023650 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 67.29, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17430069 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.088, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "148019702 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "992717227 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.023, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298452706 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44215382 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 72.25, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16505000 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11662032 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 142.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8338029 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 109.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11043680 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 374, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3211534 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 101.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12290644 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 324.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3572809 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.211, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "369525513 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.443, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270672080 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.771, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "318343336 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.982, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200176119 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.046, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149160625 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.296, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144041138 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12352622 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10291756 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4261, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21826642 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "01d39dbb81f48812b0be807641fb56249d97535a", "message": "Update benchmark.yml", "timestamp": "2023-03-14T11:41:39+01:00", "tree_id": "39a27f1ad9ed6e9afa141de951fdca07462248cf", "url": "https://github.com/gofiber/fiber/commit/01d39dbb81f48812b0be807641fb56249d97535a" }, "date": 1678791174089, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1896, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "541594 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7795, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "134214 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6584, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "181608 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 182, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6623515 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 68.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16885810 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 93.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13030525 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 74.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15765732 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 279.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4291071 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 325.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3121506 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.204, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "365964822 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1231, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "970138 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 848.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1409457 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2990, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "373183 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1523, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "698469 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1397, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "782973 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 147, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8220884 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 184.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6547167 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 149.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7929597 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 373.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3223605 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2305, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "480343 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 637.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1888060 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 142.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8476915 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 186.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5924850 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 266.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4552602 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 270.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4649761 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 461.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2577696 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 49.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25397680 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 98.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12406557 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 54.51, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21309614 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 54.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22384644 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 812.8, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1523377 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 85.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12738883 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 356.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3378892 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5059, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "230736 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 17.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "65868819 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 178.9, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6540250 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 351, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3317710 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 477.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2544459 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2777, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "424213 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 164.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6821799 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1561, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "769286 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 292.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4085744 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 853.6, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1410448 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 986, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1228371 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 955.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1237687 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 950.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1281836 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 225.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5268358 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.256, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "189470600 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 70.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17398555 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 48.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24369439 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10206716 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 128.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9197241 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 60.57, "unit": "ns/op\t 71 B/op\t 0 allocs/op", "extra": "20929528 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 213.4, "unit": "ns/op\t 94 B/op\t 1 allocs/op", "extra": "6298362 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 60.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18979452 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 10.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "109707363 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4839, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "250684 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3887, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "293307 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5227, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "233606 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5242, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "224438 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1486, "unit": "ns/op\t 786 B/op\t 8 allocs/op", "extra": "800362 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6195, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "190395 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6336, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "178255 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 166.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6966145 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 57.27, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18862089 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 70.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16888050 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "271982938 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.002, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200094014 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.715, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "205919293 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1068, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1075, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 202.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5972724 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 188.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6364318 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 651.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1799336 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 661.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1839266 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 785361, "unit": "ns/op\t 373005 B/op\t 5608 allocs/op", "extra": "1468 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 108.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11225536 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 30.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37524128 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.968, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "305710839 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.137, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "375101828 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 186.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6578726 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 248.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4977690 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 188.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6379548 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 298462, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3816 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 248887, "unit": "ns/op\t 24591 B/op\t 1000 allocs/op", "extra": "4926 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 190723, "unit": "ns/op\t 738 B/op\t 0 allocs/op", "extra": "6045 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 609.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1973371 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 633.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1882249 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 486.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2418990 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 947.4, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1259984 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 625.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1922163 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2401, "unit": "ns/op\t 331 B/op\t 7 allocs/op", "extra": "684914 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 3111, "unit": "ns/op\t 625 B/op\t 7 allocs/op", "extra": "695642 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1581, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "747103 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1844, "unit": "ns/op\t 255 B/op\t 5 allocs/op", "extra": "820362 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1999, "unit": "ns/op\t 256 B/op\t 5 allocs/op", "extra": "813741 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 147.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8155176 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 127.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9615820 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 58.59, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19819987 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 22.58, "unit": "ns/op\t 575.86 MB/s\t 0 B/op\t 0 allocs/op", "extra": "52880024 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 50.34, "unit": "ns/op\t 258.26 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23521237 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 857, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1458156 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 156.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7609489 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 578.2, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2078499 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 380, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3088052 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 431.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2823220 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 814.9, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1493755 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 485.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2529946 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 919.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1316104 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 28205, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "42684 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 27521, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "44138 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 72.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17075682 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 150.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7785624 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 56.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21542787 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 173.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6782833 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.56, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49157134 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 23.57, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48270862 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 22.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47953734 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 24.65, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48214617 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 31.59, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35388175 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 34.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34125180 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 117, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10035598 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 127.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9240903 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 78.54, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14758743 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 586, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2068155 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 37.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32306942 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.896, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 30.76, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35982801 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 2.125, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "555099219 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 36.75, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29217206 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 89.68, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12726812 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 97.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12600801 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 191.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6459381 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 77.72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15493982 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.627, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125537246 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "862329813 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.348, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "278160460 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 30.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39920943 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 82.96, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14184019 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 101.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11853879 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 174.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6910748 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 112.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10269985 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 403.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3005462 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 99.97, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12285840 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 354.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3415608 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.379, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "271362495 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.197, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230964583 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.575, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "333323065 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.132, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "194409906 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.129, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "133230286 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.712, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "122737039 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12110116 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 128.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9294793 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4415, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18251680 times\n2 procs" } ] }, { "commit": { "author": { "email": "50892490+UtopiaGitHub@users.noreply.github.com", "name": "UtopiaGitHub", "username": "UtopiaGitHub" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "678728de6d38a60667b3390b3e0c28f99ff041d9", "message": "🐛 [Bug-Fix]: add lock to avoid data race #2360 (#2368)\n\nUpdate memory.go\r\n\r\nThe fix is to protect the access to s.db and save the result to a local variable.", "timestamp": "2023-03-14T11:41:48+01:00", "tree_id": "f64cb5dbbffae13588231285113f06fe6a66359e", "url": "https://github.com/gofiber/fiber/commit/678728de6d38a60667b3390b3e0c28f99ff041d9" }, "date": 1678791264360, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2756, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "682822 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6807, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "162086 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6507, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "181009 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 177.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6670161 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 71.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17496528 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 96.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12962511 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 71.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16942207 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 283.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4191187 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 347.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3512169 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.457, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "340883031 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1169, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "945457 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 866.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1368448 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3076, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "373905 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1758, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "595645 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1536, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "809390 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 145.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7707924 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 193.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6581438 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 164.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7697962 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 381.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3159018 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2508, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "487250 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 643.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1859340 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 140.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8105871 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 189.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5740624 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 297, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4134216 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 261.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4451689 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 495.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2410784 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 51.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24061054 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 98.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12460988 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 52.61, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20987228 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 52.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22655946 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 752.1, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1620925 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 90.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13148523 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 389.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3057435 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5127, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "246936 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 20.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "56551932 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 187.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6081186 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 381.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3315009 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 491.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2399898 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2986, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "361760 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 178.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6237208 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1400, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "777410 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 298.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4010050 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 911.3, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1332322 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 890.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1284124 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 920.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1273041 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 884.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1310288 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 240.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5003174 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "173273553 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 71.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16421428 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 49.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23697940 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 119, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9986398 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 136.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8976202 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 45.98, "unit": "ns/op\t 80 B/op\t 0 allocs/op", "extra": "23274073 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 199.5, "unit": "ns/op\t 82 B/op\t 1 allocs/op", "extra": "5889730 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 65.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18466405 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "99554757 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4591, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "261088 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3776, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "298446 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4823, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "234793 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4726, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "247399 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1626, "unit": "ns/op\t 790 B/op\t 8 allocs/op", "extra": "716983 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6282, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "177219 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6411, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "185809 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 170.2, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6850299 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 59.88, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20578952 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 71.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17568218 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.798, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "249314853 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.033, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "188900931 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.161, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "290839392 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1100, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1125, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 218.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5777318 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 192, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6059970 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 710.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1664900 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 734, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1631013 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 868377, "unit": "ns/op\t 373012 B/op\t 5608 allocs/op", "extra": "1220 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10494302 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 33.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "33665740 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.301, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "277597762 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.522, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "329365615 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 186.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6301364 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 278.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4327765 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 190.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6270007 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 310416, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3800 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 266869, "unit": "ns/op\t 24606 B/op\t 1000 allocs/op", "extra": "4483 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 229093, "unit": "ns/op\t 683 B/op\t 0 allocs/op", "extra": "5646 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 618.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1867592 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 626, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1982680 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 541.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2203450 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1016, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 622.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1957267 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2463, "unit": "ns/op\t 331 B/op\t 7 allocs/op", "extra": "688011 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2761, "unit": "ns/op\t 608 B/op\t 7 allocs/op", "extra": "623034 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1772, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "694562 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2252, "unit": "ns/op\t 271 B/op\t 5 allocs/op", "extra": "700138 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2304, "unit": "ns/op\t 286 B/op\t 5 allocs/op", "extra": "627628 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 156.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7967904 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 135.9, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8894732 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 66.34, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "17295674 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 25.98, "unit": "ns/op\t 500.29 MB/s\t 0 B/op\t 0 allocs/op", "extra": "46038609 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 52.2, "unit": "ns/op\t 249.05 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23815548 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 874.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1397985 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 166.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7094728 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 607.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1988353 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 411.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2621106 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 462.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2620875 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 789.8, "unit": "ns/op\t 14 B/op\t 1 allocs/op", "extra": "1500045 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 501.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2374749 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 1047, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 31340, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "40599 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 31141, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "37881 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 64.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18177470 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 189.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6485413 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 64.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18264843 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 170.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7030671 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 24.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43513767 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 25.21, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46105396 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.61, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49935566 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 26.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "42336601 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 35.73, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31272483 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 36.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33043388 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 119, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8594606 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 131.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9027720 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 86.18, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14167114 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 607.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1954507 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 39.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29684304 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.876, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 31.06, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37146086 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.889, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "627340790 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 42.63, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30308218 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 103.1, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11213701 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 96.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12566428 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 190.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6323323 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 77.15, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14434684 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.073, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "131658366 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.281, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "954704186 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "234529998 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 31.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37265595 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 85.59, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14019915 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 115.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10713262 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 173.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6750684 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 113.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10129136 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 424.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2565333 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 109.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11267670 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 359.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3278647 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "471748021 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.372, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "219056858 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.446, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356100955 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.189, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "202455177 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.069, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126719394 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.362, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126892828 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11946034 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 126.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9642340 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3837, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 59.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21118084 times\n2 procs" } ] }, { "commit": { "author": { "email": "ste3ls@gmail.com", "name": "Benjamin Grosse", "username": "benjajaja" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "d7b36cde54a0a5f96f0fb0fe0e9030bd506f1305", "message": ":bug: requestid.Config.ContextKey is interface{} (#2369)\n\nrequestid.Config.ContextKey is interface{}\r\n\r\nConsistent with c.Locals(key inteface{}, ...).\r\nFixes #2356", "timestamp": "2023-03-14T19:37:10+01:00", "tree_id": "f3acb1745eb2461bb9fc1a2275295e68f0bfacf1", "url": "https://github.com/gofiber/fiber/commit/d7b36cde54a0a5f96f0fb0fe0e9030bd506f1305" }, "date": 1678819701124, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1571, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3679, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "315068 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3869, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "310425 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 147, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8145211 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 53.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22828419 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 73.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16216874 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 56.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21219655 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 221.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5429808 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 279.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3781644 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.285, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "531321222 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 959.6, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1247865 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 759.2, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1580848 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2621, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "430435 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1401, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "770210 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1245, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "874128 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 115.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10317066 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 138.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8590147 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 118.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10051245 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 300.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3975572 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1864, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "608910 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 507.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2374227 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 116, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10315038 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 153.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7716496 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 232.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5147742 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 216.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5485171 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 409.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2911928 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 36.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32888178 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 76.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15581342 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 41.79, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27631939 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 46.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25818492 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 643.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1865246 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 77.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15230013 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 297.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4044453 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4353, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "268052 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82573882 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 132.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8884772 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 287.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4172138 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 397.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3041629 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2280, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "510722 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 134.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8145488 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1180, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "885050 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 238.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4782051 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 741.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1609075 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 779.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1533008 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 776.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1550703 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 767.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1546317 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 187.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6392366 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.315, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225856623 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 54.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21942922 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 41.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28369918 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 99.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12169756 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10856227 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 38.41, "unit": "ns/op\t 71 B/op\t 0 allocs/op", "extra": "26130242 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 148.9, "unit": "ns/op\t 93 B/op\t 1 allocs/op", "extra": "7931929 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 48.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24414015 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129177348 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3889, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "294865 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3371, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "339405 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4259, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "274935 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4294, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269025 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1254, "unit": "ns/op\t 800 B/op\t 8 allocs/op", "extra": "987681 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3707, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "304626 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3754, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "310668 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 142.1, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8418711 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 45.44, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26215806 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20308123 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.028, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297911094 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "170870940 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.734, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "207480921 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 885, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1357417 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 882.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1359274 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 156.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7734672 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 146.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8165520 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 616.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1943025 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 615.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1944792 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 695727, "unit": "ns/op\t 373006 B/op\t 5608 allocs/op", "extra": "1647 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 96.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12605895 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45291435 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.617, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "329786308 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.699, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "443917944 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 147, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8101899 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 224.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5276133 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 147.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8168064 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 251090, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4705 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 221110, "unit": "ns/op\t 24554 B/op\t 1000 allocs/op", "extra": "5265 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177173, "unit": "ns/op\t 641 B/op\t 0 allocs/op", "extra": "6699 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 487.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2468659 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 489, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2442346 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 419.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2880506 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 796.7, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1504315 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 524.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2282980 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1796, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "832718 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2037, "unit": "ns/op\t 559 B/op\t 7 allocs/op", "extra": "829918 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1426, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "836858 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1824, "unit": "ns/op\t 339 B/op\t 5 allocs/op", "extra": "939750 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1882, "unit": "ns/op\t 342 B/op\t 5 allocs/op", "extra": "927834 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 121.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9821281 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 99.97, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11629627 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.42, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24675933 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.22, "unit": "ns/op\t 676.31 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62336330 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.15, "unit": "ns/op\t 301.27 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26798757 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 706.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1692092 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 128.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9346258 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 498.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2403897 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 332.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3615652 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 369.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3179023 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 714.3, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1707548 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 413.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2885916 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 772.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1489302 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23640, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50755 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23605, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50744 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18078878 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 141.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8290273 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28911544 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 155.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7699830 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.47, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57819885 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52757004 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.01, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56646249 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.81, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50992021 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 30.06, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39806193 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38962171 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12437016 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10309033 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.26, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18202198 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 442.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2711064 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38944148 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8036, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.16, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44457656 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.608, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "746182051 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.97, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35443348 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 75.83, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15537470 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 74.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16105401 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 148.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8084666 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.38, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18086098 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.118, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147974800 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995281972 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.023, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298683135 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44984292 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 70.48, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16499138 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11667382 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8430734 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 104, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11489176 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 361.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3329198 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 82.09, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14319429 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 313.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3835362 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.247, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "370764904 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.435, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "271078996 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.635, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316742016 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.005, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199753358 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.037, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149295709 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.333, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144456966 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12361273 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10314942 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4229, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18563289 times\n2 procs" } ] }, { "commit": { "author": { "email": "36150718+Rorke76753@users.noreply.github.com", "name": "Rorke76753", "username": "Rorke76753" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "56839b433ea67b0c2159f30ee34a34bb9c8e45a2", "message": "🚀 [Feature]: middleware/requestid: don't call \"Generator\" func on existing request ID header (#2371)\n\ncall uuid generator only if rid is empty", "timestamp": "2023-03-15T09:45:42+01:00", "tree_id": "08760091af16c576ca3e9775fbb7ed864f769edc", "url": "https://github.com/gofiber/fiber/commit/56839b433ea67b0c2159f30ee34a34bb9c8e45a2" }, "date": 1678870607931, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1536, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "759620 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3646, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "301202 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3719, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "312712 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 151.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7970677 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 59.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20369577 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 81.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14568853 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 59.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20086416 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 245.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4861704 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 273.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3935119 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.816, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426446056 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 960.2, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1245030 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 752.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1604360 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2601, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "428539 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1392, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "788542 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1248, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "850548 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 123.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9761277 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 139.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8607601 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 121.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9942915 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 314.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3816903 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1924, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "581473 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 584.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2044778 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 130.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9164352 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 148.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7985590 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 223.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5260164 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 214.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5812342 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 418.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2806735 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23350135 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 84.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14032492 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.64, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27033056 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 47.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25597113 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 726.7, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1694110 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 76.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15776053 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 296.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4055878 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4337, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "266133 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82540980 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 147.3, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7998932 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 286, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4165602 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 403.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2971618 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2262, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "496803 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 133.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8551291 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1188, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "881546 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 236.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5058679 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 738.5, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1613944 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 796.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1505673 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 780.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1530916 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 787.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1513092 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 182.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6534442 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.327, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225359221 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21032683 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 41.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28786624 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 101, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12097507 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 109.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10914385 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 39.39, "unit": "ns/op\t 72 B/op\t 0 allocs/op", "extra": "25902613 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 156, "unit": "ns/op\t 82 B/op\t 1 allocs/op", "extra": "7349239 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21598790 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128997657 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3928, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "291854 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3363, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "342360 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4281, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "268666 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4400, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "262686 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1247, "unit": "ns/op\t 791 B/op\t 8 allocs/op", "extra": "998448 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3687, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "318355 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3768, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "305509 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 145.2, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8120091 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.52, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23517337 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20419743 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.024, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298412888 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.031, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198691959 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.806, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "204400774 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 913.1, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1303576 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 907.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1340649 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 168.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7136606 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 153.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7818633 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 616, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1948612 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 609.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1964928 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 687447, "unit": "ns/op\t 373011 B/op\t 5608 allocs/op", "extra": "1714 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 92.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12941791 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46429180 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.214, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373353360 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.812, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426285679 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 156, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7648530 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 220.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5438004 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 155.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7780983 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 242815, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4856 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 227353, "unit": "ns/op\t 24598 B/op\t 1000 allocs/op", "extra": "5168 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 178788, "unit": "ns/op\t 583 B/op\t 0 allocs/op", "extra": "6648 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 484.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2490452 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 482.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2496908 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 411.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2906415 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 807, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1494614 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 529.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2281681 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1807, "unit": "ns/op\t 310 B/op\t 7 allocs/op", "extra": "841104 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2062, "unit": "ns/op\t 568 B/op\t 7 allocs/op", "extra": "808747 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1452, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "777430 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1825, "unit": "ns/op\t 344 B/op\t 5 allocs/op", "extra": "919881 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1890, "unit": "ns/op\t 347 B/op\t 5 allocs/op", "extra": "907897 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 124.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9526891 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 100.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "12037794 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.82, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23695506 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.29, "unit": "ns/op\t 673.81 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61848244 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.32, "unit": "ns/op\t 300.06 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27723074 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 693.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1730181 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 123.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9746282 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 487.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2459643 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 328.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3634732 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3276963 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 701.2, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1676002 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 420.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2852389 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 812.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1554525 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23111, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51980 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23038, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51366 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17937444 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 139.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8608802 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28967278 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 154.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7717878 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56676426 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.53, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57149420 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.96, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58477462 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.08, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50528623 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.67, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39821344 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.55, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38950302 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12357406 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10270702 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.61, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17935969 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 455, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2626449 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37200207 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8045, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 24.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44725712 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.608, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "746010132 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.91, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35308262 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 76.6, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15309360 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 85.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13907948 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 150.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7949128 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 63.31, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18483812 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.028, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149620368 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995579874 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.016, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298615094 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "43963120 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 68.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16938994 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11645889 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8389407 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 103.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11423050 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 349, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3417584 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 81.24, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14307500 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 297.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4027334 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.354, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "355758565 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "213321267 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.623, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330287151 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.241, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228561134 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.038, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149333949 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.264, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129682286 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12392612 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 122.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10331143 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4194, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21882520 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "M. Efe Çetin", "username": "efectn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "9064eb64692bc5adb058b2f8d302397c55010b30", "message": ":broom: chore: drop go 1.16 support & update dependencies (#2374)\n\n* :broom: chore: drop go 1.16 support\r\n\r\n* downgrade uniseg\r\n\r\n* fix tests\r\n\r\n* fix tests\r\n\r\n* fix tests", "timestamp": "2023-03-20T08:22:31+01:00", "tree_id": "3ff8c2baa11c11d5f30f62f848b36f428de9b8c0", "url": "https://github.com/gofiber/fiber/commit/9064eb64692bc5adb058b2f8d302397c55010b30" }, "date": 1679297617795, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1560, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "917960 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3661, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "324427 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3779, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "311103 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 146.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8187249 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 58.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20360620 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 79.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14983036 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 60.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17702815 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 248.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4816407 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 249.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4808877 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.284, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "527348084 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 942.1, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1270366 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 757.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1584583 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2618, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "435295 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1394, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "782086 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1235, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "886777 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 118.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10263142 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 141.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8419053 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 125.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9453703 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 307.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3878234 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1864, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "600057 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 570, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2122248 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9029602 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 147.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "8076236 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 226.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5284609 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 209, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5729178 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 398.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3021952 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 42.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27953564 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 86.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13901556 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 41.94, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27401616 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 49.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24511980 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 727.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1590657 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 72.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16541906 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 297.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4041356 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4269, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "270918 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "83131594 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 143.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8317785 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 287.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4187752 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 397.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3018704 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2226, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "494637 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 141, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8361114 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1181, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "887518 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 238, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5042878 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 735.7, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1633149 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 784.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1526372 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 779.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1548162 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 765.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1573822 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 182.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6530997 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.322, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225227118 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 56.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21145760 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27825297 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 104.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11772219 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 114.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10382263 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 41.12, "unit": "ns/op\t 70 B/op\t 0 allocs/op", "extra": "33328177 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 156.4, "unit": "ns/op\t 95 B/op\t 1 allocs/op", "extra": "7751666 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21636922 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.355, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128159475 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3861, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "293284 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3323, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "344101 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4225, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "275808 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4386, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "263893 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1260, "unit": "ns/op\t 810 B/op\t 8 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3809, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "312691 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3871, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "303001 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 155, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7520938 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 51.38, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23737304 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20829804 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298166127 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.345, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "158996316 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.809, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "210283213 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 968.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1253668 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 919.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1294494 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 162.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7328480 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 150.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8024132 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 628.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1905530 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 627.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1911188 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 742332, "unit": "ns/op\t 372998 B/op\t 5608 allocs/op", "extra": "1599 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 91.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13019246 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46805406 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.304, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372897658 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.779, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "433257260 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 149.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7992061 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 207.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5872575 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 149.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8000454 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 248378, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4746 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 228628, "unit": "ns/op\t 24595 B/op\t 1000 allocs/op", "extra": "5182 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 178436, "unit": "ns/op\t 740 B/op\t 0 allocs/op", "extra": "6625 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 482.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2490266 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 484.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2475248 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 424.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2813532 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 813.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1478152 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 542.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2212245 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1843, "unit": "ns/op\t 313 B/op\t 7 allocs/op", "extra": "814711 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2101, "unit": "ns/op\t 585 B/op\t 7 allocs/op", "extra": "770864 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1470, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "861522 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1798, "unit": "ns/op\t 354 B/op\t 5 allocs/op", "extra": "878964 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1890, "unit": "ns/op\t 342 B/op\t 5 allocs/op", "extra": "928825 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 122.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9959613 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 104.9, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10791397 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.88, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23941808 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 20.03, "unit": "ns/op\t 649.18 MB/s\t 0 B/op\t 0 allocs/op", "extra": "59897425 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.89, "unit": "ns/op\t 296.18 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27276315 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 706.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1695016 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 140.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8569448 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 482.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2484153 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 322.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3749384 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 372.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3196860 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 697.8, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1740216 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 419.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2862699 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 784.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1526432 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23175, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51422 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23009, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51640 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18178908 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 139.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8629712 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29037547 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 155, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7663867 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.47, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56271837 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.65, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54604638 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.19, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57439484 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.96, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51620767 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.62, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40106716 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.55, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38624108 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12442254 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10280935 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.65, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18088533 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 456.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2627931 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37033743 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8037, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.04, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42170557 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "745680621 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.09, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35350276 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 76.86, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15334111 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 84.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14278028 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 147.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8207037 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 63.88, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18502851 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.039, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149907595 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995197293 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.019, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298430168 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45244659 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 68.91, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17090078 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 103, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11593676 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8202685 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 103.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11625511 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 350.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3341317 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 82.36, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14502454 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 297.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4001704 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.272, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "369923392 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.742, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253312216 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331301632 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.265, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "227419712 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.037, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149110393 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.171, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130280949 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12413614 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10325572 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4261, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21871210 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "7536ce8b1abfa84967a3e77f97b1e48c085975e7", "message": "Bump actions/setup-go from 3 to 4 (#2376)\n\nBumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.\r\n- [Release notes](https://github.com/actions/setup-go/releases)\r\n- [Commits](https://github.com/actions/setup-go/compare/v3...v4)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: actions/setup-go\r\n dependency-type: direct:production\r\n update-type: version-update:semver-major\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", "timestamp": "2023-03-20T08:27:53+01:00", "tree_id": "2f794b1854c7b6ae6ea7c2320c64ee4019921a1e", "url": "https://github.com/gofiber/fiber/commit/7536ce8b1abfa84967a3e77f97b1e48c085975e7" }, "date": 1679297931129, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1448, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "764024 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 4206, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "274141 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3731, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "308494 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 148.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8128244 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 58.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19214155 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 79.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15059289 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 60.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19769874 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 248.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4808630 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 250.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4252201 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.274, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "518034652 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 941.4, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1271803 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 756.7, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1584135 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2598, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "439641 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1396, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "784323 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1243, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "889414 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 132.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8991174 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 144.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6965286 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 126, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9545889 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 309, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3890865 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 1906, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "591544 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 565.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1839656 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8914788 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 146.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "8105719 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 226.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5279440 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 208.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5597418 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 397.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2997198 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 42.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27924243 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 86.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13831176 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 41.92, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27484666 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 49.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24255718 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 707.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1752966 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 72.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16472562 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 293.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "4067661 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4263, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "272907 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82771732 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 142.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8268595 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 284.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4191687 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 395.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3026841 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2259, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "504907 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 140.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8387212 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1190, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "884250 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 238.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5054624 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 731.2, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1639650 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 791.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1530378 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 772.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1553799 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 762.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1569088 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 182.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6507465 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.333, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225279112 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 56.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21261318 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27655561 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 101.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11790746 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 135.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8796310 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 35.48, "unit": "ns/op\t 65 B/op\t 0 allocs/op", "extra": "28877566 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 154.5, "unit": "ns/op\t 95 B/op\t 1 allocs/op", "extra": "7699351 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21790471 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.358, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128754614 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3854, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "299036 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3312, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "345643 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4210, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271113 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4370, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "266952 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1224, "unit": "ns/op\t 805 B/op\t 8 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3661, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "315147 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3723, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "311170 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 141.1, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8419058 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 48.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24022068 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 57.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20823241 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.023, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297935149 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.263, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "158205038 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.764, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "209786085 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 913.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1307486 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 904.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1337094 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 162.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7358883 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 151.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8044456 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 618.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1940865 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 617.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1935484 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 673871, "unit": "ns/op\t 373010 B/op\t 5608 allocs/op", "extra": "1740 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 92.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13069207 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45848635 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.216, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372958176 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.813, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "434293909 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 150.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7990696 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 209.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5935624 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 150.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8030314 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 245574, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4759 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 228234, "unit": "ns/op\t 24559 B/op\t 1000 allocs/op", "extra": "5205 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 179410, "unit": "ns/op\t 677 B/op\t 0 allocs/op", "extra": "6646 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 482.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2491078 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 481.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2483335 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 425.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2805954 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 814, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1468476 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 539.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2219400 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1883, "unit": "ns/op\t 313 B/op\t 7 allocs/op", "extra": "819259 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2038, "unit": "ns/op\t 567 B/op\t 7 allocs/op", "extra": "810471 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1458, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "853765 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1766, "unit": "ns/op\t 357 B/op\t 5 allocs/op", "extra": "866632 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1822, "unit": "ns/op\t 341 B/op\t 5 allocs/op", "extra": "933271 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 118.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9995136 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 107.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11232976 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.44, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24402796 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.31, "unit": "ns/op\t 673.09 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62187961 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.78, "unit": "ns/op\t 296.96 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27497118 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 708.5, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1690116 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 140.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8575548 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 488.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2495108 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 321.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3685536 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 373.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3198998 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 693.7, "unit": "ns/op\t 14 B/op\t 1 allocs/op", "extra": "1722474 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 418.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2834277 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 780.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1549134 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23140, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51704 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23104, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51584 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18098029 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 139.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8556267 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29045798 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 154.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7711792 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56651884 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52461795 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.97, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57833839 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.96, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50157194 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.59, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39452854 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38537943 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12433140 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10275865 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.57, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17973711 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 456.2, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2637402 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37018477 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8038, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.06, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43699794 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.608, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "744538802 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35310997 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 76.92, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15412708 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 86.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13882467 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 148.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8074293 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 63.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18357460 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "148900680 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995000577 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298501082 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45070262 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 69.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17095951 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 103, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11636184 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8480481 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 103.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11486190 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 349.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3379191 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 81.86, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14488160 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 296.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4023250 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.321, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "368328368 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.768, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253308182 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.621, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331673259 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "229037035 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.055, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "148995982 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129734420 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12420391 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10333099 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4223, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21975102 times\n2 procs" } ] }, { "commit": { "author": { "email": "derkan@gmail.com", "name": "Erkan Durmuş", "username": "derkan" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "547db83cdd91cfa7f7f75879d5fe9dffb1b6e563", "message": "Get mime fallback (#2340)\n\n* added fallback to go's mime detection\r\n\r\n* added test for getting mime\r\n\r\n* added err check\r\n\r\n* added err check\r\n\r\n* removing import alias for builtin mime and aserting error for adding mime type.\r\n\r\n* removing import alias for builtin mime and aserting error for adding mime type.\r\n\r\n* added fallback to go's mime detection\r\n\r\n* added test for getting mime\r\n\r\n* added err check\r\n\r\n* added err check\r\n\r\n* removing import alias for builtin mime and aserting error for adding mime type.\r\n\r\n* removing import alias for builtin mime and aserting error for adding mime type.\r\n\r\n---------\r\n\r\nCo-authored-by: René Werner ", "timestamp": "2023-03-24T14:29:42+01:00", "tree_id": "5540ed24a68ef4e8e6209cf9308eab9deb4ddfc3", "url": "https://github.com/gofiber/fiber/commit/547db83cdd91cfa7f7f75879d5fe9dffb1b6e563" }, "date": 1679665247953, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1676, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "598026 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5872, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "174303 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5445, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "212383 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 157.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7577907 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 61.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19641975 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 80.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14651274 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 62.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18687781 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 238.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5032578 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 435.6, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2715349 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.682, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447915105 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 966.8, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1247863 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 740.6, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1621986 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2690, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "373473 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1342, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "801552 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1194, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "898659 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 127.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9421352 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 150.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7945743 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 131.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9083144 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 319.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3768174 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2884, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "375246 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 561.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2136730 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9020497 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 170.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6783300 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 261.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4615246 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 231.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5189419 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 405.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2825056 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27142178 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 84.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14361826 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 45.28, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23167098 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 46.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23836816 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 670.1, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1768740 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 68.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17500806 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 340.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3496969 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4206, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "268677 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "72693194 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 162, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7334750 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 297.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4058836 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 402.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2980362 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3158, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "370018 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 139.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8192910 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1242, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "866248 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 244.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4904253 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 785.9, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1550744 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 822.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1471910 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 813.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1472182 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 809.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1494453 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 191.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6304123 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.413, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "223747094 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20871313 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 44.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27359300 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 100.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11910294 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10805863 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 41.94, "unit": "ns/op\t 75 B/op\t 0 allocs/op", "extra": "24896449 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 167.8, "unit": "ns/op\t 87 B/op\t 1 allocs/op", "extra": "6922238 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21829353 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.524, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125527048 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3963, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "279189 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3391, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "305302 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4199, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "258610 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4364, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "273529 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1457, "unit": "ns/op\t 796 B/op\t 8 allocs/op", "extra": "800970 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5478, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "210877 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5483, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "212263 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 147.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8129198 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.62, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23873988 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20069181 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.722, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "321769234 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.036, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "237657226 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.725, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254371908 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 918.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1297795 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 926.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1291167 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 169.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7148265 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 158.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7485252 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 603.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1974474 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 603.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1972015 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 761812, "unit": "ns/op\t 373006 B/op\t 5608 allocs/op", "extra": "1533 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 92.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12612010 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46499707 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356119562 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.688, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "445169038 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 159.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7319815 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 208.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5744104 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 158.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7522543 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 262020, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4551 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 209183, "unit": "ns/op\t 24615 B/op\t 1000 allocs/op", "extra": "5598 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 161680, "unit": "ns/op\t 647 B/op\t 0 allocs/op", "extra": "7282 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 498.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2404422 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 496.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2392164 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 413.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2893806 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 814.7, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1491985 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 515.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2307012 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2237, "unit": "ns/op\t 419 B/op\t 7 allocs/op", "extra": "853066 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2413, "unit": "ns/op\t 569 B/op\t 7 allocs/op", "extra": "806336 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1355, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "837126 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1807, "unit": "ns/op\t 359 B/op\t 5 allocs/op", "extra": "859342 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1942, "unit": "ns/op\t 340 B/op\t 5 allocs/op", "extra": "938743 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 122.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9592069 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 106.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11336488 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49.36, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24100858 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.16, "unit": "ns/op\t 678.62 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62536560 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 44.11, "unit": "ns/op\t 294.72 MB/s\t 0 B/op\t 0 allocs/op", "extra": "24324068 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 737.1, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1661461 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 140.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8518576 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 475.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2516956 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 314.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3788097 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 373.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3207195 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 722.2, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1656625 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 415.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2871612 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 803.6, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1486704 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23818, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50156 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24744, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48039 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24965133 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 130.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9088863 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19538654 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 144.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8068417 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.24, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59152434 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.96, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59462611 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58515542 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.08, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51184065 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.99, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39438636 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.02, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39312018 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 100, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12010492 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 110, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10917354 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 69.69, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17504088 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 500.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2416496 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36796506 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.754, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42491184 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.676, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "713505097 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.96, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34262305 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 78.35, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14736144 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 93.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12887742 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 153.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7847920 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.89, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18334722 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.043, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "151096376 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297929770 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "48190138 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 64.48, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18708132 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 80.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14895273 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 142.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8206310 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 97.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12348193 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 343.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3470713 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 91.28, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13546810 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 282.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4189154 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.693, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324780307 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.369, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274478636 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.016, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397563117 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.209, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231045704 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "153632827 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.129, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162772488 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 82.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14606815 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 110, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10924005 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3746, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21429727 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "69884117c294933c6a2b46f8eb204a1cfdfeb93f", "message": "prepare release v2.43.0", "timestamp": "2023-03-24T18:23:38+01:00", "tree_id": "a86b7ef54fc58f567ba1bb7697ae276342308452", "url": "https://github.com/gofiber/fiber/commit/69884117c294933c6a2b46f8eb204a1cfdfeb93f" }, "date": 1679679366498, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1477, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "696788 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3676, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "308539 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3755, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "312042 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 159.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7554490 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 59.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20168431 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 82.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14488784 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 60.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19938352 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 240, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4986868 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 425.1, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2529210 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.814, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426423044 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 973.3, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1234982 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 784.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1547036 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2751, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "418162 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1431, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "779326 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1275, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "854439 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 122, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9829014 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 151.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7865902 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 133.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8949600 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 311.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3826585 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2676, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "449512 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 559.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2143592 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8930155 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 175.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6821857 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 268.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4431512 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 234.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5110140 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 434.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2757849 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27407241 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 86.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14011587 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 43.49, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26827424 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 45.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26409354 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 701.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1746189 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17103027 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 330.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3645790 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4365, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "267528 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "80488392 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 147.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7997588 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 301, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3963526 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 402, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2983395 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2937, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "379044 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 136.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8453917 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1238, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "889674 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 237.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5051876 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 784.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1509369 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1018, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1405837 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1287, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "809035 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 824.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1453581 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 184.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6444404 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.309, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226196422 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 59.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20572173 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 40.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29513871 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 98.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12066573 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 111.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10697221 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 38.71, "unit": "ns/op\t 67 B/op\t 0 allocs/op", "extra": "27696310 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 158.8, "unit": "ns/op\t 85 B/op\t 1 allocs/op", "extra": "7061204 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 56.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20102208 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.753, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127766794 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3969, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "291795 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3421, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "337382 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4346, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "272011 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4494, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "256135 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1256, "unit": "ns/op\t 805 B/op\t 8 allocs/op", "extra": "869767 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3714, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "320577 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3797, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "306592 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 148.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8028476 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 50.08, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23564318 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 64.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20359189 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.023, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298009954 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.036, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192561820 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.711, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "201740475 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 911.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1278732 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 910.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1311561 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 156.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7661342 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 146.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8223778 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 623.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1933066 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 627.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1930134 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 753200, "unit": "ns/op\t 373015 B/op\t 5608 allocs/op", "extra": "1600 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 118.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10080142 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 36.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32962554 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.619, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331439930 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "443831637 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 146.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8178543 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 212.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5863342 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 147.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8098026 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 248916, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4725 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 221415, "unit": "ns/op\t 24508 B/op\t 1000 allocs/op", "extra": "5319 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177198, "unit": "ns/op\t 672 B/op\t 0 allocs/op", "extra": "6691 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 485.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2480505 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 485.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2457706 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 424.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2812015 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 815.9, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1471700 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 538.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2223525 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1871, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "833682 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2072, "unit": "ns/op\t 574 B/op\t 7 allocs/op", "extra": "792938 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1444, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "793819 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1851, "unit": "ns/op\t 353 B/op\t 5 allocs/op", "extra": "881530 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1895, "unit": "ns/op\t 347 B/op\t 5 allocs/op", "extra": "908685 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 119.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10068380 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 107.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10945486 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.77, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23861071 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.34, "unit": "ns/op\t 672.26 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62071743 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.92, "unit": "ns/op\t 295.98 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27428365 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 715.8, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1671162 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 140.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8543024 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 484.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2474468 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 320.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3727525 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 375.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3066490 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 698.9, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1704714 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 418.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2810544 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 721.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1584876 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23589, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50532 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23641, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50410 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 41.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28630846 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 140.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8578567 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 65.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18195658 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 155.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7679658 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58751334 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.49, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54461126 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.02, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57568405 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.16, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50477722 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.62, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40170116 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.57, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38505906 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12434852 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10299136 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 63.83, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17547889 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 462.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2575364 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35356717 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8045, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43110174 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.608, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "746064769 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35484642 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 74.48, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15696188 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 87.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13772292 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 149.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7953474 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.39, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18318820 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.066, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "150685722 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "990172447 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298153454 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44364664 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 69.73, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17090126 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 97.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12298404 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 149.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8424271 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 103.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11459804 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 356.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3377049 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 81.71, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14352870 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 299.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3987949 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.259, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "367757944 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.575, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "243180696 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.638, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "329911485 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.279, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226704600 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.357, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144308124 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130966108 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12452557 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10328895 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.425, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21910639 times\n2 procs" } ] }, { "commit": { "author": { "email": "git@leonklingele.de", "name": "leonklingele", "username": "leonklingele" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "2f591c991d9c366bcf7b0f43ea0a8fe62d968fc1", "message": "Merge pull request #2381 from gofiber/dependabot/go_modules/github.com/mattn/go-isatty-0.0.18\n\nBump github.com/mattn/go-isatty from 0.0.17 to 0.0.18", "timestamp": "2023-03-25T15:37:10+01:00", "tree_id": "3b6bd46e0244c7c9cce09b6777e0de9a8fc336da", "url": "https://github.com/gofiber/fiber/commit/2f591c991d9c366bcf7b0f43ea0a8fe62d968fc1" }, "date": 1679755697318, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1691, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "624064 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6027, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "170508 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5490, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "212215 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 157.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7610539 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 61.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19207640 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 80.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14957509 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 62.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19177435 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 238.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5030653 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 439.9, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2457208 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.685, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444666181 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 965.6, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1242650 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 733.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1624165 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2681, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "427210 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1353, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "823969 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1194, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "900885 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 127.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9424036 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 152.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7917621 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 130.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9221348 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 320.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3785162 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2784, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "388950 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 562.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2136073 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8994234 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 171.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6937399 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 260.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4628978 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 232.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5035406 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 404.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2983268 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27136452 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 84.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14468023 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 44.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25837178 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 48.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24926347 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 666.8, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1780095 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 68.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17600772 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 332.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3327964 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4204, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "279446 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "73335422 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 162.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7339695 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 294.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4049197 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 406.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3010717 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3178, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "355101 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 139.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8241724 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1235, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "889215 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 243.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4933803 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 772.2, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1548919 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 810, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1478140 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 807.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1488392 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 790.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1511042 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 190.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6253045 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.347, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224187784 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20794672 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 45.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25769211 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 101.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11799195 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 111.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10800788 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 54.43, "unit": "ns/op\t 77 B/op\t 0 allocs/op", "extra": "19491450 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 167, "unit": "ns/op\t 86 B/op\t 1 allocs/op", "extra": "6949561 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21788848 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.654, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124809997 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3875, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "294724 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3192, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "363564 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4147, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "277023 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4174, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "281761 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1391, "unit": "ns/op\t 802 B/op\t 8 allocs/op", "extra": "778635 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5397, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "219788 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5443, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "216348 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 144.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8412938 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 48.73, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23951162 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20044258 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.718, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322219858 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238395574 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.733, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254422602 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 925.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1292640 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 927.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1313218 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 170.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6979519 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 158.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7525435 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 598.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1983974 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 599.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1991354 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 757193, "unit": "ns/op\t 373004 B/op\t 5608 allocs/op", "extra": "1519 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 93.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12860739 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45537111 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "357046579 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.681, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447392776 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 157.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7420316 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 209.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5749200 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 158.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7517322 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 260926, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4544 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 210760, "unit": "ns/op\t 24572 B/op\t 1000 allocs/op", "extra": "5710 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 161865, "unit": "ns/op\t 726 B/op\t 0 allocs/op", "extra": "7308 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 500.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2377735 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 498.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2395850 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 415.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2904339 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 794.8, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1467548 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 515.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2326408 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2550, "unit": "ns/op\t 416 B/op\t 7 allocs/op", "extra": "863312 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2441, "unit": "ns/op\t 564 B/op\t 7 allocs/op", "extra": "818154 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1356, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "776037 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1913, "unit": "ns/op\t 359 B/op\t 5 allocs/op", "extra": "859516 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2044, "unit": "ns/op\t 343 B/op\t 5 allocs/op", "extra": "923310 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 122.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9793990 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 106.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11290160 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49.63, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23966869 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.3, "unit": "ns/op\t 673.64 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62456686 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 44.06, "unit": "ns/op\t 295.08 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27237613 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 698.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1712324 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 140.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8520015 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 474.2, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2536322 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 317, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3755875 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 373.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3212098 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 695.3, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1737061 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 421.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2880723 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 763.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1551763 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23613, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50854 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23704, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50397 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25006677 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 133.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9026888 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19582309 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 143.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8227868 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 17.96, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59382028 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.47, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57091348 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.39, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59603244 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54322570 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.74, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39036060 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.01, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38818230 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12019862 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 110.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10823006 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.69, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17752422 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 494.9, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2399466 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36750592 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7539, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.62, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41973792 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.678, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "714678957 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.54, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35772254 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.36, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15501337 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 93.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12839258 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 154.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7831659 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 63.83, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17841211 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.931, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "151312582 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.023, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298652056 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "50264538 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 62.44, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18707455 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 80.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14801305 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8387218 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 95.96, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11828748 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 337.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3523711 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 84.95, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14090247 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 274.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4307644 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.694, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324889087 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.365, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274907665 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.013, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397691472 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.189, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231266373 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.816, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155733627 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.234, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "165718330 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14676754 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10867102 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3726, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21208372 times\n2 procs" } ] }, { "commit": { "author": { "email": "git@leonklingele.de", "name": "leonklingele", "username": "leonklingele" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "c6e86ac9064fa436c6de4933a849b68a27a79127", "message": "github/workflows: also run tests with Go 1.19.x (#2384)", "timestamp": "2023-03-25T17:47:38+01:00", "tree_id": "98d04a0a40f6b8db368257a45f4fba6a3c1ea27c", "url": "https://github.com/gofiber/fiber/commit/c6e86ac9064fa436c6de4933a849b68a27a79127" }, "date": 1679763520220, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 652, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1856556 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5394, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "221594 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5468, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "218527 times\n2 procs" }, { "name": "Benchmark_Ctx_Accepts", "value": 157.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7509324 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 61.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19684707 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 80.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14963642 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 62.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19064546 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 238.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5017285 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 432, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2611090 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.679, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447828463 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 958, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1252293 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 728.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1635102 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2669, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "423462 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1337, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "833034 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1190, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "903685 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 127.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9397578 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 153.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7838647 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 133.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9131158 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 320.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3727010 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2822, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "413096 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 561.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2137173 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8966371 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 169.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6983451 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 260.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4652456 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 230.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5209726 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 401.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2963054 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27088791 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 84.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14258732 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 44.45, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26368099 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 49.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24223088 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 675.8, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1785860 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 68.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17705892 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 331.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3596640 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4170, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "276979 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "73388726 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 162.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7330363 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 292.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4101086 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 395.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3030908 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3173, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "374149 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 141, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8062906 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1230, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "886063 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 244.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4848705 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 773.7, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1558797 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 805.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1488172 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 795.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1489167 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 789.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1525298 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 190.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6361641 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.331, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224587132 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20606812 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 47.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25725151 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 106.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11524444 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 111, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10730541 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 49.65, "unit": "ns/op\t 72 B/op\t 0 allocs/op", "extra": "20874922 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 170, "unit": "ns/op\t 86 B/op\t 1 allocs/op", "extra": "6963580 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21870594 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.714, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124272262 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3870, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "296696 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3170, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "350809 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4116, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "279410 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4153, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "281797 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1339, "unit": "ns/op\t 801 B/op\t 8 allocs/op", "extra": "784180 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5358, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "222532 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5395, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "218215 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 143.2, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8323354 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 48.22, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24457654 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20112027 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.721, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322116966 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.031, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238283182 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.738, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253793302 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 929.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1281710 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 917.2, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1305105 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 172.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7087372 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 160.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7414004 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 604.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1996434 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 596.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1990165 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 754752, "unit": "ns/op\t 373015 B/op\t 5608 allocs/op", "extra": "1578 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 98.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12783147 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46389456 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.362, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356774593 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.681, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447166796 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 158.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7342797 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 208.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5670668 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 159.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7518714 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 258951, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4500 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 210768, "unit": "ns/op\t 24575 B/op\t 1000 allocs/op", "extra": "5677 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 161861, "unit": "ns/op\t 660 B/op\t 0 allocs/op", "extra": "7144 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 501.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2406650 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 502.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2389530 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 412.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2895874 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 802.7, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1493280 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 515.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2318829 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2038, "unit": "ns/op\t 319 B/op\t 7 allocs/op", "extra": "767186 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2231, "unit": "ns/op\t 576 B/op\t 7 allocs/op", "extra": "789108 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1342, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "784015 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1728, "unit": "ns/op\t 262 B/op\t 5 allocs/op", "extra": "762488 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2070, "unit": "ns/op\t 347 B/op\t 5 allocs/op", "extra": "906462 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 122.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9786938 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 105.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11338420 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 50.05, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23246446 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.16, "unit": "ns/op\t 678.63 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62302755 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 44.12, "unit": "ns/op\t 294.67 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26902678 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 698.1, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1717142 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 140.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8528293 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 477.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2518198 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 323.1, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3753006 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 372.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3216636 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 684.1, "unit": "ns/op\t 14 B/op\t 1 allocs/op", "extra": "1728055 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 414.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2889571 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 723.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1609245 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23484, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50925 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24172, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49312 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25025031 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 130.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9134623 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19539052 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 143.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8191466 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.04, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60129554 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.88, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55309876 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.13, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55927269 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53813695 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.42, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38717004 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.07, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38912486 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 100, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12000966 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10870288 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.01, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17525188 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 492.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2422423 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36910603 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7535, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "46407792 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.675, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "716507796 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.33, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35338533 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 76.42, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15229692 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 91.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13122268 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 155.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7692476 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 63.85, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18354148 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.954, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "150903506 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298708192 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "49211206 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 62.44, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18365694 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 80.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14970703 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8341873 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 96.35, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12500470 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 335.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3551160 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 83.96, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14178054 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 273.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4319085 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.693, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325163679 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.361, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274814476 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.015, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397529612 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.197, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231015462 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.702, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155769986 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.276, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "163582507 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 82.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14670223 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10957562 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3718, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21545125 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "28d9abb71b4bf4d0eb01b3b5914fa9d5bac6d47c", "message": "Fix #2383, accepts mimeType (#2386)\n\n* Fix #2383, accepts mimeType\r\n\r\n* Fix #2383, accepts mimeType\r\n\r\n* Fix #2383, accepts mimeType", "timestamp": "2023-03-27T15:55:41+02:00", "tree_id": "6399cb6897c4c348d831d0f8eab188cdecee2c39", "url": "https://github.com/gofiber/fiber/commit/28d9abb71b4bf4d0eb01b3b5914fa9d5bac6d47c" }, "date": 1679926096063, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1510, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "712590 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6714, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "159764 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5720, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "209992 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 62.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19204820 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 82.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14702595 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 63.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18919920 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 239.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5018143 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 434.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2577453 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.682, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446343099 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 960, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1244707 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 772, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1566118 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2688, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "421725 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1329, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "821618 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1192, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "882852 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 127, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9433586 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 184.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6517219 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 137.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8735623 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 342.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3510748 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2909, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "394466 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 588.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2056669 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 132.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9009363 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 165.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7121745 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 249.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4802800 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 223.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5367691 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 385.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3108702 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27148749 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 86.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13793919 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.61, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27500779 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 52.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22833528 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 674.1, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1767104 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17292406 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 340.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3514394 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4247, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "277454 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "79074678 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 161.3, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7372641 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 295, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4083381 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 399.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3007105 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3259, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "352360 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 142.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7999264 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1271, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "873805 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 244.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4881259 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 787, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1523875 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 812.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1471245 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 806.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1493622 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 805.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1502875 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 191.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6169880 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.348, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "222960962 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20748386 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 48.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25141078 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 104.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11421787 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 112.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10747880 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 42.08, "unit": "ns/op\t 68 B/op\t 0 allocs/op", "extra": "27401846 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 164.2, "unit": "ns/op\t 87 B/op\t 1 allocs/op", "extra": "6921042 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21394791 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 10.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3904, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "274204 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3207, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "355311 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4166, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "278228 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4162, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269034 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1473, "unit": "ns/op\t 795 B/op\t 8 allocs/op", "extra": "767439 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5460, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "220226 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5517, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "212469 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 142.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7997390 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23481258 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20477665 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.797, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316139674 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.032, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238428553 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.721, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253864767 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 935.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1283637 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 932.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1290681 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 173.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6911588 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 159.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7460751 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 600.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1995396 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 602.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1990351 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 773797, "unit": "ns/op\t 372996 B/op\t 5608 allocs/op", "extra": "1484 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 93.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12899658 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45558553 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.373, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "355870605 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.686, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446067951 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 160.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7499439 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 210.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5745883 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 160.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7461360 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 259325, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4560 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 210750, "unit": "ns/op\t 24559 B/op\t 1000 allocs/op", "extra": "5528 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162006, "unit": "ns/op\t 696 B/op\t 0 allocs/op", "extra": "7329 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 502.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2388673 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 506.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2387338 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 412.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2887069 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 812.3, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1492099 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 515.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2308286 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2098, "unit": "ns/op\t 314 B/op\t 7 allocs/op", "extra": "803433 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2361, "unit": "ns/op\t 589 B/op\t 7 allocs/op", "extra": "761348 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1371, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "869952 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1747, "unit": "ns/op\t 254 B/op\t 5 allocs/op", "extra": "829142 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2056, "unit": "ns/op\t 346 B/op\t 5 allocs/op", "extra": "910390 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 122.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9657726 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 106.1, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10066838 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49.73, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23793714 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.26, "unit": "ns/op\t 675.08 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62339734 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.95, "unit": "ns/op\t 295.80 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26599609 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 701.8, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1700696 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 139.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8558125 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 479.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2491263 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 315.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3779532 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 374.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3180810 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 694.2, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1727605 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 417.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2847609 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 829.6, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1392405 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23995, "unit": "ns/op\t 8535 B/op\t 207 allocs/op", "extra": "49554 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23925, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49552 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25010336 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 130.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9198824 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19549544 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 144, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8290360 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.05, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59875876 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.66, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56115714 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.29, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57405898 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.46, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53793110 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39155530 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.11, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38778169 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12010994 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 112, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10701493 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.31, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17656509 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 496.1, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2403295 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36533514 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.755, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.76, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42677632 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.677, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "714685074 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.12, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35034883 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.57, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14944414 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 91.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13136601 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 153.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7783818 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.91, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18162554 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.948, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "150853743 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297978465 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "49849816 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 62.64, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18377539 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 80.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14884023 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8414739 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 96.21, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11197183 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 342.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3489514 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 85.32, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14170827 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 281.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4260008 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.695, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324957345 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274832456 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.015, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397354260 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.192, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230998339 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.716, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155794327 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.312, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "165025131 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14502793 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10950643 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.372, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21374155 times\n2 procs" } ] }, { "commit": { "author": { "email": "iliya.aghamajidi@gmail.com", "name": "Iliya", "username": "dozheiny" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "bf31f1f3c6e31a434d6489af3b904921820d7bb4", "message": "💊 Change default value of Querybool from true to false. (#2391)\n\n* 🩹 Fix QueryBool function: change default value from true to false\r\n\r\n* 📚 Update QueryBool function document\r\n\r\n* Update ctx.md\r\n\r\n---------\r\n\r\nCo-authored-by: RW ", "timestamp": "2023-03-30T13:26:26+02:00", "tree_id": "2f10ec9d7fae7064c34d0098db7ca38137de8218", "url": "https://github.com/gofiber/fiber/commit/bf31f1f3c6e31a434d6489af3b904921820d7bb4" }, "date": 1680176267994, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1665, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "700024 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6256, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "171418 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6587, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "172623 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 68.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17310932 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 91.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12737160 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 70.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17231394 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 263.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4608747 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 498.1, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2163037 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.015, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "382377944 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1169, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 941.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1213342 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3205, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "341355 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1563, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "749979 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1383, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "826840 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 145.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7958996 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 207.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5598223 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 149, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7958025 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 411.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3133198 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3405, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "338388 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 678.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1817190 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 147.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8130484 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 197.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5930860 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 283.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4229809 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 259.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4462059 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 468, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2511117 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 53.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22494270 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 101.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10501357 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 49.18, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22207032 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 56.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22307768 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 765.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1526880 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 78.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14478626 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 415.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2894979 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5350, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "229045 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 17.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "62157784 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 200.4, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5794546 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 357.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3368236 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 476.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2469488 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3728, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "314322 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 169.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6717943 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1505, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "742981 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 297, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3853422 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 983.6, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1261820 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 987.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1216892 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 998.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1240600 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1004, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 236.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5327096 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.375, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "186593122 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 68.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17521342 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 53.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22850622 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 119.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10086200 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 133.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8711602 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 60.02, "unit": "ns/op\t 71 B/op\t 0 allocs/op", "extra": "16836038 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 198.5, "unit": "ns/op\t 81 B/op\t 1 allocs/op", "extra": "5970086 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 66.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18167824 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 12.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4670, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "244610 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3763, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "304738 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4710, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "224568 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4781, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "235483 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1546, "unit": "ns/op\t 801 B/op\t 8 allocs/op", "extra": "727081 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6301, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "183596 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6213, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "189519 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 164.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7461117 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 55.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21341653 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 66.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18260498 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.271, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "296731375 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.748, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "215095515 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.711, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "218639792 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1038, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1061, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 213.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5494578 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 198, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5799020 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 659.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1855520 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 643.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1778988 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 874578, "unit": "ns/op\t 373002 B/op\t 5608 allocs/op", "extra": "1380 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 109.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10928672 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 34.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "41689300 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "301502282 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.163, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "396277609 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 179.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6021082 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 248.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4830771 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 186.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6045538 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 309613, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3796 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 248504, "unit": "ns/op\t 24528 B/op\t 1000 allocs/op", "extra": "5181 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 182998, "unit": "ns/op\t 640 B/op\t 0 allocs/op", "extra": "6370 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 614.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1869865 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 598.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2089047 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 484.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2354938 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 969.1, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1244226 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 620.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1950721 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2501, "unit": "ns/op\t 331 B/op\t 7 allocs/op", "extra": "687156 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2589, "unit": "ns/op\t 581 B/op\t 7 allocs/op", "extra": "683835 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1675, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "692697 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2027, "unit": "ns/op\t 265 B/op\t 5 allocs/op", "extra": "737430 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2031, "unit": "ns/op\t 272 B/op\t 5 allocs/op", "extra": "694244 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 157.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8133304 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 137.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9543082 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 61.49, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "17726571 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 23.01, "unit": "ns/op\t 564.93 MB/s\t 0 B/op\t 0 allocs/op", "extra": "51791754 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 54.81, "unit": "ns/op\t 237.20 MB/s\t 0 B/op\t 0 allocs/op", "extra": "21369621 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 851.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1378693 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 179.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6576530 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 600.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2084437 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 383.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3153415 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 465.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2694728 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 830.8, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1489268 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 495.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2295942 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 912.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1305820 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 29401, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "38838 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 28321, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "42874 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 53.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20497387 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 150.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8185718 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 69.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17301004 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 166.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7084402 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 20.83, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58656926 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 21.71, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50131527 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 20.37, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53613093 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 23.07, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49238558 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 34.14, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34556919 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 34.07, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32235201 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 119.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10481958 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 129.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9300147 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 80.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14944160 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 594.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1989363 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 37.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31381976 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8551, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 30.06, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37492815 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.997, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "598136475 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 37.04, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "27357448 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 92.56, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12199255 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10508242 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 180.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6660172 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 76.19, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14959978 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.771, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126738538 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.392, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "882655471 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.623, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "257651726 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45588556 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 72.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15603762 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 90.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13254075 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 164.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7200162 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 112.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10504770 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 395.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3098024 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 98.87, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12443983 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 319.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3763060 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.077, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "299516748 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.834, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "244757977 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.326, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "344850194 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.807, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "207932834 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.401, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "135095936 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.762, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "136877541 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 89.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12934957 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 123.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10043432 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4252, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 62.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18670476 times\n2 procs" } ] }, { "commit": { "author": { "email": "git@leonklingele.de", "name": "leonklingele", "username": "leonklingele" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "5a8bc44a1f55149d2f6b78ad128cb1d9c4c1c761", "message": "Merge pull request #2397 from gofiber/fix_logger_data_race\n\nmiddleware/logger: Fix #2396, data race logger middleware", "timestamp": "2023-04-02T14:49:08+02:00", "tree_id": "5ecbf0beb3f9345cdafbf2147b98bcf35cfdf0de", "url": "https://github.com/gofiber/fiber/commit/5a8bc44a1f55149d2f6b78ad128cb1d9c4c1c761" }, "date": 1680440440203, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1931, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "548214 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6477, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "175146 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6646, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "167980 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 72.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15093609 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 97.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12343072 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 74.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16054852 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 277.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4330604 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 525, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "1996933 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.095, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "403008631 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1107, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 933.7, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1307998 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3271, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "349364 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1621, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "724398 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1511, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "755859 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 153.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8075274 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 221.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5607208 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 165.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7418652 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 409.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2829379 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3707, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "347696 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 716.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1706401 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 158, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7650662 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 204.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5834470 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 308.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3881994 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 278.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4406800 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 470.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2595392 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 54.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21099397 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 104.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11539645 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 53.82, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21848354 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 57.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21171693 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 806.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1464746 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 82.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14433039 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 414.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2839712 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5204, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "226188 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 17.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "65483181 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 190.4, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6172303 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 361.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3323810 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 479.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2400601 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3746, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "300538 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 167.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6623935 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1472, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "775606 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 298.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3882008 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 972.8, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1269627 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 981.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1228412 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 984.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1248447 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 942.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1287102 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 236.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5292236 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "193059636 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 67.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17879594 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 55.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22500702 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 117.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10393518 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 136.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8994903 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 65, "unit": "ns/op\t 73 B/op\t 0 allocs/op", "extra": "20351996 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 203.6, "unit": "ns/op\t 84 B/op\t 1 allocs/op", "extra": "5773446 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 64.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17824617 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4723, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "263593 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3848, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "276955 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4963, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "241962 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4972, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "224060 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1752, "unit": "ns/op\t 812 B/op\t 8 allocs/op", "extra": "693243 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6518, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "180742 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6875, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "181374 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 181.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6401095 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 57.92, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20929762 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 68.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17664186 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "265682401 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.784, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "195308714 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.742, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "217600008 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1087, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1084, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "987268 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 199.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6521317 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 186.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6480500 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 670.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1785069 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 639.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1770697 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 935801, "unit": "ns/op\t 372981 B/op\t 5608 allocs/op", "extra": "1255 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10352462 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 30.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38028212 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.853, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "307328258 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "366068764 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 179.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6054396 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 248.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5064360 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 186, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6646159 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 306202, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3939 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 248934, "unit": "ns/op\t 24595 B/op\t 1000 allocs/op", "extra": "5192 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 183693, "unit": "ns/op\t 710 B/op\t 0 allocs/op", "extra": "6530 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 603, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1999189 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 606.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1978558 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 505, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2496789 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1021, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 608.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1951687 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2375, "unit": "ns/op\t 334 B/op\t 7 allocs/op", "extra": "670218 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2582, "unit": "ns/op\t 577 B/op\t 7 allocs/op", "extra": "692277 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1522, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "787735 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1787, "unit": "ns/op\t 259 B/op\t 5 allocs/op", "extra": "788102 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1953, "unit": "ns/op\t 256 B/op\t 5 allocs/op", "extra": "809578 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 143.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8465104 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 124.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9494691 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 60.09, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "20383828 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 21.49, "unit": "ns/op\t 605.06 MB/s\t 0 B/op\t 0 allocs/op", "extra": "51506738 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 51.34, "unit": "ns/op\t 253.22 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23680365 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 851.8, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1525740 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 164.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7550307 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 572.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2106222 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 375.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3193090 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 424.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2718520 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 777.3, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1553762 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 491.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2550841 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 837, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1378798 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 28430, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "41960 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 29049, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "41024 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 56.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20609152 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 149.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7911075 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 70.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16733162 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 177.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6690634 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.65, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45724384 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 23.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52360611 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 21.68, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54408574 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 24.38, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48253977 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 33.48, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34652224 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 34.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35144116 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 118.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10072474 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 130.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9025765 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 78.09, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "15708666 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 601.2, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2012493 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 38.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "34276376 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8389, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 30.76, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35544120 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "637241407 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 38.83, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30082778 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 89.82, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "13189576 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 111, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10371160 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 179.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6616399 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 77.69, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15782245 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.314, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "132572685 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.337, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "852646855 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.672, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253318969 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "42573848 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 75.88, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13401852 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 95.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12729158 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 166.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7102557 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 117.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10723111 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 402.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3059244 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 100.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12075045 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 330.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3939624 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "290377476 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.036, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "241990384 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.401, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "343956228 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.842, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "197969162 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "132523293 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.242, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "145822592 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 92.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11595945 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 128.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9965901 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4379, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 64.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18623839 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "1c5eb1846ebaebd10fca0a655a1400e90a96ed1d", "message": "Bump golang.org/x/sys from 0.6.0 to 0.7.0 (#2405)\n\nBumps [golang.org/x/sys](https://github.com/golang/sys) from 0.6.0 to 0.7.0.\r\n- [Release notes](https://github.com/golang/sys/releases)\r\n- [Commits](https://github.com/golang/sys/compare/v0.6.0...v0.7.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: golang.org/x/sys\r\n dependency-type: direct:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", "timestamp": "2023-04-07T11:22:10+03:00", "tree_id": "44feecbc86eb0b7cdb8f7b443bde4d72676221c2", "url": "https://github.com/gofiber/fiber/commit/1c5eb1846ebaebd10fca0a655a1400e90a96ed1d" }, "date": 1680856414860, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2086, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "752029 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7106, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "154221 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6600, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "164488 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 75.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15560124 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 97.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12162505 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 77.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14008140 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 298.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4011802 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 548.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2107268 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.552, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "337376786 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1699, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "692203 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 957.7, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1280884 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3365, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "342292 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1819, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "597964 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1522, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "719986 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 164.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7533152 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 235, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4927704 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 178.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6835194 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 440.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2725992 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3347, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "353998 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 676.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1770949 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 156.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7900837 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 209.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5605376 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 318.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3837189 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 279.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "3892585 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 532.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2261065 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 52.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22320042 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 104.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11621649 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 55.23, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21449925 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 61.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19089606 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 802.2, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1507612 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 91.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13188483 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 444.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2756692 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5070, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "225188 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 20.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "56659296 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 211.4, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5462398 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 376.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3255220 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 491.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2394067 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3724, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "309208 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 172.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6641473 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1618, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "733207 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 373.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3168088 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1085, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "956890 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1099, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "914409 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1105, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1087, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 244.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4813724 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.646, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "177844438 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 72.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16901446 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 57.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21628170 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 125.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9651049 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 136.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8734550 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 45, "unit": "ns/op\t 71 B/op\t 0 allocs/op", "extra": "26451274 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 200.2, "unit": "ns/op\t 83 B/op\t 1 allocs/op", "extra": "5865573 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 66.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18157297 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 12.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "98006402 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 5169, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "210260 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4384, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "258134 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5742, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "200853 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5564, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "215608 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1668, "unit": "ns/op\t 814 B/op\t 8 allocs/op", "extra": "670170 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6808, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "162987 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6822, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "165384 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 207.1, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "5974230 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 62.38, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18302581 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 71.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16176765 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 5.015, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238424181 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.252, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "190242840 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "280448752 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1057, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1084, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 203.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5987128 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 187.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6374719 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 715.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1713883 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 724.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1689560 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 972621, "unit": "ns/op\t 372993 B/op\t 5608 allocs/op", "extra": "1195 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 114.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10422584 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 33.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32069708 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.358, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "268599669 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.487, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "348649562 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 195.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6009102 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 266.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4498695 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 201.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5906042 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 310954, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3614 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 275422, "unit": "ns/op\t 24541 B/op\t 1000 allocs/op", "extra": "4414 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 223140, "unit": "ns/op\t 662 B/op\t 0 allocs/op", "extra": "5539 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 633.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1946492 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 611.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1965374 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 496.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2349039 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 956.6, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1215814 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 621.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1910130 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2511, "unit": "ns/op\t 331 B/op\t 7 allocs/op", "extra": "686575 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2705, "unit": "ns/op\t 594 B/op\t 7 allocs/op", "extra": "643846 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1628, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "695118 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2043, "unit": "ns/op\t 266 B/op\t 5 allocs/op", "extra": "734512 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2175, "unit": "ns/op\t 266 B/op\t 5 allocs/op", "extra": "736342 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 155.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7714042 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 136, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8617358 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 64.03, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "18916820 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 25.86, "unit": "ns/op\t 502.74 MB/s\t 0 B/op\t 0 allocs/op", "extra": "47805716 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 53.24, "unit": "ns/op\t 244.20 MB/s\t 0 B/op\t 0 allocs/op", "extra": "21898114 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 869.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1367582 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 173.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7032678 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 598.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2014818 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 409.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2890395 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 461.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2570229 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 810.3, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1502208 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 490.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2386226 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 940.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1315750 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 32629, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "39943 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 30542, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "39697 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 62.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17712634 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 183.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6460197 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 62.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19376871 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 167.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7211422 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 23.87, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44764232 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 24.93, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44722856 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.73, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48312290 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 26.67, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "42089266 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 34.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32973560 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 35.82, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32673600 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 119.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9969834 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 127.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9421449 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 82.19, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14471664 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 624.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1933980 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 40.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29692812 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.9278, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 30.79, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35843079 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.918, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "611291295 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.27, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29009521 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 101.6, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12117202 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 121.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10162635 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 191.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6195009 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 77.94, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14705211 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.704, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125398092 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.416, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "818946892 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.397, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "214664451 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 32.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36097650 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 85.64, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13738293 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 115.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10179565 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 176.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6789861 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 115.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9645477 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 452.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2628920 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 116.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10091406 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 376.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3188061 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.809, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "435799318 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.962, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "203302520 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.533, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "335160416 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.402, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "190499664 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.753, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126260845 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123696841 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 100.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12435409 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 129, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9528213 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.411, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 59.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19677756 times\n2 procs" } ] }, { "commit": { "author": { "email": "juancarlos.yamacho@blacklane.com", "name": "Juan C. Yamacho H", "username": "jcyamacho" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "562d15db863248fe4d249b76560843c3a29511d3", "message": ":rocket: Feature: Public ShutdownWithContext (#2407)\n\n* feat: public shutdown with context\r\n\r\n* docs: add server shutdown option\r\n\r\n* chore: revert spacing changes\r\n\r\n* test: app shutdown with context", "timestamp": "2023-04-09T21:08:03+08:00", "tree_id": "987a3b6579bbb1e59c749c20fb0ab26652c597ae", "url": "https://github.com/gofiber/fiber/commit/562d15db863248fe4d249b76560843c3a29511d3" }, "date": 1681046350477, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1591, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "721958 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6316, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "168657 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5453, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "218628 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 62.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19341819 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 81.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14818164 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 63.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18561034 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 234.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5138683 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 436.4, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2468049 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447633703 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 957.4, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1268169 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 769.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1550816 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2681, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "429746 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1334, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "833612 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1188, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "895450 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 127, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9448400 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 182.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6562472 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 136.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8766828 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 339, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3499803 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2946, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "342727 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 577.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2068096 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 132.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9038881 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 165, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7253869 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 245.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4839289 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 223.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5227089 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 387.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3119419 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27010636 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 87.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13809568 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27242551 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 49.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23964676 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 672.7, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1767223 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17329737 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 339.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3506079 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4218, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "277024 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77105846 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 161.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7348884 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 295.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4052307 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 397.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2995322 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3211, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "360193 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 140.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8074809 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1260, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "887708 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 242.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4929202 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 776.6, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1549473 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 813.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1453610 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 798.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1487413 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 790.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1514647 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 189.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6265710 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.341, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224490586 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20518983 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 46.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25702171 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 102.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11567695 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 112.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10718689 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 57.19, "unit": "ns/op\t 76 B/op\t 0 allocs/op", "extra": "19527921 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 178.5, "unit": "ns/op\t 89 B/op\t 1 allocs/op", "extra": "6654362 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21716893 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.477, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125129714 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3894, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "289294 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3210, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "355700 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4140, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "279354 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4133, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "281856 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1388, "unit": "ns/op\t 793 B/op\t 8 allocs/op", "extra": "777039 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5356, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "222736 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5427, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "214950 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 141.3, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8293012 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 48.17, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24213861 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20450844 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.798, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "315808278 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.035, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238158355 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.791, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253937722 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 929.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1290181 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 936.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1313164 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 173.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6970588 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 158.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7475050 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 592.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2009935 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 601.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2010592 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 753612, "unit": "ns/op\t 373013 B/op\t 5608 allocs/op", "extra": "1563 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12733168 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44949691 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.731, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322796247 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.682, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446714344 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 162.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7470031 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 209, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5760810 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 160.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7292484 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 261915, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4494 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 210007, "unit": "ns/op\t 24592 B/op\t 1000 allocs/op", "extra": "5770 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 161945, "unit": "ns/op\t 687 B/op\t 0 allocs/op", "extra": "7160 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 501.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2396040 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 507.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2401081 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 417.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2896023 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 799.2, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1499072 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 516.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2327340 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2287, "unit": "ns/op\t 415 B/op\t 7 allocs/op", "extra": "865287 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2353, "unit": "ns/op\t 561 B/op\t 7 allocs/op", "extra": "824424 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1345, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "868375 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1888, "unit": "ns/op\t 358 B/op\t 5 allocs/op", "extra": "863314 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1956, "unit": "ns/op\t 349 B/op\t 5 allocs/op", "extra": "898478 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 123.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9745364 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 108.6, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11117539 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.98, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23988549 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.26, "unit": "ns/op\t 675.12 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62334442 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 44.12, "unit": "ns/op\t 294.63 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26836339 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 698.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1718098 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 141.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8498530 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 472.2, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2529744 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 312.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3784140 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 373.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3216174 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 688.3, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1745151 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 411.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2889637 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 788.4, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1494567 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23736, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49345 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23740, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50094 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25008658 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 131.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9113793 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19537801 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 143, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8321287 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.14, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "62049448 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56236026 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.55, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59327750 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.91, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52211478 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.59, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38776674 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38517164 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11906522 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 111, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10927326 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 65.68, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17207276 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 488.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2435179 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35978236 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7536, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41389970 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.674, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "716430775 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.52, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32433358 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 76.75, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15248326 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 95.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12541162 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 162, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7392600 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 63.67, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17950210 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.929, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "151295652 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298279230 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51151018 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 61.75, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18346810 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 80.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14911892 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 139.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8453586 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 94.25, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12519278 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 337, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3564586 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 83.11, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14258740 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 271.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4408009 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.691, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325210963 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275040178 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.013, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397383543 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.191, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230856463 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.699, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155816872 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.245, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "167082800 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 82.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14641041 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10885834 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3713, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21509074 times\n2 procs" } ] }, { "commit": { "author": { "email": "77051856+hakankutluay@users.noreply.github.com", "name": "Hakan Kutluay", "username": "hakankutluay" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "22b407e2e7838c08939315b67ec982519e8f4679", "message": ":bug: [Bug-Fix] add original timeout middleware (#2367)\n\n* add original timeout middleware\r\n\r\n* fix linter issues\r\n\r\n* deprecate original timeout middleware\r\n\r\n* update timeout middleware documentation", "timestamp": "2023-04-09T16:05:51+02:00", "tree_id": "0f207a42ce78094f7a32dcef0c37d3f326a87cc8", "url": "https://github.com/gofiber/fiber/commit/22b407e2e7838c08939315b67ec982519e8f4679" }, "date": 1681049867762, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2101, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "516746 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 8198, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "129102 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7808, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "148831 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 85.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14719135 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 106.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10435196 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 82.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15664742 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 320.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3842524 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 615.6, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "1746018 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "292350004 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1918, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "572462 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 1079, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 4094, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "292218 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 2187, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "514827 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1709, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "675451 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 169, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6243768 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 267.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4801023 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 195.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6615346 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 477.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2345050 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 4439, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "283624 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 704, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1530006 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6707226 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 246.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4886804 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 365.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3286833 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 323, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "3796572 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 615, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1889586 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 60.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22866885 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 110.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10245980 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 60.88, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19541792 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 71.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19195959 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 920.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1203481 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 98.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11536780 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 520.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2281142 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5781, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "189133 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 21.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46259821 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 261.8, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "4118119 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 436.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2744720 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 560.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2070541 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 4956, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "262879 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 185.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5912355 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1929, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "637477 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 434.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2825845 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1231, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "930568 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1270, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "890304 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1320, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "944612 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1280, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "888390 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 275.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4262036 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 7.562, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "171922843 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 81.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14795137 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 61.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19524680 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 135.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9035101 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 153, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7650112 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 65.21, "unit": "ns/op\t 77 B/op\t 0 allocs/op", "extra": "19486393 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 239.9, "unit": "ns/op\t 95 B/op\t 1 allocs/op", "extra": "4972425 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 77.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15714990 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 14.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "84835396 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 6172, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "187311 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 5124, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "215262 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 6623, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "173618 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 6218, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "170619 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 2198, "unit": "ns/op\t 815 B/op\t 8 allocs/op", "extra": "540273 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 7437, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "174168 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7784, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "168519 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 247.1, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "5500909 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 70.43, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "14444779 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 76.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16561780 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 5.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "216662104 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.985, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "167421410 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.594, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254163535 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1275, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "946653 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1275, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "982194 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 228.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5523264 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 213.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5857674 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 809, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1385168 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 825.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1517773 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1149035, "unit": "ns/op\t 372995 B/op\t 5608 allocs/op", "extra": "1022 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 126.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9237459 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 37.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32854750 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 5.553, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "211379313 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297060890 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 213.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5804392 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 317.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4338873 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 204.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5399353 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 344874, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3693 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 301855, "unit": "ns/op\t 24520 B/op\t 1000 allocs/op", "extra": "3554 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 252789, "unit": "ns/op\t 718 B/op\t 0 allocs/op", "extra": "4506 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 730.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1742408 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 729.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1697847 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 550.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2180214 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1117, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 685, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1742672 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 3152, "unit": "ns/op\t 334 B/op\t 7 allocs/op", "extra": "668659 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 3277, "unit": "ns/op\t 613 B/op\t 7 allocs/op", "extra": "615366 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1883, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "683193 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2842, "unit": "ns/op\t 326 B/op\t 5 allocs/op", "extra": "501031 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2501, "unit": "ns/op\t 263 B/op\t 5 allocs/op", "extra": "754557 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 183, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7519075 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 144.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8796738 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 78.73, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "17468953 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 29.76, "unit": "ns/op\t 436.88 MB/s\t 0 B/op\t 0 allocs/op", "extra": "37063188 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 60.15, "unit": "ns/op\t 216.14 MB/s\t 0 B/op\t 0 allocs/op", "extra": "21371583 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 1014, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "997993 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 205.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5826896 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 665.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1802206 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 456.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2662911 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 529.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2244859 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 906.5, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1357507 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 578, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2124524 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 1206, "unit": "ns/op\t 160 B/op\t 1 allocs/op", "extra": "999722 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 42717, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "28488 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 41077, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "29176 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 73.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18805344 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 222, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "5438794 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 67.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17230347 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 193.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "5892705 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 28.09, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "42278731 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 29.16, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "41780780 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 28.53, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43149926 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 30.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "37573412 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 40.55, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30198058 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 43.91, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29203616 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 146.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7787011 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 149.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6893710 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 100.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "11879808 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 744.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1626727 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 46.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23169996 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.9777, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 42.47, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30664428 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 2.091, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "533929401 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 47.64, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "24682006 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 122.9, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "9501278 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 135.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8386005 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 223.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6027867 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 93.38, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "12982446 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 10.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.561, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "807172425 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 6.029, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "217161048 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 39.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28859966 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 101.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "10850260 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 133.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9703300 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 203.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6155174 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 146, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8578929 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 522.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2288200 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 135.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8413195 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 441.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2731303 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.162, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "389942653 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 6.601, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "182923342 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.925, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "301510530 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "179209747 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 10.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "99640248 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 10.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 112.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11339824 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 150, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8414473 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4649, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 69.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17253711 times\n2 procs" } ] }, { "commit": { "author": { "email": "83428931+cmd777@users.noreply.github.com", "name": "cmd777", "username": "cmd777" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "8b1f9260a398a1c5ca41608432fcef6871f501d9", "message": ":books: Docs: Fix typos, and make middleware documentation more consistent (#2408)\n\nFix typos, and make docs more consistent\r\nThis fixes several typos in the ISSUE_TEMPLATES, as well as improve\r\ntheir readability, also makes the documentation markdowns more\r\nconsistent", "timestamp": "2023-04-10T10:48:12+08:00", "tree_id": "2517c462f6240264e4f90a7f076e57742c7bf550", "url": "https://github.com/gofiber/fiber/commit/8b1f9260a398a1c5ca41608432fcef6871f501d9" }, "date": 1681095565323, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 613.2, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1939381 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3651, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "314937 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3717, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "310286 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 63.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19224566 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 83.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14394172 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 62.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19092494 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 236.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5067088 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 445.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2576310 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.811, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "425967370 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 952.7, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1240220 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 774.8, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1491703 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2717, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "419379 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1412, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "751206 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1248, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "885664 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10393010 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 179.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6684476 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 134.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8947408 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 333.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3593043 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2613, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "449143 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 579.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2033012 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 136.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8867520 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 166, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7192854 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 245.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4877707 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 225.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5316688 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 417.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2855017 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 46.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25964160 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 86.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13910144 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.99, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27025645 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 45.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26635258 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 699.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1667521 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16789334 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 331.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3588682 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4312, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "273261 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82568820 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 152.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7784569 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 289.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4148217 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 397.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3015685 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2978, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "401732 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 146.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7862340 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1240, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "897890 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 234.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5112195 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 786.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1520048 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 837, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1437804 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 840.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1442524 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 823.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1457356 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 178.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6552944 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.339, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224918068 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 59.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20228644 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 40.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29175196 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 101.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11811088 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 109.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10966671 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 39.61, "unit": "ns/op\t 68 B/op\t 0 allocs/op", "extra": "34300114 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 150.6, "unit": "ns/op\t 84 B/op\t 1 allocs/op", "extra": "7154744 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 57.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20765150 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.463, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125310906 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3871, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "292420 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3367, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "343438 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4222, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "275548 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4215, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "276470 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1211, "unit": "ns/op\t 805 B/op\t 8 allocs/op", "extra": "862239 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3787, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "311787 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3864, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "307736 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 154, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7819362 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23631242 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 60.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19895244 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.026, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297930468 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.024, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "191450626 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.847, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "205344099 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 936, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1274013 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 916.1, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1306060 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 158.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7594984 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 145.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8184103 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 623.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1920871 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 626, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1917279 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 782850, "unit": "ns/op\t 373007 B/op\t 5608 allocs/op", "extra": "1552 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12762049 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44232726 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.617, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331600064 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.697, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444770029 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 151.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7916404 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 210.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5749880 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 147.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8078491 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 248581, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4762 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 222141, "unit": "ns/op\t 24584 B/op\t 1000 allocs/op", "extra": "5278 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177232, "unit": "ns/op\t 671 B/op\t 0 allocs/op", "extra": "6697 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 480.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2509264 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 480.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2490240 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 428, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2812922 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 808.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1484332 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 545, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2226972 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1793, "unit": "ns/op\t 310 B/op\t 7 allocs/op", "extra": "840178 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2033, "unit": "ns/op\t 567 B/op\t 7 allocs/op", "extra": "810675 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1449, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "821149 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1752, "unit": "ns/op\t 350 B/op\t 5 allocs/op", "extra": "894716 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1833, "unit": "ns/op\t 355 B/op\t 5 allocs/op", "extra": "876362 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 119.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10103774 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 103.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11453437 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.51, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24362810 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 20, "unit": "ns/op\t 650.09 MB/s\t 0 B/op\t 0 allocs/op", "extra": "59775848 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.87, "unit": "ns/op\t 296.32 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27465638 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 704.5, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1696670 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 140.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8503366 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 487.2, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2464094 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 324.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3688770 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 374, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3176571 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 687.7, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1750078 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 420.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2798460 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 693.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1653358 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 22920, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "52272 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 22887, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "52046 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 41.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29022394 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 138.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8606420 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 65.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18198822 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 154.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7735744 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58665382 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.49, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55195050 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.11, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58177897 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.01, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50850344 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.35, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40358384 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.22, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39140107 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12437743 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 119.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10320118 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 62.96, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18649250 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 459.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2600683 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35757855 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8033, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.07, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44506380 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.607, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "746277163 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.38, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35662428 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 73.99, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15926770 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 91.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13046588 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 146.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8185130 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 62.93, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18651193 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.844, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "152733368 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995649202 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298763698 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44058325 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 67.97, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17139724 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 97.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12351063 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8404376 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 102.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11438523 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 350.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3429747 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 81.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14617626 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 295.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4027215 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372702781 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.753, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "250810059 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.624, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331303480 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "220407554 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.531, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "145001838 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.243, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130997732 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12363789 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10325473 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4222, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21894355 times\n2 procs" } ] }, { "commit": { "author": { "email": "jameslucas1210@gmail.com", "name": "James Lucas", "username": "Jamess-Lucass" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "866d5b7628efcc38f25fb5479fe7aeb720de95d3", "message": "✨ feat(cors): Added new 'AllowOriginsFunc' function. (#2394)\n\n* ✨ feat(cors): Added new 'AllowOriginsFunc' function.\r\n\r\n* feat(cors): Added warning log for when both 'AllowOrigins' and 'AllowOriginsFunc' are set.\r\n\r\n* feat(docs): Updated docs to include note about discouraging the use of this function in production workloads.\r\n\r\n---------\r\n\r\nCo-authored-by: RW ", "timestamp": "2023-04-11T10:24:29+02:00", "tree_id": "76b6dd78d9b02822d1b7746c1f8750ee890714a7", "url": "https://github.com/gofiber/fiber/commit/866d5b7628efcc38f25fb5479fe7aeb720de95d3" }, "date": 1681202258174, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 678.2, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1827778 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5391, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "218919 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5461, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "210690 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 62.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19064094 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 81.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14750202 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 63.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18593013 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 234.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5086396 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 430.4, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2770370 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.678, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447813894 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 947.3, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1272540 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 766.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1567246 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2667, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "425580 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1324, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "842871 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1190, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "931480 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 126.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9339957 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 190.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6270595 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 136.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8790454 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 337.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3549591 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2864, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "375716 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 577.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2080941 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 132.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9018056 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 164.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7212758 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 244.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4917721 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 221.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5406834 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 385, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3127657 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26784463 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 87.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13786532 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 41.99, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26101707 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 49.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24187435 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 674.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1785783 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17126509 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 343.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3519969 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4181, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "279127 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77911782 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 161.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7219662 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 292.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4071044 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 395.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3058794 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3183, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "369106 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 140.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8194627 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1233, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "866548 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 243.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4941604 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 765.6, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1542940 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 808.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1485915 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 801.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1500703 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 808.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1507204 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 190.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6272739 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.348, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224465275 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20471889 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 46.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25979061 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 101.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11721040 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 112.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10712355 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 42.19, "unit": "ns/op\t 68 B/op\t 0 allocs/op", "extra": "27304197 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 164.5, "unit": "ns/op\t 85 B/op\t 1 allocs/op", "extra": "7047513 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21606699 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.743, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "121107559 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3810, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "300484 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3141, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "369643 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4092, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "277809 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4090, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "285603 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1362, "unit": "ns/op\t 793 B/op\t 8 allocs/op", "extra": "792260 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5429, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "219380 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5412, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "218802 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 144, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8233002 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 48.77, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24274878 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20434818 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.802, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316142670 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.032, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238360780 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254723517 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 929.2, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1292598 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 917.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1301624 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 174.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6984266 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 161.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7550944 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 597.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2013888 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 602.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2032209 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 748439, "unit": "ns/op\t 373013 B/op\t 5608 allocs/op", "extra": "1580 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12666218 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45878191 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.728, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322674236 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446569552 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 160.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7501274 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 211.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5697924 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 163.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7447244 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 260704, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4394 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 210972, "unit": "ns/op\t 24570 B/op\t 1000 allocs/op", "extra": "5722 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 161535, "unit": "ns/op\t 693 B/op\t 0 allocs/op", "extra": "7382 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 500.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2402533 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 497.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2433484 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 409.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2911573 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 794.8, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1500933 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 514.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2323448 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2266, "unit": "ns/op\t 413 B/op\t 7 allocs/op", "extra": "872248 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2363, "unit": "ns/op\t 577 B/op\t 7 allocs/op", "extra": "786464 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1353, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "955587 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1876, "unit": "ns/op\t 354 B/op\t 5 allocs/op", "extra": "879285 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1956, "unit": "ns/op\t 342 B/op\t 5 allocs/op", "extra": "930570 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 122.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9715998 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 105.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11305962 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.72, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24276602 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.26, "unit": "ns/op\t 675.10 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62389906 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 44.11, "unit": "ns/op\t 294.74 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26491046 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 693.1, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1724499 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 140.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8301864 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 472.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2542155 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 317, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3830926 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 371, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3200844 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 695.4, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1732357 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 416.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2888610 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 798, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1470279 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23744, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50683 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23647, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50826 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24982587 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 129.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9285241 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19553032 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 143.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8235898 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 17.88, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60509654 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.55, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57865756 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 17.97, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60795259 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.31, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54703086 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.51, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39925761 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.97, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38657188 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12020020 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10872544 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 65.92, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17979891 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 492.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2434093 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35489078 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7536, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.75, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42500794 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.677, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "716249943 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.38, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34115301 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.55, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15407086 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 94.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12651553 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 156, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7701440 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18223117 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.948, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "150951472 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298693176 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51082594 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 62.49, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17936506 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 80.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14876650 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8391141 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 95.64, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12393522 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 339.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3529062 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 84.38, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14094517 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 276.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4337943 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325122979 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.365, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "272535963 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.014, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397462881 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.191, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231161007 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.701, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155787828 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.263, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "165183663 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14569851 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10957633 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3731, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21478504 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "65e0ce285a374fed0a89260db37bf41576975510", "message": "🐛 [Bug-Fix]: Mounted subapps don't work correctly if parent app attached … (#2331)\n\n* 🐛 [Bug]: Mounted subapps don't work correctly if parent app attached additional middlewares after mounting (v2.40.1 bug) #2233", "timestamp": "2023-04-13T14:19:04+02:00", "tree_id": "f7660ccf8303d63d62b05554c068ded61c20d7f4", "url": "https://github.com/gofiber/fiber/commit/65e0ce285a374fed0a89260db37bf41576975510" }, "date": 1681389026348, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1273, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "828954 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5191, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "227010 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5295, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "220130 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 57.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20595573 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 77.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15515163 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 59.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20076458 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 226.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5293720 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 416.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2889638 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.678, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447708432 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 962.1, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1263244 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 760, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1579999 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2654, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "419378 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1371, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "785210 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1241, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "875043 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 125.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9567422 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 180.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6645787 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 137.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8727352 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 332.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3586124 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2875, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "405133 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 547.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2191963 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 117.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10182045 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 164.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7251862 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 249.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4805709 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 219.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5425411 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 397.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3014407 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 39.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30198220 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 77.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15357728 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 39.08, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29870672 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 46.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25794675 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 658.2, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1816309 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17301214 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 337.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3584775 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4181, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "275348 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "80417058 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 153.3, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7657732 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 293.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4066004 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 410.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2918317 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3152, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "365950 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 139.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8223513 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1224, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "893148 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 240.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4885297 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 763, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1568436 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 810.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1482942 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 801.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1501855 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 805.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1481547 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 187.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6382706 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.346, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224458611 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20985117 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 44.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27174669 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 101.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11860116 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 108.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11054394 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 52.73, "unit": "ns/op\t 73 B/op\t 0 allocs/op", "extra": "25601098 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 173.3, "unit": "ns/op\t 85 B/op\t 1 allocs/op", "extra": "7035405 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 49.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24047629 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.811, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125193284 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3810, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "293970 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3191, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "365718 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4117, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "285170 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4069, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "283273 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1321, "unit": "ns/op\t 796 B/op\t 8 allocs/op", "extra": "805708 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5256, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "225427 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5250, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "217060 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 142, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8207425 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 48.99, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23979825 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20427295 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.792, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "314682955 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 4.731, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "242149406 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.742, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253305723 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 900.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1324136 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 903.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1321491 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 176.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6835201 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 167, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7108633 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 595.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2022174 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 596, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2020023 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 751074, "unit": "ns/op\t 372975 B/op\t 5606 allocs/op", "extra": "1345 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12587742 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "43839441 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "357195694 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.686, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446712957 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 165.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7209355 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 212.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5650612 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 165.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7156156 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 265670, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4476 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 205849, "unit": "ns/op\t 24562 B/op\t 1000 allocs/op", "extra": "5803 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162375, "unit": "ns/op\t 698 B/op\t 0 allocs/op", "extra": "7333 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 505.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2402745 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 496, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2403037 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 411, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2899974 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 798.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1512877 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 518.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2326741 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2204, "unit": "ns/op\t 417 B/op\t 7 allocs/op", "extra": "857227 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2429, "unit": "ns/op\t 567 B/op\t 7 allocs/op", "extra": "811011 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1359, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "794100 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1970, "unit": "ns/op\t 348 B/op\t 5 allocs/op", "extra": "903442 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2006, "unit": "ns/op\t 353 B/op\t 5 allocs/op", "extra": "882766 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 126.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9448730 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 110.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10045990 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.69, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24161404 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.19, "unit": "ns/op\t 677.61 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62632280 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.66, "unit": "ns/op\t 297.75 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27045030 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 700.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1699106 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 143.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8382039 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 472.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2525281 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 319.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3709148 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 370.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3232296 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 698.4, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1720110 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 413.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2904692 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 753.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1563471 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23462, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51480 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23235, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51147 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 48.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24985719 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 129.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9117722 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19616875 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 159.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7550522 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 17.75, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "62308747 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.28, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56631963 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.12, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60244108 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.31, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55050732 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.22, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40121782 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.14, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39829474 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12022035 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10832769 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 65.54, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17642944 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 490.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2440748 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36430350 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7543, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.32, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43446896 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.676, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "716369739 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.28, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35085381 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 79.68, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14845261 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 92.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12878290 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 155.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7784676 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 63.87, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17976565 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.826, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "153453444 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298483100 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51359324 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 61.33, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18934844 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 80.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14950968 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 139.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8413808 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 94.67, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12633016 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 333.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3607171 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 84.01, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14226514 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 271.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4425745 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325081320 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.362, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274716018 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.012, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "398143999 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.187, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231321492 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.697, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155495066 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.213, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "165814976 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14681750 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10957119 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3719, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21554578 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "ff390b5bb8796d683ee8d9308a32b7fdb6436c79", "message": "prepare release v2.44.0", "timestamp": "2023-04-14T11:49:07+02:00", "tree_id": "dceaa30e8165d4a1089c753653a30b8f59768da0", "url": "https://github.com/gofiber/fiber/commit/ff390b5bb8796d683ee8d9308a32b7fdb6436c79" }, "date": 1681466418532, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 647.1, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1873597 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5370, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "220236 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5312, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "216385 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 57.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20906704 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 77.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15564751 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 60.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20217409 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 224.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5224316 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 419.4, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2592937 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447134204 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 977.1, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1221800 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 772.1, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1553953 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2674, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "419899 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1404, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "775430 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1270, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "832878 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 125.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9563588 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 180.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6650420 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 137.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8722201 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 333.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3592032 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2861, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "367578 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 547.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2190474 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 117.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10174326 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 166.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7167118 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 252.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4753219 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 222.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5379476 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 399.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2984880 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 39.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30139510 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 77.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15407475 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 39.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29603056 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 46.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25579304 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 656.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1838535 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17236653 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 331.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3556706 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4209, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "279295 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "79356308 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 154.9, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7658899 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 300.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4068441 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 412, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2917267 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3107, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "366847 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 139.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8197065 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1249, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "894824 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 240, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4971511 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 771.6, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1570885 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 818.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1467592 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 807.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1493234 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 805.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1494302 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 189.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6283843 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224375508 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21034114 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27274668 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 100.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11832656 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 108.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11051319 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 44.02, "unit": "ns/op\t 67 B/op\t 0 allocs/op", "extra": "27835377 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 166.5, "unit": "ns/op\t 90 B/op\t 1 allocs/op", "extra": "6642908 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 49.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24194640 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.821, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "121189597 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3863, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "298995 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3278, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "353175 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4138, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "280734 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4151, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "279962 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1398, "unit": "ns/op\t 794 B/op\t 8 allocs/op", "extra": "799920 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5266, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "227655 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5291, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "222810 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 143.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7959070 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.53, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23652998 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20435089 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.801, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "315649221 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.036, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238467882 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.751, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253091782 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 911.2, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1319976 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 916.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1307131 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 176.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6829766 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 167.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7126593 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 600.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1986703 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 605.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1991768 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 758755, "unit": "ns/op\t 372984 B/op\t 5606 allocs/op", "extra": "1539 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12592916 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45734158 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.358, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "357345084 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.691, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446320636 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 165.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7237401 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 211.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5703000 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 166.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7253938 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 263322, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4470 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 209872, "unit": "ns/op\t 24536 B/op\t 1000 allocs/op", "extra": "5757 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162477, "unit": "ns/op\t 644 B/op\t 0 allocs/op", "extra": "7317 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 510.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2344636 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 511, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2353254 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 414.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2892894 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 800.9, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1494811 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 517.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2312472 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2019, "unit": "ns/op\t 312 B/op\t 7 allocs/op", "extra": "826380 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2209, "unit": "ns/op\t 579 B/op\t 7 allocs/op", "extra": "782554 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1385, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "859773 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1945, "unit": "ns/op\t 348 B/op\t 5 allocs/op", "extra": "905239 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1963, "unit": "ns/op\t 349 B/op\t 5 allocs/op", "extra": "899505 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 127.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9451453 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 110.6, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10581660 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49.57, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23716792 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.24, "unit": "ns/op\t 675.54 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61150185 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.69, "unit": "ns/op\t 297.56 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27022772 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 705.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1693486 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 143.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8374110 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 476.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2532291 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 319.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3679998 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 377.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3237927 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 692, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1725266 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 413.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2870090 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 789.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1541800 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23782, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49236 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23420, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49332 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24798699 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 130.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9165471 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19434588 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 160, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7429636 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 17.85, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60165997 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.81, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57047690 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59844340 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53946294 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.29, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40660150 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.07, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38499368 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12014646 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10858989 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 65.81, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17220454 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 494.2, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2441152 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36785829 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7542, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.65, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42841374 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.676, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "716508900 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.53, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34324370 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 79.91, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14332752 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 98.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12252676 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 157.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7649132 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.74, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17991426 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.829, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "153418074 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298715391 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51091971 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 62.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18761139 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14934255 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8454636 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 95.38, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11902683 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 337.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3508086 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 84.96, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13570382 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 276.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4338744 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.691, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324622597 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.364, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274842396 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.014, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "396960696 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231258654 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.703, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155649518 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.137, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "167458644 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14658724 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10961595 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3725, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21093697 times\n2 procs" } ] }, { "commit": { "author": { "email": "jameslucas1210@gmail.com", "name": "James Lucas", "username": "Jamess-Lucass" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "c4d2876d64590bb6ddfbcc9c21253c927f35dbca", "message": "🐛 fix(cors): Changed condition for 'AllowOriginsFunc' (#2423)\n\n🐛 fix(cors): Changed condition for 'AllowOriginsFunc' to check against default config value of 'AllowOrigins'", "timestamp": "2023-04-21T13:37:53+02:00", "tree_id": "34571358dbbec64f6c634a34508484b60fa86c8b", "url": "https://github.com/gofiber/fiber/commit/c4d2876d64590bb6ddfbcc9c21253c927f35dbca" }, "date": 1682077735979, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1223, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "848329 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5255, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "221868 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5252, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "222576 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 57.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20754490 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 77.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15619234 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 59.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20108499 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 227.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5323635 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 411.1, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2807332 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.677, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "448074382 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 957.6, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1244726 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 813.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1567158 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2658, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "434760 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1392, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "802501 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1255, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "870358 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 125.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9530041 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 183.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6549993 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 137.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8729466 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 335.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3540134 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2781, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "409597 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 547.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2188867 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 117.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10133972 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 166.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7186240 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 255.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4626571 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 220.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5417248 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 397.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2996062 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 39.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30110060 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 78.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15414507 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 39.18, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "28667235 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 48.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24634594 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 654, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1839938 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17323981 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 340.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3558888 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4184, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "279384 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "78775104 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 154.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7623955 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 295, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4053097 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 410.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2919088 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3108, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "366501 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 139.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8216935 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1237, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "877051 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 240.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4945473 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 769.9, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1552536 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 811, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1476190 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 802.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1488843 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 794.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1509356 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 188.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6259935 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.359, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224480144 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20850934 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 46.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26177544 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 103.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11557693 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 108.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11061300 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 44.14, "unit": "ns/op\t 73 B/op\t 0 allocs/op", "extra": "25581597 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 164.9, "unit": "ns/op\t 87 B/op\t 1 allocs/op", "extra": "6840912 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 49.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24165012 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.932, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123468908 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3830, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "292275 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3202, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "359420 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4118, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "283249 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4064, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "281548 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1362, "unit": "ns/op\t 803 B/op\t 8 allocs/op", "extra": "830230 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5160, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "220543 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5171, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "221762 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 145.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8166706 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24013110 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20759242 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.791, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316443630 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.049, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "251178849 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.737, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253728020 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 907.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1324627 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 908.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1328445 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 177, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6830187 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 167, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7194687 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 595.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1999708 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 594.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2013471 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 776850, "unit": "ns/op\t 372977 B/op\t 5606 allocs/op", "extra": "1521 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12589098 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44926684 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.361, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356595924 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.678, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447853359 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 164.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7267850 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 213.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5661417 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 167.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7208529 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 263951, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4489 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 208504, "unit": "ns/op\t 24555 B/op\t 1000 allocs/op", "extra": "5830 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162397, "unit": "ns/op\t 676 B/op\t 0 allocs/op", "extra": "7280 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 508.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2384158 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 502, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2374918 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 413.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2886238 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 796.4, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1488980 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 516.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2312554 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1932, "unit": "ns/op\t 316 B/op\t 7 allocs/op", "extra": "792207 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2264, "unit": "ns/op\t 586 B/op\t 7 allocs/op", "extra": "768075 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1375, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "920947 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1704, "unit": "ns/op\t 361 B/op\t 5 allocs/op", "extra": "852303 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1922, "unit": "ns/op\t 348 B/op\t 5 allocs/op", "extra": "901834 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 127.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9454887 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 110.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10819122 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.56, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24048340 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.21, "unit": "ns/op\t 676.56 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62416387 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.76, "unit": "ns/op\t 297.09 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27445285 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 699.3, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1714564 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 143.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8391130 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 471.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2514817 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 324.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3687165 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 372.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3226926 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 696.1, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1714075 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 412.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2880356 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 766.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1576533 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23542, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51049 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23406, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50785 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24629498 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 130.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9120613 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19540647 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 159.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7409430 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 17.98, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60732020 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.44, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52996284 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.49, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59194816 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.54, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51303286 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.25, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39804084 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.53, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39122136 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 100.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11967950 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10914954 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 65.87, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17361710 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 490.8, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2420002 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36591928 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7532, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.63, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41193319 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.674, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "716309869 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.65, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35533615 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 79.3, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14789130 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 98.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12158206 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 156.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7666838 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 63.92, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17974791 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.826, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "153440833 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298508433 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "50956677 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 61.95, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18260548 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 80.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14896346 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8397866 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 95.16, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12484627 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 336.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3574190 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 84.11, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13993878 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 273.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4387347 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.697, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325075604 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274956866 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.013, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397920210 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.188, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231265240 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155861985 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.227, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "165197292 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 82.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14629042 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10873549 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3728, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21490266 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "9feaf2296ea5978ad2fe9476dad5011d93031d3c", "message": "🚀 Improve error handling for net error(s) (#2421)\n\n* improve error handling for net error(s)\r\nfixes: reverse proxy support #2419\r\n\r\n* Update app.go\r\n\r\nCo-authored-by: leonklingele \r\n\r\n* improve error handling for net error(s)\r\nfixes: reverse proxy support #2419\r\n\r\n* improve error handling for net error(s)\r\nfixes: reverse proxy support #2419\r\n\r\n* improve error handling for net error(s)\r\nfixes: reverse proxy support #2419\r\n\r\n---------\r\n\r\nCo-authored-by: leonklingele ", "timestamp": "2023-04-21T13:41:19+02:00", "tree_id": "f585acf0392f5b216ca1ecdde8d03d7a09cbdfed", "url": "https://github.com/gofiber/fiber/commit/9feaf2296ea5978ad2fe9476dad5011d93031d3c" }, "date": 1682077956973, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1831, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "676734 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5930, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "176068 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6145, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "191150 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 65.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17694076 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 89.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13691260 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 72.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14641447 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 258.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4681744 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 484.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2405542 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.309, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "379282772 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1276, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "964970 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 832.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1406605 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3185, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "376633 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1680, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "607266 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1443, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "798194 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 149.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8172901 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 233.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4995510 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 162.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6756937 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 412.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3022764 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3214, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "356568 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 653.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1869672 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 144.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8439321 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 209.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5915223 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 308.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3978859 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 278.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4361653 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 518.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2245675 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 49.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22870624 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 98.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12506588 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 50.99, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22940317 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 53.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21706893 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 752.8, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1616846 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 84.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14687971 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 402.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2738044 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4748, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "231552 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 19.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "60829195 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 185.8, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6320305 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 358.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3382610 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 466.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2640190 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3681, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "308582 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 169.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7194510 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1728, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "647875 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 283.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4121624 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 891.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1330729 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1189, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "970614 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1196, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "979746 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1053, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 223.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5376998 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "188652762 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 63.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19816654 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 50.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21701632 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 112.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10784319 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 131.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8460062 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 38.38, "unit": "ns/op\t 70 B/op\t 0 allocs/op", "extra": "26477052 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 188.9, "unit": "ns/op\t 95 B/op\t 1 allocs/op", "extra": "6220124 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 64.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17221558 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 24.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "52049449 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4652, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "256005 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3850, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "297118 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5136, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "229298 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4920, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "243630 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1602, "unit": "ns/op\t 808 B/op\t 8 allocs/op", "extra": "744493 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6318, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "175009 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6451, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "181368 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 181.1, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6834232 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 60.78, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18565401 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 67.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18050982 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.598, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253089530 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.793, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "215505270 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 3.906, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "283275435 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1064, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1249261 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 981.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1218774 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 189.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6451978 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 185.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6704289 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 638, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1710900 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 672, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1846266 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 931829, "unit": "ns/op\t 372973 B/op\t 5606 allocs/op", "extra": "1294 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 123.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10077999 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 30.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "42249727 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.853, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "320220996 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.142, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "391086740 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 190, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6749919 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 243.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4825450 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 180, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6681172 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 285879, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4544 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 261678, "unit": "ns/op\t 24536 B/op\t 1000 allocs/op", "extra": "4438 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 208919, "unit": "ns/op\t 647 B/op\t 0 allocs/op", "extra": "5678 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 587, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2068034 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 611.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2006360 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 489.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2304343 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 963.8, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1320357 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 596.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1957359 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2385, "unit": "ns/op\t 321 B/op\t 7 allocs/op", "extra": "747562 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2782, "unit": "ns/op\t 602 B/op\t 7 allocs/op", "extra": "630547 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1611, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "685183 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2049, "unit": "ns/op\t 268 B/op\t 5 allocs/op", "extra": "719676 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1988, "unit": "ns/op\t 257 B/op\t 5 allocs/op", "extra": "802275 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 145, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8087064 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 134.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8720344 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 58.08, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "20625070 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 23.26, "unit": "ns/op\t 558.78 MB/s\t 0 B/op\t 0 allocs/op", "extra": "52338428 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 49.74, "unit": "ns/op\t 261.35 MB/s\t 0 B/op\t 0 allocs/op", "extra": "21943422 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 862.3, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1422559 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 164, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7627832 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 536.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2178418 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 396.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3211770 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 412.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2752980 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 749.7, "unit": "ns/op\t 14 B/op\t 1 allocs/op", "extra": "1614920 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 500.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2486020 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 950.5, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1288897 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 28824, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "39999 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 30162, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "40468 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 62.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19785549 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 176.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6394112 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 60.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20203512 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 161.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6812223 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 23.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52546880 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 25.73, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45469816 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 25.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45150573 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 26.22, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "39913432 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 36.47, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31473562 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 35.41, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31784599 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 127.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9344757 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 134.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8877158 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 84.71, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13952277 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 628.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1855989 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 41.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28813968 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8713, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 30.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36255208 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.884, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "643212118 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 41.03, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "28766169 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 103.9, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "10343852 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 111.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10482792 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 186.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6659229 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 76.63, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15468982 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.565, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124718108 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.294, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "905030107 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.073, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "239944128 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 31.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38202716 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 86.91, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "12946880 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 123.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10509637 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 177.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6882400 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 118.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9948098 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 426.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2526046 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 114.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10589900 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 365.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3278560 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "453799375 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.588, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "212049088 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.442, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "348809286 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.187, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "196676112 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.628, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124766923 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.425, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "122404322 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 103.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12098984 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 121.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9707968 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3867, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 59.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21480781 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "0b5baf522d0af6a59ded5ef3ec9f536fef2c5907", "message": "Bump github.com/valyala/fasthttp from 1.45.0 to 1.46.0 (#2426)\n\nBumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp) from 1.45.0 to 1.46.0.\r\n- [Release notes](https://github.com/valyala/fasthttp/releases)\r\n- [Commits](https://github.com/valyala/fasthttp/compare/v1.45.0...v1.46.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: github.com/valyala/fasthttp\r\n dependency-type: direct:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", "timestamp": "2023-04-21T23:03:34+03:00", "tree_id": "a07af6e92f591ecda0f99baa6cbc407d9ecec698", "url": "https://github.com/gofiber/fiber/commit/0b5baf522d0af6a59ded5ef3ec9f536fef2c5907" }, "date": 1682108089407, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1376, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "773966 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5247, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "223891 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5243, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "222286 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 61.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18957230 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 82.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14571306 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 64.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18452844 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 239, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4994595 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 419.4, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2722164 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.282, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "526982648 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 948.5, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1271137 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 732.1, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1633778 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2656, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "423958 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1412, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "796252 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1213, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "888555 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 125.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9449881 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 183.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6538654 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 138.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8825588 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 336.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3560624 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2954, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "392714 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 590.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2029674 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 128.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9307718 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 165.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7236180 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 236.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5093649 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 222.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5346405 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 408, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2971581 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27682225 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 85.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13723420 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 39.22, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29790908 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 51.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23451241 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 639.8, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1872009 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 68.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17242758 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 338.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3371394 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4288, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "272434 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "78214314 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 162, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7371604 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 299.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3990634 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 409.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2982486 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3191, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "360927 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 141.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8113922 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1262, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "848882 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 243.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4911400 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 779.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1508454 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 819, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1471236 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 812.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1451602 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 807.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1481446 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 190.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6295954 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.185, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230754216 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20751103 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 49.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24056115 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 103.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11444283 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 111.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10739013 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 45.19, "unit": "ns/op\t 77 B/op\t 0 allocs/op", "extra": "24225244 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 166.5, "unit": "ns/op\t 87 B/op\t 1 allocs/op", "extra": "6870669 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21596760 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.121, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129853808 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3919, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "289179 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3235, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "353742 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4217, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "279696 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4196, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269468 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1473, "unit": "ns/op\t 797 B/op\t 8 allocs/op", "extra": "785439 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5311, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "216862 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5355, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "216808 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 142.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8233587 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 52.69, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22079539 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20416960 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.708, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "323326551 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 4.986, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238240555 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.722, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254867829 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 902.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1325808 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 912.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1326584 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 168.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6802089 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 159.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7365850 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 597, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1992007 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 603.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1998842 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 778934, "unit": "ns/op\t 372986 B/op\t 5606 allocs/op", "extra": "1569 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 96.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12664134 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46237074 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.358, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "354977289 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.686, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447596013 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 161.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7444762 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 218.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5654596 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 159, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7550456 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 261957, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4568 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 210838, "unit": "ns/op\t 24567 B/op\t 1000 allocs/op", "extra": "5763 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162332, "unit": "ns/op\t 663 B/op\t 0 allocs/op", "extra": "7326 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 500.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2408452 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 498.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2410995 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 415.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2868622 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 798.8, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1503114 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 522.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2308809 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1995, "unit": "ns/op\t 309 B/op\t 7 allocs/op", "extra": "851822 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2361, "unit": "ns/op\t 585 B/op\t 7 allocs/op", "extra": "769138 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1371, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "811477 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1992, "unit": "ns/op\t 348 B/op\t 5 allocs/op", "extra": "901732 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1997, "unit": "ns/op\t 353 B/op\t 5 allocs/op", "extra": "881826 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 126, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9603658 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 112, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10665217 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.56, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24539362 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.25, "unit": "ns/op\t 675.17 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62400736 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.68, "unit": "ns/op\t 297.61 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27506025 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 694.8, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1720856 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 137.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8674513 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 477.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2511274 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 321.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3723764 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 376.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3186830 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 688.6, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1759206 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 417.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2875639 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 836.9, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1465237 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23431, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50415 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23331, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50996 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25039593 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 130.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9186327 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19373548 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 158.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7494819 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 17.99, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60104701 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.89, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55619679 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.36, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56907945 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53072168 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.15, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39611022 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.25, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39085900 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12014946 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10908909 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17795506 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 490.1, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2453194 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36513834 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.7546, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.48, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43215463 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.676, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "716015462 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.22, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34855562 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 79.03, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14925976 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 92.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12957028 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 157.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7632174 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 63.65, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17883051 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.823, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "153359108 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298025772 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "50641791 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 61.13, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "19103400 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 80.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15010088 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 138.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8458724 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 94.99, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12370225 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 333.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3575770 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 85.23, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14239904 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 275.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4367106 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.695, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325078279 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.362, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275064951 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.019, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397311498 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.191, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "229695153 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.711, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155906733 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.176, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "167287948 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14650537 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10961067 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3724, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21524412 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "9cc10e942a6be89ed6a77e52f6f2c553f564029b", "message": "Update benchmark.yml", "timestamp": "2023-05-09T09:01:56+02:00", "tree_id": "0ed69afdf3677f7f7d44970dca7c916430d68441", "url": "https://github.com/gofiber/fiber/commit/9cc10e942a6be89ed6a77e52f6f2c553f564029b" }, "date": 1683616377909, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1574, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "739191 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 4281, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "245242 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3745, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "309062 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 60.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19720401 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 79.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14898458 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 61.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19169637 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 247, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4860808 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 432.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2412150 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.216, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372842456 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 967.4, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1244656 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 774.7, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1544677 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2709, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "424000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1442, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "740971 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1305, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "803065 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 118.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10009645 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 177.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6795338 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 131.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9107046 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 330.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3629317 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2535, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "461474 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 569.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2104940 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 149.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8864449 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 164.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7134889 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 246.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4847226 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 221, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5426206 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 436.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2748507 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27416835 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 87.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13655053 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 38.22, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29702956 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 48.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24748930 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 652.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1835794 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17224549 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 334.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3408908 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4400, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "264058 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82223638 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 147.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8210605 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 291.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4107860 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 399.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2985304 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2881, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "388144 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 142.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8056284 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1242, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "909025 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 236.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5040392 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 828.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1497668 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 858.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1415389 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 849.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1363918 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 822.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1448835 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 184.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6438280 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.349, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224635626 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20966204 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27885106 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 102.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11650790 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 115.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10400232 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 49.83, "unit": "ns/op\t 72 B/op\t 0 allocs/op", "extra": "20773267 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 149.7, "unit": "ns/op\t 84 B/op\t 1 allocs/op", "extra": "7134387 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 56.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21001876 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.517, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125171719 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3940, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "295051 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3521, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "329712 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4405, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271663 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4297, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "265474 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1256, "unit": "ns/op\t 806 B/op\t 8 allocs/op", "extra": "818160 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3759, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "321217 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3808, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "301977 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 148.3, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8096898 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 54.06, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20499342 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20304889 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.023, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298046281 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.029, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198874074 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.698, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "207349491 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 904.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1326438 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 901.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1333666 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 162.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7530632 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 151.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7825953 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 622.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1930905 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 622.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1924856 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 744251, "unit": "ns/op\t 372996 B/op\t 5606 allocs/op", "extra": "1630 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 97.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12950560 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46454418 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.225, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372591075 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.702, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "442919550 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 150.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7843854 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 218.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5472894 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 151.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7837752 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 246138, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4747 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 224124, "unit": "ns/op\t 24559 B/op\t 1000 allocs/op", "extra": "5210 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177509, "unit": "ns/op\t 624 B/op\t 0 allocs/op", "extra": "6512 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 489.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2422974 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 491.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2439907 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 425.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2812782 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 819.4, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1461051 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 533.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2238572 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1917, "unit": "ns/op\t 313 B/op\t 7 allocs/op", "extra": "816928 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2072, "unit": "ns/op\t 590 B/op\t 7 allocs/op", "extra": "759303 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1468, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "839545 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1601, "unit": "ns/op\t 252 B/op\t 5 allocs/op", "extra": "845496 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1768, "unit": "ns/op\t 339 B/op\t 5 allocs/op", "extra": "942052 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 119.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10038056 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 105.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11269551 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 47.91, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24857978 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.46, "unit": "ns/op\t 667.94 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61105532 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.93, "unit": "ns/op\t 302.82 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27888996 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 711.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1682436 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 130, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9262562 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 519.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2401652 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 342.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3452599 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 371.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3217177 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 697.8, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1731241 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 422.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2868307 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 767.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1504222 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23571, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50528 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23209, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50486 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 41.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28893032 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 141.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8478266 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 73.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16387044 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 163.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7192143 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.85, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57491496 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.53, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53376375 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.67, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57557953 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.79, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50922418 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.04, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38902964 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 33.32, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34549686 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12418150 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10219706 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.02, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18390270 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 467.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2574363 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35305537 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8047, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.24, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44074251 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "744996505 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35045190 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 73.95, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15822943 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 84.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14282370 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 148, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8082050 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.12, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18150739 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.013, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "150012806 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "994620255 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298632706 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44366914 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 69.31, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16838816 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 97.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12306796 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8454470 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 104.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11299964 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 352.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3402146 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 81.51, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14467286 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 298.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3978452 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.272, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "364962170 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.676, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254504713 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.632, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330969643 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.248, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228327764 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.049, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149157576 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.258, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129415576 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12336018 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10335315 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4279, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21916398 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "M. Efe Çetin", "username": "efectn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "c7c37d9b504f530a23ee1b03df872e8e0f17002f", "message": ":recycle: refactor: merge some external middlewares to core (#2453)\n\n* :recycle: refactor: merge adaptor, helmet, keyauth, redirect, rewrite middlewares to core\r\n\r\n* fix linting issues\r\n\r\n* fix linting issues\r\n\r\n* fix linting issues\r\n\r\n* update", "timestamp": "2023-05-10T08:01:49+02:00", "tree_id": "7d56b1d041d761e4281ad4fa33a128642279d5da", "url": "https://github.com/gofiber/fiber/commit/c7c37d9b504f530a23ee1b03df872e8e0f17002f" }, "date": 1683699180820, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 616.8, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1943190 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3655, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "310190 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3723, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "311365 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 60.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19753323 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 80.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14917495 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 61.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19418194 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 246.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4862186 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 426.3, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2398784 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.586, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "463397030 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 964.5, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1255726 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 772.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1544872 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2665, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "431727 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1429, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "776284 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1313, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "804475 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 119.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9943988 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 182.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6586008 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 131.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9180001 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 332.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3551144 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2629, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "417799 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 572.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2112106 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8921221 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 163.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7318140 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 243.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4911632 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 219.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5414959 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 433.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2768622 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27454686 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 87.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13832505 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 38.64, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26039108 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 50.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23813434 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 656, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1824566 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16991216 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 342.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3552082 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4379, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "267879 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82535074 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 159.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7349576 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 294.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3983953 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 397.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2993330 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2909, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "392120 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 141.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8129229 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1244, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "895737 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 237, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5017524 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 791.2, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1504101 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 845.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1423666 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 830.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1447731 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 817.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1464410 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 183.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6295237 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.338, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224580040 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21183684 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 45.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26163748 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 104, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11410644 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 113.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10377968 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 41.13, "unit": "ns/op\t 70 B/op\t 0 allocs/op", "extra": "33327420 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 159.5, "unit": "ns/op\t 97 B/op\t 1 allocs/op", "extra": "7592406 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 56.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21006346 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127621777 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3879, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "294798 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3482, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "334744 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4245, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "272221 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4276, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "268537 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1235, "unit": "ns/op\t 805 B/op\t 8 allocs/op", "extra": "883315 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3712, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "316294 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3825, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "310070 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 145.8, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8059898 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 54.04, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21863538 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20131594 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.023, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298037306 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "190628799 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.811, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "209855468 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 898, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1340125 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 898, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1337978 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 161.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7357443 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 153.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7982083 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 621.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1926706 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 622.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1923006 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 746214, "unit": "ns/op\t 372982 B/op\t 5606 allocs/op", "extra": "1581 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12940326 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46314440 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.215, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373124174 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.702, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444046507 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 151.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7839204 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 218.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5331172 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 151.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7774888 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 246361, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4809 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 220466, "unit": "ns/op\t 24644 B/op\t 1000 allocs/op", "extra": "5341 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177372, "unit": "ns/op\t 643 B/op\t 0 allocs/op", "extra": "6675 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 485.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2466032 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 489.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2472300 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 424.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2819366 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 814.7, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1478498 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 533.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2249972 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1833, "unit": "ns/op\t 313 B/op\t 7 allocs/op", "extra": "819373 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2066, "unit": "ns/op\t 589 B/op\t 7 allocs/op", "extra": "762765 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1468, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "819490 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1829, "unit": "ns/op\t 354 B/op\t 5 allocs/op", "extra": "879608 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1853, "unit": "ns/op\t 342 B/op\t 5 allocs/op", "extra": "929503 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 121.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10072734 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 118.1, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11186269 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 55.33, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "20717018 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 27.42, "unit": "ns/op\t 474.13 MB/s\t 0 B/op\t 0 allocs/op", "extra": "60340527 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.91, "unit": "ns/op\t 302.93 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27928560 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 702.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1704280 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 129.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9248298 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 502.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2405486 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 345.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3467278 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 369.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3224526 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 693.6, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1715294 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 415.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2893087 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 829.5, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1419348 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23241, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51562 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23282, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51430 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 41.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28973144 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 140.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8453714 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 73.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16406774 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 162.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7377566 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.55, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59116701 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.41, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54943959 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58758914 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52128274 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39676966 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 32.95, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34841733 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12414847 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10325432 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 64.94, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18350671 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 463.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2588853 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35292193 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8046, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 24.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44023866 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.607, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "746642199 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.28, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35826613 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 73.79, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15972692 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 90.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13205715 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 144.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8323089 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18343742 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149163682 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "992938633 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298057681 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44243638 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 68.77, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17130642 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 97.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11860312 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8422628 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 102.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11603029 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 351.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3408978 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 81.06, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14595124 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 295.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3966463 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.265, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "366993669 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.599, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "259660318 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.622, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330464643 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.239, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "229145630 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149290982 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.222, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130757317 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12407581 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10333407 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4259, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21880404 times\n2 procs" } ] }, { "commit": { "author": { "email": "git@leonklingele.de", "name": "leonklingele", "username": "leonklingele" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "eced39c47e3703078bbf2484e17e315be2f91f17", "message": "utils: add Go 1.20+ way of converting string to byte slice (#2462)\n\n* utils: add Go 1.20+ way of converting string to byte slice\r\n\r\nRef. https://github.com/valyala/fasthttp/blob/d2f97fc426ed451e64dc8e35e7f87a1d4a2d7bde/s2b_old.go.\r\nRef. https://github.com/valyala/fasthttp/blob/d2f97fc426ed451e64dc8e35e7f87a1d4a2d7bde/s2b_new.go.\r\n\r\n* utils: fix golangci-lint apparently running with Go < 1.20\r\n\r\nSee https://github.com/gofiber/fiber/actions/runs/4968641325/jobs/8891360463?pr=2462.", "timestamp": "2023-05-15T07:21:16+02:00", "tree_id": "7d0228535623f0d4f39ea5b98d86c2a9105b49c4", "url": "https://github.com/gofiber/fiber/commit/eced39c47e3703078bbf2484e17e315be2f91f17" }, "date": 1684128748283, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1613, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "676230 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5325, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "226010 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5460, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "216698 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 57.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20869022 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 76.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15701245 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 56.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21231766 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 224.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5374046 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 450.4, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2461028 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.273, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "527416657 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 973.5, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1229446 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 734.1, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1632337 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2685, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "418173 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1436, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "752458 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1322, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "826678 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 123.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9731926 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 184.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6504898 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 145, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8876648 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 336.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3528292 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2890, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "353365 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 548, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2190656 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 118.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10143778 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 164.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7282652 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 246.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4733187 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 219.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5507482 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 403.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2957821 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 40.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29732596 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 81.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14783932 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 40.38, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "28519098 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 47.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24870903 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 641.7, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1871947 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 73.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16211768 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 333.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3409964 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4202, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "274687 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "78214594 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 162.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7299940 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 297.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4047366 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 415, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2896502 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3186, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "324868 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 137.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8273532 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1277, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "854737 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 242.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4898058 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 778.9, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1535992 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 823.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1456717 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 828, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1298919 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 807.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1483986 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 190.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6265808 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.185, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231227199 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21523220 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 46.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25844793 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 100.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11867318 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 106.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11230611 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 53.25, "unit": "ns/op\t 79 B/op\t 0 allocs/op", "extra": "19017060 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 162.2, "unit": "ns/op\t 87 B/op\t 1 allocs/op", "extra": "6926534 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 50.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23678662 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.382, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127963574 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3950, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "278344 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3305, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "350509 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4209, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "274016 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4261, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "272500 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1432, "unit": "ns/op\t 798 B/op\t 8 allocs/op", "extra": "836199 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5200, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "215179 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5323, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "218678 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 144.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8279298 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 52.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22282915 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 57.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20798466 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.917, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "244133780 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.038, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238383361 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.718, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254381984 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 905, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1323957 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 913.1, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1309761 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 167.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6991508 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 160.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7520086 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 598.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1991102 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 593.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1998288 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 759359, "unit": "ns/op\t 372984 B/op\t 5606 allocs/op", "extra": "1540 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 96.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12225710 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46252903 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356357371 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.691, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "445476976 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 159.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7446975 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 214.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5612487 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 161.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7567831 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 264888, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4491 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 206913, "unit": "ns/op\t 24597 B/op\t 1000 allocs/op", "extra": "5758 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163573, "unit": "ns/op\t 592 B/op\t 0 allocs/op", "extra": "7244 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 498.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2430547 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 497.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2386236 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 413, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2889412 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 808.2, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1480443 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 517, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2336239 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1983, "unit": "ns/op\t 313 B/op\t 7 allocs/op", "extra": "811777 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2290, "unit": "ns/op\t 572 B/op\t 7 allocs/op", "extra": "797985 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1377, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "916628 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1657, "unit": "ns/op\t 259 B/op\t 5 allocs/op", "extra": "783020 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2086, "unit": "ns/op\t 345 B/op\t 5 allocs/op", "extra": "914668 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 127.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9654932 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 111.6, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10671607 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49.71, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23514160 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.45, "unit": "ns/op\t 668.54 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61722378 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.7, "unit": "ns/op\t 297.48 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27499621 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 708.5, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1703724 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 140, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8587540 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 498.4, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2480364 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 329.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3681242 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 377.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3137907 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 693.7, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1746943 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 422.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2851378 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 780.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1483696 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23523, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51364 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24269, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50472 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24932444 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 128.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9214376 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19545489 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 143, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8303936 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.61, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59487292 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.01, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55845525 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.64, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59132706 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.24, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51579408 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.32, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38508812 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 30.04, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37685000 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11998850 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 110, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10879546 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.07, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17329255 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 504.9, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2358843 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36118782 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.755, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39664208 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.174, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.81, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34484996 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.63, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15211998 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 93.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12674752 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 150.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7984965 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.13, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18254300 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.121, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147627043 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298709516 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51183050 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 64.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18231807 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 84.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14302050 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 142.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8404256 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 95.85, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12367371 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 335.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3560022 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 85.97, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14029185 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 290.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4123082 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.691, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324937225 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.364, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275644261 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397147724 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231253495 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.708, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155839438 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.729, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "138583186 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14591378 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 110.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10907316 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3714, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21366603 times\n2 procs" } ] }, { "commit": { "author": { "email": "git@leonklingele.de", "name": "leonklingele", "username": "leonklingele" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "c56b4e66a0e4c6fe8ce070e95f1ee39773d01a0c", "message": "middleware/adaptor: allow to convert fiber.Ctx to (net/http).Request (#2461)", "timestamp": "2023-05-15T13:04:58+02:00", "tree_id": "07e06a7ea0313fe89dd7bed303408e5133a267b4", "url": "https://github.com/gofiber/fiber/commit/c56b4e66a0e4c6fe8ce070e95f1ee39773d01a0c" }, "date": 1684149369344, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1492, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "698014 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 4583, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "231429 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3699, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "313779 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 53.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22197589 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 71.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16460806 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 54.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21506250 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 226, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5332092 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 448.1, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2575239 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.587, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "456787620 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 946.6, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1263538 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 770.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1566559 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2722, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "418183 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1408, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "793030 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1260, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "854670 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 117.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10221642 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 173.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6828106 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 130.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9268077 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 336, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3549824 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2532, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "400086 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 655.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2376409 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 147.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8164615 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 164.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7237242 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 252.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4838344 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 214.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5470693 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 428.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2792277 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 37.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31803476 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 80.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14988032 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 37.78, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "30540464 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 47.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25181366 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 638.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1866940 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 74.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16294620 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 327.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3681234 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4378, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "264229 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "80613798 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 140.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8355110 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 287.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4162482 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 397.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2998794 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2813, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "412770 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 136.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8381298 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1244, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "888804 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 234.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5091538 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 799.8, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1483410 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 832.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1441437 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 830.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1452681 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 814.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1475756 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 181.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6576542 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.354, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "223992777 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 55.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22011150 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27320874 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 99.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12063514 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10835738 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 35.88, "unit": "ns/op\t 66 B/op\t 0 allocs/op", "extra": "28117862 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 143.2, "unit": "ns/op\t 81 B/op\t 1 allocs/op", "extra": "7558454 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 50.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23727986 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127747718 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4002, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "289060 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3571, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "323838 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4350, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "267003 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4230, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "275067 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1183, "unit": "ns/op\t 806 B/op\t 8 allocs/op", "extra": "927952 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3708, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "313182 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3789, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "306351 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 147.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8055153 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23870010 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20085752 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.879, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "245293194 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.895, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "175650692 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.837, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "202293199 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 890.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1343064 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 883.1, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1349949 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 167.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7194714 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 156.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7696677 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 606.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1971324 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 608.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1973941 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 728858, "unit": "ns/op\t 372982 B/op\t 5606 allocs/op", "extra": "1638 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 96.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12246375 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45991369 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.622, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330972572 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.698, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "442635091 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 154.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7624434 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 221.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5387606 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 155.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7667002 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 247824, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4732 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 216169, "unit": "ns/op\t 24586 B/op\t 1000 allocs/op", "extra": "5480 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 178732, "unit": "ns/op\t 707 B/op\t 0 allocs/op", "extra": "6640 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 474.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2523352 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 471, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2548053 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 422.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2823690 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 814.1, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1470328 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 541.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2206179 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1759, "unit": "ns/op\t 310 B/op\t 7 allocs/op", "extra": "841149 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2085, "unit": "ns/op\t 573 B/op\t 7 allocs/op", "extra": "797061 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1464, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "804736 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1715, "unit": "ns/op\t 357 B/op\t 5 allocs/op", "extra": "870126 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1767, "unit": "ns/op\t 347 B/op\t 5 allocs/op", "extra": "909954 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 123.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9684102 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 101.1, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11822101 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.07, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24872072 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.37, "unit": "ns/op\t 671.07 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61737242 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.9, "unit": "ns/op\t 303.00 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27979558 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 714, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1682059 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 140.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8565448 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 485.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2496061 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 329.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3641281 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 373.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3199467 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 713.1, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1710786 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 423.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2826921 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 714, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1583906 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23057, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51829 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23022, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51710 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 41.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29083186 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 147.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8152671 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 65.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18215541 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 168.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6516439 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 21.15, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59489505 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 23.14, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46595682 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 22.31, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59149063 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 25.31, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "40794424 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.18, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40558236 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.54, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38701320 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12450340 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10330869 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 62.05, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18675675 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 477.4, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2502948 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37846053 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8036, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 24.95, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "45176184 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995952580 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 29.85, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37496480 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 74.24, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15867331 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 84.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14298356 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 143.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8345078 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.41, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18102590 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.499, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "140617092 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "991811324 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298727962 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44637105 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 65.96, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17891726 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 99.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12029845 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8445489 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 101.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11717877 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 353.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3394748 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 79.85, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14773285 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 309.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3861620 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "364616606 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.703, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "255203986 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.626, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331837005 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199022947 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.115, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144108922 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.421, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "143113861 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12386433 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10337116 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4139, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21861790 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "df87a82d5a650ab63c8772419a05d976d59c1d76", "message": "🐛 Fix mount route positioning (#2463)\n\n* 🐛 [Bug-fix]: Wrong handlers execution order in some mount cases #2460\n\n* 🐛 [Bug-fix]: Wrong handlers execution order in some mount cases #2460\n\n* 🐛 [Bug-fix]: Wrong handlers execution order in some mount cases #2460\n\n* [Bug-fix]: Wrong handlers execution order in some mount cases #2460\n\n* [Bug-fix]: Wrong handlers execution order in some mount cases #2460", "timestamp": "2023-05-17T10:51:05+02:00", "tree_id": "b0a026b8f284587262578d55937fd4b813911006", "url": "https://github.com/gofiber/fiber/commit/df87a82d5a650ab63c8772419a05d976d59c1d76" }, "date": 1684314155905, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2051, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "594861 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 8049, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "136236 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6099, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "174633 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 72.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17950161 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 95.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12614649 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 74.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15446326 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 302.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3982374 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 524.6, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2209546 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.439, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "350420702 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1562, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "695365 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 934.1, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1340726 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3331, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "367201 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1678, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "640579 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1497, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "767566 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 150.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7639903 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 229.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5360848 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 163.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7431639 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 426, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2877338 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3310, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "365016 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 665.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1788967 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 151.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8067418 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 209, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5801924 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 315.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3911522 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 278.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4311177 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 520.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2328556 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 49.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24993258 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 97.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12232378 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 55.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21267901 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 57.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20253554 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 801.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1562674 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 90.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13324464 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 424.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2713711 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5424, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "185143 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 21.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "55603825 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 209.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5470792 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 379.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3163890 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 506.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2373849 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3726, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "308979 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 178.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6700107 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1619, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "756999 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 314.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3908157 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1011, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1044, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1028, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "994874 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1041, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "993712 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 248.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4584140 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "172829420 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 72.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15519834 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 56.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21199569 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 126.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9317263 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 140.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7974296 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 38.86, "unit": "ns/op\t 69 B/op\t 0 allocs/op", "extra": "33694980 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 199.8, "unit": "ns/op\t 82 B/op\t 1 allocs/op", "extra": "5931961 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 66.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16930783 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 12.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 5142, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "212520 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4263, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "269199 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5379, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "213828 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5172, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "235005 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1721, "unit": "ns/op\t 820 B/op\t 8 allocs/op", "extra": "683887 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6893, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "170575 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7353, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "177080 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 206.8, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6075436 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 61.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18683912 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 63.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19081339 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.935, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "240740074 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.836, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "213531984 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.957, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "188822990 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1085, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1150, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 217.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5783894 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 191.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5573108 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 741.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1594932 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 783.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1520958 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1036833, "unit": "ns/op\t 372992 B/op\t 5606 allocs/op", "extra": "1059 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 124.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9835608 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 35.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32962222 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.685, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253486950 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.519, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330292065 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 197.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6087276 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 287.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4533342 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 202.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5888737 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 332733, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3094 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 262446, "unit": "ns/op\t 24550 B/op\t 1000 allocs/op", "extra": "4338 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 204752, "unit": "ns/op\t 659 B/op\t 0 allocs/op", "extra": "5876 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 617.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1891045 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 626.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1942242 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 490.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2439124 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 999.8, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1225724 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 631.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1947818 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2492, "unit": "ns/op\t 325 B/op\t 7 allocs/op", "extra": "724945 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2742, "unit": "ns/op\t 587 B/op\t 7 allocs/op", "extra": "654819 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1543, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "652693 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2082, "unit": "ns/op\t 272 B/op\t 5 allocs/op", "extra": "695488 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2042, "unit": "ns/op\t 264 B/op\t 5 allocs/op", "extra": "744751 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 161.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7887780 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 139, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8371923 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 60.34, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "20709051 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 23.65, "unit": "ns/op\t 549.74 MB/s\t 0 B/op\t 0 allocs/op", "extra": "46200974 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 51.53, "unit": "ns/op\t 252.27 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23620116 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 880.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1414983 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7055371 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 566.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2053677 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 396, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2940864 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 446.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2665104 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 801.5, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1541908 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 514.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2429150 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 821.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1409752 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 30457, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "39154 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 31809, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "38614 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 62.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19537020 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 180.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6756537 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 63.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19106224 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 168.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7121398 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 24.95, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45996634 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 26.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43905769 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 25.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44075096 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 27.24, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "40406808 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 37.34, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31551310 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 36.91, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "27624502 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 124.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9669046 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 130.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9054458 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 82.37, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14959944 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 658.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1677802 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 40.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29751130 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.9156, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 34.76, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33947799 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.388, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "861637230 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 40.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "28993717 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 100.8, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11290419 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 124.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10015212 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 186.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6395236 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 82.06, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14701458 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.892, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "122254839 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.349, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "816297288 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.231, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238532930 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 32.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "34803205 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 87.22, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14959143 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 117.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10185832 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 178.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6726980 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 111.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10568058 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 459.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2730091 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 111.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11361645 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 396.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3112615 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.843, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "422379613 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.443, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "221337754 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.543, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "335283082 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.179, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "190393447 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.807, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "133593973 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 10.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13363720 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 123.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9462420 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4096, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 56.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21459896 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "182f9f09705eab40c61a618835d46faee79c1e49", "message": "🚀 Speedup and cleanup \"path\" testcases and benchmarks (#2465)", "timestamp": "2023-05-17T15:45:38+02:00", "tree_id": "215f3647efc5438906bc8796df7859092ec9fc67", "url": "https://github.com/gofiber/fiber/commit/182f9f09705eab40c61a618835d46faee79c1e49" }, "date": 1684331504638, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1771, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "567850 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7263, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "142135 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6030, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "216794 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 61.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19567106 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 82.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13061215 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 61.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17218304 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 254.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4700166 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 474.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2506336 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.127, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "395821819 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1351, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "847106 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 759.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1547811 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2677, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "442795 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1401, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "758856 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1165, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "923172 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 126.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8922660 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 191.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6338193 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 139.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8004738 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 343.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3614755 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2820, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "427689 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 569.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2255970 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 125.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9987865 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 169.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7034295 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 254.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4604452 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 224.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5167498 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 419.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2883118 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 40.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28876905 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 79.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15090204 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 46.12, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26792912 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 47.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22261395 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 634.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1916404 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 72.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14681641 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 347.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3325942 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4221, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "277078 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "56088145 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 190.3, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6496404 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 324, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3582720 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 441.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2871774 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3541, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "327138 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 154, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7602325 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1384, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "824727 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 274.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4254489 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 855.7, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1372149 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 918.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1293202 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 952.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1303424 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 878, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1311298 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 229.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5026293 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.593, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "201074473 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 60.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19918383 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 48.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24320682 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 124.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11687230 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 130, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9175512 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 41.81, "unit": "ns/op\t 79 B/op\t 0 allocs/op", "extra": "29395893 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 166.7, "unit": "ns/op\t 83 B/op\t 1 allocs/op", "extra": "7307647 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 59.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21497935 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 10.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4386, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "271954 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3791, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "288220 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4594, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "238957 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4606, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "260174 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1462, "unit": "ns/op\t 808 B/op\t 8 allocs/op", "extra": "827527 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5984, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "202622 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5709, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "196803 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 160.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7521832 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 51.41, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23291206 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20805480 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.105, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "295328277 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.471, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "214273446 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 3.539, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "343666344 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 872.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1395220 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 894.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1302488 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 170.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7312234 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 153.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7058373 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 590.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2020363 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 571.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2114308 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 812593, "unit": "ns/op\t 372991 B/op\t 5606 allocs/op", "extra": "1447 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 98.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12716906 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 27.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "40126594 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.562, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "305641455 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.791, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397872922 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 158.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7376751 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 212.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5620017 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 162.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6786026 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 244381, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4873 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 228998, "unit": "ns/op\t 24563 B/op\t 1000 allocs/op", "extra": "4843 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 175165, "unit": "ns/op\t 698 B/op\t 0 allocs/op", "extra": "6621 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 503.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2411299 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 484.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2569106 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 415.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2970165 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 809.1, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1458900 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 500.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2343706 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2677, "unit": "ns/op\t 412 B/op\t 7 allocs/op", "extra": "876888 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2572, "unit": "ns/op\t 560 B/op\t 7 allocs/op", "extra": "825885 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1372, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "784860 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1615, "unit": "ns/op\t 253 B/op\t 5 allocs/op", "extra": "836461 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1956, "unit": "ns/op\t 350 B/op\t 5 allocs/op", "extra": "895004 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 126.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9908108 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 116.6, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10710174 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 54.7, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24025444 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 21.26, "unit": "ns/op\t 611.59 MB/s\t 0 B/op\t 0 allocs/op", "extra": "58968206 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.54, "unit": "ns/op\t 305.63 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26282698 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 791.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1644192 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 145.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8862652 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 518.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2331030 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 360.1, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3405254 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 392.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2783100 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 717.7, "unit": "ns/op\t 14 B/op\t 1 allocs/op", "extra": "1689009 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 441.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2740365 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 877.5, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1490829 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 26377, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "46992 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 27815, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "44918 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 53.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20576607 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 157.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7610030 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22608434 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 137.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8963462 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.65, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51331537 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.49, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55979449 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.65, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57477493 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.15, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50059148 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 30.03, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39682338 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.76, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34973736 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12785152 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 110.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11369438 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 67.64, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "16598450 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 497.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2425416 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37604950 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.711, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.34, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "46124136 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.111, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34830904 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 78.1, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14686256 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 88.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13160294 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 155.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7290746 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 67.97, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16081772 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.149, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "137670564 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.144, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "893107690 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.416, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "278201487 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "43443220 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 70.99, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15686751 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 104.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12625200 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 158.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8125268 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 104, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11280618 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 417.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2920923 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 104.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11163916 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 366.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3297435 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.466, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "473637428 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.054, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "249197254 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.879, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "384532525 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.332, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "245048859 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.068, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "151124491 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 10.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 92.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13281806 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 110.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10480108 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3481, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 52.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23855748 times\n2 procs" } ] }, { "commit": { "author": { "email": "git@leonklingele.de", "name": "leonklingele", "username": "leonklingele" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "fe487934f939ae53db82fb7a543db6f0c6b41ca2", "message": "utils: add Go 1.20+ way of converting byte slice to string (#2468)\n\nRef. https://github.com/valyala/fasthttp/blob/d2f97fc426ed451e64dc8e35e7f87a1d4a2d7bde/b2s_old.go.\r\nRef. https://github.com/valyala/fasthttp/blob/d2f97fc426ed451e64dc8e35e7f87a1d4a2d7bde/b2s_new.go.", "timestamp": "2023-05-19T11:07:20+02:00", "tree_id": "a477386f0e2863d68c89a0c228d19591060d1965", "url": "https://github.com/gofiber/fiber/commit/fe487934f939ae53db82fb7a543db6f0c6b41ca2" }, "date": 1684487629857, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1925, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "712704 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7380, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "158823 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6297, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "192830 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 74.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15962040 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 101.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11727758 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 77.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15776724 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 280.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4210029 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 509.2, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2149261 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.588, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "476880865 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1129, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "994087 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 869.6, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1363455 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3184, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "369901 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1625, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "704478 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1465, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "771806 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 146.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8276112 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 212.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5776143 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 163.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7462316 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 394, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2995395 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3367, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "337735 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 691.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1711809 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 156.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7373223 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 188.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6187970 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 285.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4261256 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 253.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4757767 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 478.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2475558 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 50.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24092887 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 95.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12331573 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 49.46, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23929053 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 59.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19029406 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 750.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1608812 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 82.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14705493 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 390, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2991356 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4896, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "238762 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 17.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "69806334 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 193.4, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5827501 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 344, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3322382 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 478.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2501731 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3743, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "315879 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 163.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7076062 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1434, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "772304 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 284.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4171536 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 930.3, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1315804 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 945.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1244588 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 923.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1311667 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 963.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1330150 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 223.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5392581 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.124, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "195555932 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 67.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17395792 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21281540 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 120.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9903501 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 126.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9289366 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 60.8, "unit": "ns/op\t 71 B/op\t 0 allocs/op", "extra": "21048919 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 204.3, "unit": "ns/op\t 95 B/op\t 1 allocs/op", "extra": "6208803 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 64.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18918747 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 10.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4755, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "221601 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3809, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "284275 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4940, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "234220 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4974, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "213506 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1527, "unit": "ns/op\t 799 B/op\t 8 allocs/op", "extra": "707707 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6272, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "196011 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6229, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "189129 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 166.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7234482 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 57.84, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20054386 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 67.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17526735 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.404, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "272953477 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.067, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "205922968 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.682, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "212180934 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1100, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1096, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 206.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5860006 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 188.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6300326 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 646.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1857870 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 666.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1885096 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 879239, "unit": "ns/op\t 372994 B/op\t 5606 allocs/op", "extra": "1357 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 108.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10580466 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 30.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "40547128 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.965, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "305606377 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.085, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "384577509 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 189.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6395613 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 251.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4646043 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 190, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6365629 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 310202, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3921 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 244568, "unit": "ns/op\t 24569 B/op\t 1000 allocs/op", "extra": "4808 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 187701, "unit": "ns/op\t 646 B/op\t 0 allocs/op", "extra": "6322 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 598.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1967184 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 599.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2019580 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 483.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2303127 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 962.4, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1259134 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 605, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1938486 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2405, "unit": "ns/op\t 345 B/op\t 7 allocs/op", "extra": "620163 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2540, "unit": "ns/op\t 582 B/op\t 7 allocs/op", "extra": "681805 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1588, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "688272 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1874, "unit": "ns/op\t 268 B/op\t 5 allocs/op", "extra": "720001 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1897, "unit": "ns/op\t 255 B/op\t 5 allocs/op", "extra": "821788 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 149.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7932973 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 136.3, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8978725 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 56.5, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "21438019 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 22.47, "unit": "ns/op\t 578.52 MB/s\t 0 B/op\t 0 allocs/op", "extra": "53169808 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 51.95, "unit": "ns/op\t 250.23 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23044903 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 822.1, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1454950 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 171.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7000900 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 587.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2039930 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 386.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3182965 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 450.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2702652 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 821.8, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1495076 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 492.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2388910 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 887.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1337838 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 27559, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "44085 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 28684, "unit": "ns/op\t 8535 B/op\t 207 allocs/op", "extra": "40928 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 55.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20892000 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 158.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7524501 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 71.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16165944 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 170.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6959587 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.33, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46763928 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 24.49, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47227545 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 22.25, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47114506 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 25.69, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44388060 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 33.81, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31736599 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 34.88, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33125379 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 118.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10357802 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 130.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9244468 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 78.45, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "15043628 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 593.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1952934 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 38.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31263505 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.272, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "937614242 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 31.75, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33965602 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.367, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "870927948 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 38.29, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29884905 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 90.21, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "13365412 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 114.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10730439 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 180.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6343375 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 76.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15572692 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.931, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "134012320 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.355, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "810591183 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.756, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253815007 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "43383852 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 75.12, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16236786 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 96.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11949417 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 168.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7117554 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 114, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10635906 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 396.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2947957 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 98.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11738036 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 341.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3550478 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.471, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "269951851 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.056, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "236462770 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.423, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "361087642 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192950758 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.616, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "138649528 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.549, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "139430184 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12475011 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 127.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9054976 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4354, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 65.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17463320 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "1207d5055bbea7066d4752494a7bb084b106d12e", "message": "Update app.go\n\nprepare release 2.46.0", "timestamp": "2023-05-19T12:22:16+02:00", "tree_id": "a1c7c35ecb94a2d86894700711bd47ae8e70ddff", "url": "https://github.com/gofiber/fiber/commit/1207d5055bbea7066d4752494a7bb084b106d12e" }, "date": 1684492126969, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1786, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "694407 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6690, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "156253 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6837, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "165087 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 77.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14550376 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 101.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11950174 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 79.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14577249 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 290, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4138994 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 542.4, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2160480 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.608, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "463180792 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1195, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 924.7, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1291555 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3291, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "350210 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1729, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "660706 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1550, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "726816 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 150.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8260444 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 213.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5482424 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 161.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7137049 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 403.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2990077 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3616, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "316408 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 704.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1711239 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 156.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7114748 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 200.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5624944 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 301.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4053781 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 263.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4562989 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 495.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2278556 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 51.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22985503 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 97.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12220081 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 52.84, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21047140 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 58.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20849829 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 798.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1562980 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 84.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13252350 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 414.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2865747 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5195, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "236014 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 17.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "67926621 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 201.3, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5899233 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 369.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3228690 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 505.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2455916 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3639, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "318622 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 166.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6655624 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1444, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "771337 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 299.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4069212 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 938.6, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1278558 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1019, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 975, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1253281 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 959.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1248087 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 232.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5069847 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.377, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "191847974 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 68.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17587958 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 52.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23055072 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 119.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10113615 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 127.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8864744 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 60.51, "unit": "ns/op\t 70 B/op\t 0 allocs/op", "extra": "21378616 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 198.9, "unit": "ns/op\t 92 B/op\t 1 allocs/op", "extra": "6416067 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 63.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18895894 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 10.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "98760367 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4755, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "231039 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3981, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "295358 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5086, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "219925 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5355, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "230114 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1594, "unit": "ns/op\t 793 B/op\t 8 allocs/op", "extra": "693582 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6178, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "192931 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6384, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "183183 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 169.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6988203 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 59.28, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20115752 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 66.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17549811 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.459, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "260488260 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.881, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "202367020 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.671, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "212585680 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1085, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1085, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 207, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5654334 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 192, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6016941 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 669.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1822872 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 672.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1761934 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 942450, "unit": "ns/op\t 372978 B/op\t 5606 allocs/op", "extra": "1260 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 110.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10916220 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 30.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "40830196 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.979, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "302286019 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.224, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "362852365 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 194.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6125552 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 259.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4833025 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 200.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5959494 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 314018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3802 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 252822, "unit": "ns/op\t 24582 B/op\t 1000 allocs/op", "extra": "4698 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 195656, "unit": "ns/op\t 659 B/op\t 0 allocs/op", "extra": "5878 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 618.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1932290 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 619.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1855929 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 501.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2351439 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1012, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 628.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1918612 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2452, "unit": "ns/op\t 335 B/op\t 7 allocs/op", "extra": "665701 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2646, "unit": "ns/op\t 597 B/op\t 7 allocs/op", "extra": "639115 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1626, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "778543 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2121, "unit": "ns/op\t 278 B/op\t 5 allocs/op", "extra": "661104 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1961, "unit": "ns/op\t 257 B/op\t 5 allocs/op", "extra": "806116 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 156.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7975718 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 136.3, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8724068 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 57.82, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19535614 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 22.65, "unit": "ns/op\t 573.91 MB/s\t 0 B/op\t 0 allocs/op", "extra": "53104238 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 51.58, "unit": "ns/op\t 252.02 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22510881 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 835.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1409772 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 169.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7100586 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 596.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2021331 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 389.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3051638 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 444, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2691544 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 837.4, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1448460 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 490.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2437365 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 910.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1352833 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 28802, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "43153 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 28357, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "40850 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 57.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18083950 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 157.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7096336 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 72.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15552262 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 174.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6965893 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 23.28, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49003663 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 24.41, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45766494 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.45, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44475420 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 26.09, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43866201 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 34.14, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33727156 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 36.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32787432 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 120.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10190218 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 131.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9000076 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 83.43, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14134728 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 641.8, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1919732 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 40.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28895661 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.304, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "916914572 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 33.44, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31721496 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.407, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "848665692 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 41.71, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "28257052 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 93.86, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12139033 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 114.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10362074 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 181.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6681538 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 83.47, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14948206 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "131103135 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.397, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "854916733 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.831, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "247888888 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 28.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "40842337 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 79.96, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14704963 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 101.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11550954 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 181.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6349857 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 118.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10441176 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 422.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2899795 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 103.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11507450 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 352.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3252681 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.463, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "262509672 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.184, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "232905328 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "342562716 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.233, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "197049483 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.609, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "136284271 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.622, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "139259114 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 98.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11839117 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 132.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8484476 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4426, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 65.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17488408 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "9217820f2324312c2173ea9876d24ef5f401a396", "message": "Bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 (#2474)\n\nBumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.18 to 0.0.19.\r\n- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.18...v0.0.19)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: github.com/mattn/go-isatty\r\n dependency-type: direct:production\r\n update-type: version-update:semver-patch\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", "timestamp": "2023-05-23T18:49:28+03:00", "tree_id": "8670d55bb4fcf9c6bec8987ece38a461cd566257", "url": "https://github.com/gofiber/fiber/commit/9217820f2324312c2173ea9876d24ef5f401a396" }, "date": 1684857348294, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1785, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "629977 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6776, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "157810 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5526, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "224576 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 62.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19319874 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 81.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14703937 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 66.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17141170 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 237.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5082642 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 430.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2766651 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.165, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "548142501 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 976.8, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1206554 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 752.6, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1587379 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2791, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "424770 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1383, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "758293 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1252, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "851754 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 124.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9955148 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 183.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6793304 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 138.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7319314 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 353.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3322798 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3052, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "354506 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 602, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2033901 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 128, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9162669 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 158.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6926809 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 241.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4932861 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 217.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5150937 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 407.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2881412 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 42.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28861746 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 81.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14166784 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.17, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29683934 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 51.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23213715 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 654.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1751830 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 72.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17132162 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 342.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3416240 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4131, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "253436 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "83300568 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 161.9, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7300869 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 304.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3936146 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 400.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2926909 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3258, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "335619 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 139.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8462652 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1199, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "905520 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 253.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4670462 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 767.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1557498 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 780.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1457979 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 779.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1559478 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 789.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1557670 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 193.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6647426 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.161, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "233592153 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 56.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21174696 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 44.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26623330 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 98.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12064419 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 107.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11650215 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 45.31, "unit": "ns/op\t 79 B/op\t 0 allocs/op", "extra": "29452087 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 150.7, "unit": "ns/op\t 83 B/op\t 1 allocs/op", "extra": "7340096 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 53.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23162824 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 8.873, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "136614843 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3864, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "290598 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3259, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "376786 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4191, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "243222 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4221, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "285662 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1329, "unit": "ns/op\t 791 B/op\t 8 allocs/op", "extra": "787938 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5075, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "227575 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5282, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "233535 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 146.3, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8704346 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 48.18, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24190080 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 56.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19661928 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.789, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "309750823 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 4.882, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "246945903 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.707, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "261370285 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 969.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1263391 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 898.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1271248 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 168.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6736792 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 161.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7027801 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 565.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2031690 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 562.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2096149 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 747544, "unit": "ns/op\t 372987 B/op\t 5606 allocs/op", "extra": "1548 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 92.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12805086 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "48462853 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.257, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "377429913 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.624, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444195967 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 170.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7158231 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 213.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5943824 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 163.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7569981 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 259078, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4946 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 215045, "unit": "ns/op\t 24610 B/op\t 1000 allocs/op", "extra": "5638 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 158851, "unit": "ns/op\t 623 B/op\t 0 allocs/op", "extra": "7232 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 518.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2345656 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 511.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2343903 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 420.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2953981 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 807.7, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1461697 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 521.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2363617 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2352, "unit": "ns/op\t 407 B/op\t 7 allocs/op", "extra": "896808 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2453, "unit": "ns/op\t 563 B/op\t 7 allocs/op", "extra": "819493 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1318, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "892327 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1877, "unit": "ns/op\t 343 B/op\t 5 allocs/op", "extra": "926034 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1564, "unit": "ns/op\t 253 B/op\t 5 allocs/op", "extra": "832737 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 125.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9232614 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 116.1, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10821109 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.93, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "22923866 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 18.58, "unit": "ns/op\t 699.71 MB/s\t 0 B/op\t 0 allocs/op", "extra": "66126489 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.8, "unit": "ns/op\t 303.72 MB/s\t 0 B/op\t 0 allocs/op", "extra": "25812883 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 697, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1757043 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 143.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8183676 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 502, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2436277 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 320.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3712052 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 359.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3264208 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 672, "unit": "ns/op\t 14 B/op\t 1 allocs/op", "extra": "1836536 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 405.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2998837 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 789.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1618914 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 22140, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49999 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 22568, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "54151 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24710547 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 126.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9547352 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 59.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19209608 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 140.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8682567 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.31, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "63877182 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.24, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "61110489 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.01, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59986600 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49036767 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38569429 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.59, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40588008 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11944663 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 105.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11177059 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.96, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18284907 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 514.1, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2332135 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36276847 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.052, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 28.56, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39518776 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.156, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "933243214 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.84, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33395031 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.89, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14936632 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 91.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12620785 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 150.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7998806 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 63.97, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "19092980 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.683, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "160730000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.139, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.969, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "290553735 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "49672326 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 64.95, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17533474 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 83.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12682071 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 149.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7975440 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 98.23, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12388248 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 346.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3203605 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 85.15, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13309375 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 297.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4115053 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.824, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "302764170 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.453, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "269758194 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "431784822 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.029, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "233502747 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.397, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "167439446 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.274, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "167684796 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 82.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13357999 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 112.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11078322 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.378, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19863829 times\n2 procs" } ] }, { "commit": { "author": { "email": "42675886+Satont@users.noreply.github.com", "name": "Satont", "username": "Satont" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "369494cf25343a09de97c4ce86115f52acf7bcea", "message": "fix: reset terminal colors after print routes (#2481)\n\n* fix: reset terminal colors after print routes\r\n\r\n* Remove unnecessary `\\t` for routes", "timestamp": "2023-05-28T09:34:14+02:00", "tree_id": "61e74a1c67b19e3c008ccc09bd946ff65b85ad37", "url": "https://github.com/gofiber/fiber/commit/369494cf25343a09de97c4ce86115f52acf7bcea" }, "date": 1685259630670, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1566, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5229, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "221311 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5299, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "226101 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 63.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18752781 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 83.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14004428 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 64.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18695175 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 243.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4903654 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 433.7, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2651162 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.179, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "549875706 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 952.2, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1270334 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 734.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1616941 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2673, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "424536 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1384, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "797486 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1225, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "891812 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 121.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9835290 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 178.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6697573 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 137.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8676152 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 331.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3588936 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2957, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "381909 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 593.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2011252 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 130, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9195480 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 166.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7085602 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 244.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4930950 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 218.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5444182 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 400.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2972282 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27865770 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 81.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14575026 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 41.32, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27965134 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 47.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25682758 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 651.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1853316 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16914834 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 332.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3633558 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4254, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "273807 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "79300652 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 164.8, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7206937 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 293.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4081760 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 403.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2948032 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3142, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "371142 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 139.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8158321 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1266, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "862194 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 240.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4963147 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 774.9, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1537443 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 824, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1444038 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 806.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1469980 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 794, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1499454 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 188.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6370846 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.292, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226705562 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20670627 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27538209 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 99.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12069609 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 108.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11056734 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 42.78, "unit": "ns/op\t 71 B/op\t 0 allocs/op", "extra": "26395528 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 164.2, "unit": "ns/op\t 88 B/op\t 1 allocs/op", "extra": "6815676 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 53.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22266079 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.115, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129936300 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3906, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "294276 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3249, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "351482 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4212, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "274146 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4208, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "273730 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1355, "unit": "ns/op\t 801 B/op\t 8 allocs/op", "extra": "803606 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5338, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "220540 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5401, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "212044 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 148.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8009192 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23667770 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 57.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20841622 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316395614 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238336929 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.721, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253410883 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 922.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1307892 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 919.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1288334 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 173.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6987618 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 164.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7268401 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 602.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1986435 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 604, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1996424 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 775770, "unit": "ns/op\t 372961 B/op\t 5606 allocs/op", "extra": "1509 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12694928 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45390784 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.375, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356031139 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.693, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "445692042 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 166, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7293804 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 216.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5486228 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 162.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7396830 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 262624, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4428 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 208093, "unit": "ns/op\t 24594 B/op\t 1000 allocs/op", "extra": "5788 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163368, "unit": "ns/op\t 706 B/op\t 0 allocs/op", "extra": "7250 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 500.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2387703 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 502.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2386796 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 417, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2885924 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 800.9, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1391968 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 518.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2319922 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1891, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "837529 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2213, "unit": "ns/op\t 568 B/op\t 7 allocs/op", "extra": "806973 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1375, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "848269 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1883, "unit": "ns/op\t 349 B/op\t 5 allocs/op", "extra": "899176 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1911, "unit": "ns/op\t 356 B/op\t 5 allocs/op", "extra": "872046 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 128.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9298076 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 114.3, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10493583 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.14, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24592910 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 20.57, "unit": "ns/op\t 632.03 MB/s\t 0 B/op\t 0 allocs/op", "extra": "58584192 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.75, "unit": "ns/op\t 297.16 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27050642 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 702.3, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1709728 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 145.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8131857 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 485.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2477612 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 327.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3667410 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 376.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3196642 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 707.4, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1733252 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 419.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2842827 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 777, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1538506 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24458, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50260 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23805, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48661 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24905762 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 128.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9265500 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19545710 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 142.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8363101 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.47, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58109426 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.78, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55374031 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.36, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58594064 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.98, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52353448 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39951090 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.73, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37877532 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11969415 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 110, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10926266 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 65.96, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17592440 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 504.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2391880 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36287826 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.088, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.56, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39893296 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.25, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34213200 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 76.65, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14940286 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 98.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12120980 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 148.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8035700 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.69, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17155178 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "156336466 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.021, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298484986 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "49947207 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 62.22, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18708618 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 83.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14350833 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8353226 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 94.72, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12008731 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 331.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3614408 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 82.94, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14455005 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 284.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4197819 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.808, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "314819221 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.359, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275607283 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.845, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "421176715 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230989855 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.402, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162037676 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.397, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162334621 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14576240 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 110.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10770640 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3727, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21536433 times\n2 procs" } ] }, { "commit": { "author": { "email": "luk3skyw4lker1770@gmail.com", "name": "Lucas Lemos", "username": "luk3skyw4lker" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "5d53263572159e8522eaeb2aba4e796fd5fd850e", "message": ":bug: fix: treat case for possible timer memory leak (#2488)", "timestamp": "2023-05-31T08:01:13+02:00", "tree_id": "8122f02b45b9c486271653049fd3243c362a319a", "url": "https://github.com/gofiber/fiber/commit/5d53263572159e8522eaeb2aba4e796fd5fd850e" }, "date": 1685513251619, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1658, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "997168 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5223, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "226920 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5629, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "185102 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 63.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18783682 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 84.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13921210 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 64.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18638824 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 242.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4941963 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 454.6, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2612786 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.183, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "549968722 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 960.2, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1248998 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 762.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1549911 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2902, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "400675 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1414, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "762012 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1297, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "839920 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 122.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9827590 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 179.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6694057 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 138.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8655561 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 333.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3559872 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3469, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "339768 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 590.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2023822 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 130.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9232663 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 168.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6955140 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 246.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4856427 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 219.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5454627 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 401.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2972010 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27805208 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 81.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14573737 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 41.43, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27968456 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 49.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24397148 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 647.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1839810 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16720432 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 337.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3603184 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4249, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "274272 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "79191350 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 163.2, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7274290 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 298.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4026453 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 410.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2909343 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3292, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "351829 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 141.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8064757 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1254, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "870426 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 239.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4990318 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 776.5, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1548795 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 825.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1433949 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 816.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1471288 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 801.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1493934 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 189.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6244088 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.303, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226827406 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20551352 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 44.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27074546 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 101.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11832105 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 109.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11058291 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 51.1, "unit": "ns/op\t 73 B/op\t 0 allocs/op", "extra": "20578404 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 168.7, "unit": "ns/op\t 87 B/op\t 1 allocs/op", "extra": "6856425 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 53.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22193421 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.246, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129804292 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3900, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "295297 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3289, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "352617 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4199, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "276621 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4255, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "274303 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1324, "unit": "ns/op\t 797 B/op\t 8 allocs/op", "extra": "831949 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5215, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "221644 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5272, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "218337 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 140.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8450414 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.74, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24036616 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 57.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20850072 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.785, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "317181820 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.035, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238079984 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.725, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "252522981 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 916.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1324167 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 909.2, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1320122 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 176, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6796491 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 165, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7406786 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 607.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1991407 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 607.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1969467 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 872826, "unit": "ns/op\t 372983 B/op\t 5606 allocs/op", "extra": "1348 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12487143 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46557888 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.383, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "354364158 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.697, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444237848 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 162.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7398500 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 218.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5514972 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 162.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7397068 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 262760, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4536 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 212462, "unit": "ns/op\t 24602 B/op\t 1000 allocs/op", "extra": "5628 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163669, "unit": "ns/op\t 677 B/op\t 0 allocs/op", "extra": "7244 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 509.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2300305 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 512.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2359162 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 415.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2852312 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 813.2, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1459194 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 523.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2291934 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1982, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "835728 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2196, "unit": "ns/op\t 574 B/op\t 7 allocs/op", "extra": "793603 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1350, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "844648 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1736, "unit": "ns/op\t 361 B/op\t 5 allocs/op", "extra": "852994 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1953, "unit": "ns/op\t 342 B/op\t 5 allocs/op", "extra": "929935 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 127.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9365204 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 115.7, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10409187 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.3, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23948772 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.26, "unit": "ns/op\t 674.83 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62209920 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.69, "unit": "ns/op\t 297.58 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26836414 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 697.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1717718 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 144.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8127897 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 485.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2481087 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 327.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3642517 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 374.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3200869 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 688.1, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1750747 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 417.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2861588 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 747.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1580836 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23889, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50528 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23485, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51259 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24884527 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 128.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9258405 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19592424 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 141.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8406952 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59151028 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56008623 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.39, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57355465 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51918624 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.17, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40013456 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.55, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38543652 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12021048 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10811745 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 65.58, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17755326 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 502.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2401947 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36037474 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.088, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.62, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41239099 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.79, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34030964 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 80.6, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14649504 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 90.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13265463 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 148.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8096978 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.81, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17482610 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "156493599 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.176, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297633534 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51141468 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 64.34, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18417993 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 83.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14344678 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 142.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8082093 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 100.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11321938 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 335.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3546645 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 83.24, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14297329 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 286.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4166978 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.036, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "295636654 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "273852856 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.845, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "421865870 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.187, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231016982 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.402, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "161490782 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.362, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162726390 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14672954 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10916344 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3718, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21571225 times\n2 procs" } ] }, { "commit": { "author": { "email": "74712214+obakumen@users.noreply.github.com", "name": "Oleg", "username": "obakumen" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "b9e93ccd4abfcdb8efd7dc352d9320071ce7c898", "message": "Fix Sliding Window limiter when SkipSuccessfulRequests/SkipFailedRequests is used. (#2484)\n\n* Fix Sliding Window limiter when SkipSuccessfulRequests/SkipFailedRequests is used.\r\n\r\n* Add tests.\r\n\r\n* Fix linter.\r\n\r\n---------\r\n\r\nCo-authored-by: Oleg Bakumenko ", "timestamp": "2023-06-01T08:00:31+02:00", "tree_id": "2ad45ebd34bd0b479418bdab6964992624844339", "url": "https://github.com/gofiber/fiber/commit/b9e93ccd4abfcdb8efd7dc352d9320071ce7c898" }, "date": 1685599604289, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1580, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5261, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "213042 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5345, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "216745 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 63.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18693859 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 84.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14316640 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 64.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18590986 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 243.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4948741 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 439.3, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2528889 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.176, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "549957640 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 949, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1255467 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 751.6, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1614127 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2694, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "427003 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1380, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "801867 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1235, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "879402 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 122.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9840900 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 180.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6661138 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 138, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8696499 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 332, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3592990 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3026, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "399955 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 590.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2032880 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 130.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9209114 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 166.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7105070 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 246.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4765572 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 217, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5466145 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 402.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2983237 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27748448 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 82.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14679124 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 41.12, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27299049 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 47.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25461906 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 643.8, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1853698 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16785336 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 327.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3555730 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4214, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "277640 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "79738208 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 162.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7311940 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 292.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4090822 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 402, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2985414 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3199, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "373329 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 139.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8169705 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1245, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "893467 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 240.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4943786 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 771.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1542018 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 827, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1454208 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 824.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1473056 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 809.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1500253 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 188.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6311925 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.293, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226704398 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20359803 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27639764 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 99.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12083883 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 109, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10945948 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 63.47, "unit": "ns/op\t 80 B/op\t 0 allocs/op", "extra": "18661662 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 173.1, "unit": "ns/op\t 88 B/op\t 1 allocs/op", "extra": "6817514 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 53.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22299806 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.109, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "131474101 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3962, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "291055 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3316, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "350900 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4275, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269768 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4259, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "272186 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1387, "unit": "ns/op\t 792 B/op\t 8 allocs/op", "extra": "809128 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5228, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "228298 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5275, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "223648 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 144.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8251113 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.78, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23493964 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 57.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20817014 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.795, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316486768 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.042, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238391514 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.726, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253071528 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 912.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1312723 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 923.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1305883 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 172.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6900504 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 165.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7310148 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 598.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1987112 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 604, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1990723 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 769527, "unit": "ns/op\t 372965 B/op\t 5606 allocs/op", "extra": "1522 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 93.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12778840 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46027227 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.372, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "355375624 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.693, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "445486467 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 162.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7388518 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 224.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5523361 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 161.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7427984 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 261318, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4520 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 206019, "unit": "ns/op\t 24526 B/op\t 1000 allocs/op", "extra": "5874 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163314, "unit": "ns/op\t 631 B/op\t 0 allocs/op", "extra": "7136 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 504.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2346342 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 505.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2373039 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 415.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2885600 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 814, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1388340 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 518.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2292223 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2009, "unit": "ns/op\t 313 B/op\t 7 allocs/op", "extra": "812313 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2261, "unit": "ns/op\t 595 B/op\t 7 allocs/op", "extra": "749272 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1389, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "916816 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1660, "unit": "ns/op\t 256 B/op\t 5 allocs/op", "extra": "805970 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1879, "unit": "ns/op\t 343 B/op\t 5 allocs/op", "extra": "922375 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 130.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9151503 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 116.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10403162 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.45, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24180957 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.28, "unit": "ns/op\t 674.20 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62082559 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.72, "unit": "ns/op\t 297.36 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26892670 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 706.7, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1495531 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 145.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8257117 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 492.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2440533 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 330.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3621561 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 374.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3195325 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 678.7, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1738947 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 419, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2826579 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 812.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1542339 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24338, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50755 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23512, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50846 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24986122 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 128.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9321546 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19591710 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 142.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8295834 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.72, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58479411 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54831662 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.65, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60310198 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.37, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52298786 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.39, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39216698 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 30.38, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37723476 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11990746 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10878547 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 67.71, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17182605 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 504.8, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2381731 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36604172 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 27.24, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39097484 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.41, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35061196 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 78.24, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14814000 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 94.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12791230 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 151.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7951916 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17063810 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.667, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "156486660 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298409644 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "50337270 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 62.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18712876 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 83.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14336348 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 142, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8249418 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 96.02, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12503397 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 333.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3546910 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 84.14, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13792885 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 293.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4055593 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316753020 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.368, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274873968 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.847, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "421592562 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.192, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230556055 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162202815 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.386, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162367570 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14610242 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 113.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10273098 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.373, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21560869 times\n2 procs" } ] }, { "commit": { "author": { "email": "83428931+cmd777@users.noreply.github.com", "name": "cmd777", "username": "cmd777" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "4c12938309cfc10637fa949a27f149d5a4c50b27", "message": ":recycle: Refactor: use c.app.getString instead of string(...) (#2489)\n\nuse c.app.getString instead of string(...)", "timestamp": "2023-06-01T10:47:07+02:00", "tree_id": "ddc6c8beaf25812c2c1cbc62f9d68a8ee1d1bf34", "url": "https://github.com/gofiber/fiber/commit/4c12938309cfc10637fa949a27f149d5a4c50b27" }, "date": 1685609600115, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1541, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3668, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "308178 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3733, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "312993 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 63.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18857149 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 82.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14549043 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 63.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18980240 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 246, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4885735 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 432.6, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2654788 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.257, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "530331895 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 971.7, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1242210 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 783.2, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1536156 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2707, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "422992 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1423, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "763845 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1273, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "862725 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 115.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10437002 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 181.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6583513 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 132.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9077821 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 328, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3641601 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2711, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "438141 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 586.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2040430 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 135.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8888692 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 161.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7357668 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 248.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4846518 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 212.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5655150 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 421, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2841716 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27376674 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 87.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13719746 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 38.49, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "30083883 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 47.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25087648 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 655, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1829710 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 72.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16522713 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 334.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3517262 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4444, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "260954 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77920200 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 150.8, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7824249 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 289.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4124054 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 398.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3009889 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2982, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "394076 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 141, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8163732 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1236, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "892200 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 232.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5105240 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 790.3, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1507713 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 857.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1422331 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 834.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1429849 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 822.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1454306 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 176.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6763027 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.348, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224094886 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20414443 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27945162 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 99.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12061783 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 113.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10693903 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 48.05, "unit": "ns/op\t 78 B/op\t 0 allocs/op", "extra": "29874487 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 145.7, "unit": "ns/op\t 86 B/op\t 1 allocs/op", "extra": "6937614 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21772276 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.589, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127586726 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4153, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "281730 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3615, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "325323 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4436, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "268093 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4235, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "275104 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1229, "unit": "ns/op\t 802 B/op\t 8 allocs/op", "extra": "888198 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3778, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "307647 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3844, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "305898 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 152, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7880528 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 48.1, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25468833 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18948400 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.823, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297386654 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "168163478 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.921, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "202413844 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 912.1, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1311525 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 929.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1301461 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 173.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6857002 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 164.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7347237 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 622.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1926303 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 624.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1927639 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 733117, "unit": "ns/op\t 372977 B/op\t 5606 allocs/op", "extra": "1592 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 93.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12869456 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46008772 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.215, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373384904 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.704, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "443795312 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 162.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7461577 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 226.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5204604 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 162.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7473422 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 253939, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4766 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 219408, "unit": "ns/op\t 24585 B/op\t 1000 allocs/op", "extra": "5259 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 179170, "unit": "ns/op\t 675 B/op\t 0 allocs/op", "extra": "6664 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 494.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2435209 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 493.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2411901 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 415.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2883576 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 837.6, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1498032 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 525.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2279809 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1856, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "834452 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2085, "unit": "ns/op\t 571 B/op\t 7 allocs/op", "extra": "799771 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1478, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "768055 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1639, "unit": "ns/op\t 254 B/op\t 5 allocs/op", "extra": "831076 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1814, "unit": "ns/op\t 347 B/op\t 5 allocs/op", "extra": "906769 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 124.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9659456 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 112.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10842988 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.57, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24684447 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.32, "unit": "ns/op\t 672.72 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62168356 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.92, "unit": "ns/op\t 302.87 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27881977 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 769, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1674712 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 138.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8601524 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 503.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2380342 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 337.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3538155 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 373.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3187520 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 705.1, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1709293 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 427.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2813420 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 859.1, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1430820 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23376, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50905 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23326, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50460 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 41.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28990323 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 137.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8706418 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 65.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18198390 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 156.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7769480 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.91, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57419457 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 21.49, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53413288 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.88, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58407796 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.07, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50605212 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40580413 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38705320 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12438334 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10327827 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 62.19, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18618462 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 479.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2495962 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37674147 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.127, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 24.89, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "45049549 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.133, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 30.19, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37066920 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 74.99, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15674872 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 81.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14679421 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 145.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8321886 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.73, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18117187 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.131, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147210969 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995250093 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.021, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298340313 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46718154 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 66.57, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17470065 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 99.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12077060 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8424162 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 102, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11570158 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 356.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3372705 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 80.63, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14784588 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 309.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3824239 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 5.003, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "243270802 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.436, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270166452 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.214, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373362105 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "212987642 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.523, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "159194370 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.806, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "136486165 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12480048 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10319392 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4255, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21869637 times\n2 procs" } ] }, { "commit": { "author": { "email": "46472228+ytsruh@users.noreply.github.com", "name": "Chris Hurst", "username": "ytsruh" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "c955d76f5d45a251fde2197deef59a6ec07e6aa1", "message": ":bug: bug: fix middleware naming and returned values of group methods (#2477)\n\n* Bug fix: route names not updating\r\n\r\n* fixed lint error\r\n\r\n* updated tests with renaming edge case\r\n\r\n* fix group naming partially\r\n\r\n* add todo\r\n\r\n* fix todo\r\n\r\n* fix todo\r\n\r\n---------\r\n\r\nCo-authored-by: Muhammed Efe Çetin ", "timestamp": "2023-06-05T13:00:51+02:00", "tree_id": "686c0f9bfb97103b4930ad5329cf3bc702186391", "url": "https://github.com/gofiber/fiber/commit/c955d76f5d45a251fde2197deef59a6ec07e6aa1" }, "date": 1685963225573, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1606, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "836014 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5223, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "210705 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5331, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "220689 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 62.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19472326 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 85.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14115972 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 62.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18226233 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 237.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5051949 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 443.3, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2484447 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.678, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "448128986 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 951.9, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1266807 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 753.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1613216 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2713, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "423184 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1330, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "822900 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1196, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "900220 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 122.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9789258 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 176.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6758492 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 140.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8528428 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 328.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3644446 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2984, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "400344 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 600.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1996110 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8998148 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 159.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7491758 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 238.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5069941 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 213.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5590648 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 389.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3035884 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27708632 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 84.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14281110 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 40.64, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "28600854 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 49.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24368710 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 639.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1852754 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 68.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17524016 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 334.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3354068 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4212, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "279727 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "74178009 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 164.2, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7167410 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 293.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4111570 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 400.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2990628 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3209, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "365614 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 138.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8278056 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1226, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "882673 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 239.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5013205 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 770.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1555982 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 810.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1480984 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 804.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1479428 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 796.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1501774 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 187.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6408757 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.292, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226772691 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20808169 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 44.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26682919 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 100.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11967111 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 111, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10760584 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 55.31, "unit": "ns/op\t 75 B/op\t 0 allocs/op", "extra": "19825130 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 166.3, "unit": "ns/op\t 83 B/op\t 1 allocs/op", "extra": "7313242 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21950658 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.136, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129677265 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3907, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "293086 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3363, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "347418 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4195, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "272433 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4108, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "277222 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1335, "unit": "ns/op\t 801 B/op\t 8 allocs/op", "extra": "804090 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5160, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "224356 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5199, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "219176 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 142, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8279295 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.02, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24122337 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 57.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20975604 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.719, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322562738 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.033, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238480928 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.739, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "252974169 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 912.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1259913 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 915.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1323535 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 178.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6704023 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 165.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7296973 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 601.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2002119 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 591.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2004117 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 753550, "unit": "ns/op\t 372972 B/op\t 5606 allocs/op", "extra": "1576 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12547212 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46423609 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.364, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356494958 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.679, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "448022712 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 164.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7208950 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 214.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5406390 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 164.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7303855 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 261088, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4539 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 206055, "unit": "ns/op\t 24563 B/op\t 1000 allocs/op", "extra": "5797 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163121, "unit": "ns/op\t 681 B/op\t 0 allocs/op", "extra": "7220 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 500.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2413347 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 497.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2388447 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 417.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2855311 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 805, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1495972 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 519.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2306031 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2219, "unit": "ns/op\t 415 B/op\t 7 allocs/op", "extra": "865765 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2338, "unit": "ns/op\t 564 B/op\t 7 allocs/op", "extra": "816727 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1356, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "945458 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1872, "unit": "ns/op\t 347 B/op\t 5 allocs/op", "extra": "909066 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1915, "unit": "ns/op\t 350 B/op\t 5 allocs/op", "extra": "896259 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 127, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9369380 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 113.1, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10751245 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.82, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24115702 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.32, "unit": "ns/op\t 672.73 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62025001 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.69, "unit": "ns/op\t 297.54 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27478167 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 693, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1730810 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 144, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8355242 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 479.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2515609 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 331.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3626671 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 376, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3195465 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 686.1, "unit": "ns/op\t 15 B/op\t 1 allocs/op", "extra": "1743646 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 417.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2877423 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 775.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1528476 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23605, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50979 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23343, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51014 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24985117 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 127.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9350821 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19508689 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 142.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8445913 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.74, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59469981 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.67, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55997672 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.33, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59596983 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.26, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52359490 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.24, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39312074 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.64, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37772686 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11963592 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 110.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10927982 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17396108 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 501.9, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2376360 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35889127 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.088, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.54, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41332056 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.171, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.19, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35047629 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 76.8, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15274081 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 95.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12649131 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 152, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7828003 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.47, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18123871 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.704, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "157646275 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298772666 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51113872 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 62.17, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18939128 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 83.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14297365 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8473932 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 95.05, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11765170 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 331.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3613183 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 83.24, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14405808 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 285.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4222044 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.035, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297660328 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.367, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275098566 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.845, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "421667650 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.195, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231203133 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.379, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162575707 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.372, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162677928 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14704129 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 110.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10312297 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3716, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21565365 times\n2 procs" } ] }, { "commit": { "author": { "email": "70408571+Skyenought@users.noreply.github.com", "name": "Anzhi", "username": "Skyenought" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "06ef450a8af7d13484712693c57f45a409f7dde5", "message": ":rocket: Add DisableColors to set the default output format (#2493)\n\nAdd DisableColor for default logger format", "timestamp": "2023-06-05T13:20:45+02:00", "tree_id": "0274426e7880d773b9bf1289d7461ef7739974f0", "url": "https://github.com/gofiber/fiber/commit/06ef450a8af7d13484712693c57f45a409f7dde5" }, "date": 1685964423604, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1576, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "691993 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3699, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "306013 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3726, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "312295 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 61.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19403419 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 80.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14900934 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 62.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19341067 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 242.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4933230 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 440.4, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2376414 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.814, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426551289 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 961.7, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1249039 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 766.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1544905 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2700, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "420103 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1428, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "781432 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1270, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "857749 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 115.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10362760 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 171.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6948504 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 132.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9101254 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 328.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3634214 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2804, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "373138 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 592.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2002766 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 135.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8846644 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 148.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7881926 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 235.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5066384 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 201, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5939217 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 411.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2916019 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27549804 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 86.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13771471 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 38.65, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "30415105 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 50.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23459596 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 655.7, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1823576 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16982863 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 325.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3601137 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4417, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "263918 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "78419624 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 155.4, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7378730 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 290.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4108699 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 398.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3001741 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2950, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "389158 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 138.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8225510 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1240, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "894754 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 236.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5044921 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 801, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1503601 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 851, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1420228 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 830.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1444030 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 824, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1455474 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 181.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6534424 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.334, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225040347 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20529804 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 44.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27377521 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 98.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12068524 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 111.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10804888 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 42.82, "unit": "ns/op\t 72 B/op\t 0 allocs/op", "extra": "25827297 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 148.6, "unit": "ns/op\t 95 B/op\t 1 allocs/op", "extra": "7721376 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 56.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21125360 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.625, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127439228 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4162, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "280322 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3623, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "323379 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4492, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "260526 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4224, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "275431 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1236, "unit": "ns/op\t 805 B/op\t 8 allocs/op", "extra": "869204 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3743, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "318946 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3787, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "305286 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 148.3, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8137683 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 46.27, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25356694 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20057566 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.023, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298391692 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.033, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "197764372 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.851, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "195143280 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 913.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1314625 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 914.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1308535 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 203.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6772578 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 189.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6369175 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 622.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1934005 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 620.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1921940 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 747154, "unit": "ns/op\t 372985 B/op\t 5606 allocs/op", "extra": "1605 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 97.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12294705 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45185492 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.216, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373461782 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "439359452 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 156.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7624153 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 229.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5423217 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 157.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7666342 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 245608, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4736 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 223932, "unit": "ns/op\t 24538 B/op\t 1000 allocs/op", "extra": "5415 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 194754, "unit": "ns/op\t 678 B/op\t 0 allocs/op", "extra": "6642 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 494.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2451423 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 488.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2460326 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 424.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2822800 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 800.7, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1495519 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 540.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2257321 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1811, "unit": "ns/op\t 312 B/op\t 7 allocs/op", "extra": "822320 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2080, "unit": "ns/op\t 584 B/op\t 7 allocs/op", "extra": "771861 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1483, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "777164 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1800, "unit": "ns/op\t 359 B/op\t 5 allocs/op", "extra": "862474 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1832, "unit": "ns/op\t 351 B/op\t 5 allocs/op", "extra": "890396 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 122, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9660160 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 106.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11225716 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.21, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24394075 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.37, "unit": "ns/op\t 671.05 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62310763 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.87, "unit": "ns/op\t 303.27 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27510066 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 712.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1687982 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 126.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9439652 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 511, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2377170 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 340.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3542102 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 376.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3173090 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1298, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "912848 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 425.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2816313 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 819.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1550592 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23289, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50926 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23044, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51541 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 41.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28748401 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 138.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8470317 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 65.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18216964 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 154.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7692669 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.93, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59013850 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 21.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54234831 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.78, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58288905 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.91, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51272170 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.36, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40404486 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.73, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38118999 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12445306 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10322065 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 62.63, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18822782 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 483.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2500812 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37265259 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.128, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 24.92, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44861667 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.132, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 30.42, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36520597 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 74.93, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15727044 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 82.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14475992 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 145.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8191473 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.38, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18220231 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.115, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147329845 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995516499 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.023, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298748901 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45239301 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 66.32, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17522094 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 99.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12093475 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8421136 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 102.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11463867 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 356.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3353570 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 79.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14701699 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 309.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3848684 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.821, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "242965448 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.436, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270457598 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.213, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373409274 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "212976790 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.536, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "159082723 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.739, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "136202036 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12477603 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10337096 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4243, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21891244 times\n2 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": "0f5ffed3cc72eb7d4ef36f31c35e9967d18684b9", "message": "🐛fix: update getOffer to consider quality and specificity (#2486)\n\n* feat: getOffer consider q value and specificity\n\n* fix: ignore q=0\n\n* fix: float\n\n* test: client-prefered order and q=0 not acceptable\n\n* fix: always use my insertion sort.\n\n* fix: sort.SliceStable if > 20\n\n* fix: zero allocations\n\n* perf: optimize the sort\n\n* chore: fix lint issue\n\n* fix: consider order\n\n* chore: fix test func name\n\n* chore: fix helper test func name\n\n* chore: revert fix\n\n* perf: use fasthttp.ParseUfloat\n\n* test: GetOffer and SortAcceptedTypes\n\n* chore: remote nil check\n\n* test: sortAcceptedTypes\n\n* fix: use utils.UnsafeBytes\n\n* docs: update docs for fiber PR #2486\n\n* docs: update docs for fiber PR #2486\n\n* test: add test from docs\n\n* fix: yaml", "timestamp": "2023-06-07T17:51:45+02:00", "tree_id": "284d5014368bb02d07291d0b85f13224c94d07d5", "url": "https://github.com/gofiber/fiber/commit/0f5ffed3cc72eb7d4ef36f31c35e9967d18684b9" }, "date": 1686153521480, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1895, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "764271 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7983, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "135974 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6501, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "178746 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 166.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7092969 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 225.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5309025 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 337.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3609878 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 281.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4254428 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 526.1, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2129464 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.182, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "377762698 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1166, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1025040 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 899.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1351873 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3190, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "363709 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1591, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "703202 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1443, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "759014 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 146.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8245219 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 228.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5223050 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 205.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5834115 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 438.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2766504 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3363, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "356386 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 711.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1683554 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 156.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7705047 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 194.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5927631 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 284.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4227033 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 257.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4751073 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 467.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2565031 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 52.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22829487 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 100.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11748792 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 53.85, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23487787 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 61.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19636470 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 798.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1514656 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 82.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14411973 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 393.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3016461 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5358, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "225025 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "65309949 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 202.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5980699 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 366.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3283844 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 503.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2407188 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3690, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "313609 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 165.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6889192 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1471, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "690033 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 299.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3996556 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 920.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1295521 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 969.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1242730 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 960.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1240740 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 957.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1231731 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 233.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5095455 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.273, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "189212998 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 69.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16529980 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 55.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21802950 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 122, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9818468 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 133.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8954461 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 63.41, "unit": "ns/op\t 73 B/op\t 0 allocs/op", "extra": "16309147 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 211.3, "unit": "ns/op\t 96 B/op\t 1 allocs/op", "extra": "6095960 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 65.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18254274 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4714, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "239844 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4015, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "289032 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5061, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "234315 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4964, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "237667 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1576, "unit": "ns/op\t 799 B/op\t 8 allocs/op", "extra": "680821 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1170, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "73015137 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 203.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5955380 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6300, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "184435 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6405, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "186090 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 172.1, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6770619 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 59.31, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19936774 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 68.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17448866 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.422, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270525108 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.044, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199634391 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.681, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "206347869 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1102, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1129, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 226.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5548540 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 197.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6082431 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 667.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1772670 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 673.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1784738 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 913295, "unit": "ns/op\t 372989 B/op\t 5606 allocs/op", "extra": "1264 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 115.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10380770 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 31.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36516913 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.045, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298493314 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.228, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372388401 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 195.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6117549 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 262.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4599242 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 197.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5991531 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 319643, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3735 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 255933, "unit": "ns/op\t 24595 B/op\t 1000 allocs/op", "extra": "4866 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 196002, "unit": "ns/op\t 704 B/op\t 0 allocs/op", "extra": "5815 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 650.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1868374 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 635.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1835521 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 500.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2405954 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1027, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1236075 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 632.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1923082 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2471, "unit": "ns/op\t 337 B/op\t 7 allocs/op", "extra": "655075 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2581, "unit": "ns/op\t 582 B/op\t 7 allocs/op", "extra": "664191 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1641, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "737494 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1976, "unit": "ns/op\t 267 B/op\t 5 allocs/op", "extra": "726628 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1990, "unit": "ns/op\t 261 B/op\t 5 allocs/op", "extra": "771200 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 151.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7866745 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 134.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9011185 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 58.83, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "20066754 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 23.13, "unit": "ns/op\t 561.95 MB/s\t 0 B/op\t 0 allocs/op", "extra": "51937273 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 52.48, "unit": "ns/op\t 247.72 MB/s\t 0 B/op\t 0 allocs/op", "extra": "21752125 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 858.8, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1414026 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 172.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6952578 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 587.2, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2033031 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 400.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3043233 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 452, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2628811 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1640, "unit": "ns/op\t 210 B/op\t 7 allocs/op", "extra": "655375 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 509.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2386129 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 892.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1384770 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 28087, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "42370 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 28042, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "43033 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 57.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20607319 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 153.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7612882 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 73.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16343970 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 171.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7083528 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49170282 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 24, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46048430 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 22.16, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48805881 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 25.68, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43621075 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 35.13, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32746862 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 35.86, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31744164 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 120.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9996733 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 131.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9102607 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 79.63, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14101652 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 615.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1975875 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 40, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29380353 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.311, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "918254517 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 32.33, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34753389 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "854007301 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.15, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "28232334 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 93.71, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12574377 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10993778 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 182.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6599888 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 80.18, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13527255 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130701075 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.406, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "851342067 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.813, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "248984070 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 28.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "42808869 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 76.29, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15446101 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 100.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11981724 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 184, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6896352 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 114, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10184313 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 420.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2906840 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 102.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11323563 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 356.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3429277 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.717, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "258388804 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.237, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228944168 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.419, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "351240500 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.273, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "190522152 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.965, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "134728059 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.903, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "135475982 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 98.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12152521 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 132.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9107396 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4477, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 66.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17967343 times\n2 procs" } ] }, { "commit": { "author": { "email": "835733+gaby@users.noreply.github.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "b66bcd975aa6e9b302c726a4a5e6025305408949", "message": "Migrate to Golang official govulncheck action (#2501)\n\n* Migrate to golang official govulncheck action\n\n* Remove unsupported go version from govulncheck\n\n* Update vulncheck.yml", "timestamp": "2023-06-09T09:43:33+02:00", "tree_id": "22a8b5d57eea3902368b9b7b4354b1e9c13d1981", "url": "https://github.com/gofiber/fiber/commit/b66bcd975aa6e9b302c726a4a5e6025305408949" }, "date": 1686296997785, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1657, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5774, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "188148 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5382, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "218972 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 140.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8540678 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 189.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6340904 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 278.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4264579 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 236.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5056515 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 434.3, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2608946 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.678, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444368278 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 949.3, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1263826 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 766.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1583605 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2671, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "423366 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1329, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "829430 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1194, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "907251 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 122.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9819624 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 191.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6260780 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 171.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6973022 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 355.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3374260 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2855, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "409489 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 596.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1985152 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 131.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9125808 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 160.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7422228 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 238.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4951988 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 214.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5693289 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 388.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3080247 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27697830 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 83.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14318710 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 40.84, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "28528152 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 47.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25225112 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 645.8, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1862485 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 68.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17547669 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 327.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3363782 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4210, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "277047 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "79549436 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 164.4, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7131926 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 293.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4072708 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 402, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2967468 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3152, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "366734 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 138.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8122396 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1235, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "877862 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 240.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5000893 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 773.3, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1553140 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 819.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1458130 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 807.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1480824 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 798.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1498407 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 187.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6411328 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.293, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226667373 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20494213 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 44.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26768827 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 99.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12027463 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 111, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10753053 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 56.95, "unit": "ns/op\t 80 B/op\t 0 allocs/op", "extra": "23355236 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 167.4, "unit": "ns/op\t 85 B/op\t 1 allocs/op", "extra": "7109551 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21925647 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129862076 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3916, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "292870 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3347, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "340958 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4187, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "274101 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4116, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "282183 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1350, "unit": "ns/op\t 800 B/op\t 8 allocs/op", "extra": "787090 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 988.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1214658 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 13.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "90119142 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 169.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7045380 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5266, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "216301 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5373, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "220027 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 145.3, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8204592 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.63, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23672628 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 57.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20716737 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.714, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "323189803 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.038, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "237974384 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.726, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254393791 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 909, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1307445 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 920.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1305823 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 179.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6681301 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 166.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7310680 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 610.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1975056 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 608, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1977289 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 769255, "unit": "ns/op\t 372970 B/op\t 5606 allocs/op", "extra": "1527 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12568268 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45101776 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.364, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "353542772 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.686, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447948051 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 163.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7329463 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 215.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5576450 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 163.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7297536 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 264515, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4513 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 208920, "unit": "ns/op\t 24594 B/op\t 1000 allocs/op", "extra": "5781 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163396, "unit": "ns/op\t 643 B/op\t 0 allocs/op", "extra": "7254 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 505.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2378949 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 500, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2377610 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 417.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2858298 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 805.4, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1484138 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 520.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2299341 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2003, "unit": "ns/op\t 310 B/op\t 7 allocs/op", "extra": "839450 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2301, "unit": "ns/op\t 578 B/op\t 7 allocs/op", "extra": "785538 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1370, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "814809 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1967, "unit": "ns/op\t 353 B/op\t 5 allocs/op", "extra": "885187 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2074, "unit": "ns/op\t 350 B/op\t 5 allocs/op", "extra": "894297 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 128.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9438248 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 122.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10656664 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23925702 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.31, "unit": "ns/op\t 673.11 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62119308 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.71, "unit": "ns/op\t 297.41 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27465831 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 697.5, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1721121 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 143.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8282454 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 484.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2497926 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 333, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3593108 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 407.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3181177 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1307, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "909054 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 442.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2811447 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 758.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1663118 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23691, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50823 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23917, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49860 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25038766 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 128.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9254096 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19539062 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 142, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8342895 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "61425459 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.55, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56261480 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.52, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59713446 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.12, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54202534 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38928404 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.83, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38760415 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12012590 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10924183 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.47, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17559142 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 504.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2389872 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35823957 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.089, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.52, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40473783 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.15, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34195005 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.24, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15268940 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 94.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12720140 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 152.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7906720 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18167184 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.692, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "156098768 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.183, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.016, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298488636 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51562790 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 62, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18609768 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 84.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14382789 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8403132 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 93.99, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12472405 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 331.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3621904 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 82.35, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14320785 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 285.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4110824 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "303999495 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.378, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274939922 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "417828517 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.197, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231306019 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.399, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162328329 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.393, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162344830 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14586187 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 110, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10450126 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3723, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21199984 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "0822f2e32280e4c2bbcbfc1565e61d412ad24d69", "message": "Revert \"Migrate to Golang official govulncheck action\" (#2502)\n\nRevert \"Migrate to Golang official govulncheck action (#2501)\"\r\n\r\nThis reverts commit b66bcd975aa6e9b302c726a4a5e6025305408949.", "timestamp": "2023-06-09T13:34:29+02:00", "tree_id": "284d5014368bb02d07291d0b85f13224c94d07d5", "url": "https://github.com/gofiber/fiber/commit/0822f2e32280e4c2bbcbfc1565e61d412ad24d69" }, "date": 1686310953736, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1740, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "631256 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3669, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "278392 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3722, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "309757 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 128.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9288140 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 183.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6542860 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 263.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4429494 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 242.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4922094 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 436.4, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2362219 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.812, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426004419 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 964.8, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1241166 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 774.2, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1554440 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2705, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "417777 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1427, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "834478 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1265, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "860047 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 115.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10388720 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 181.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6614672 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 193.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6193998 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 354.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3319519 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2646, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "437169 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 584.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2046783 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 136.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8806147 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 149.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7973506 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 234.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5130268 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 200.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5948644 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 405.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2962548 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27504691 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 86.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13796696 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 38.36, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "30154741 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 48.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24711289 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 665.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1796149 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17080717 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 325, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3567699 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4423, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "263187 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "78493315 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 155.3, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7701249 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 290.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4111826 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 399, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3006211 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2966, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "390806 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 138.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8356957 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1246, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "890038 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 245.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4991349 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 790.3, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1510570 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 845.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1421858 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 834, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1451802 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 817.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1469626 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 185.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6427311 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.331, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225484358 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20690450 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27797256 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 98.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12255225 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 111.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10689798 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 38.38, "unit": "ns/op\t 71 B/op\t 0 allocs/op", "extra": "26312992 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 152.7, "unit": "ns/op\t 95 B/op\t 1 allocs/op", "extra": "7713876 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 56.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20834149 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.515, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126595338 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4138, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "279555 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3600, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "324612 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4483, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "262545 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4214, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "275349 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1204, "unit": "ns/op\t 803 B/op\t 8 allocs/op", "extra": "895206 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 901.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1328462 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 15.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82679106 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 180.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6666678 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3729, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "312453 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3786, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "310522 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 150.3, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7929699 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 47.28, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25631926 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20451896 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298493826 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.074, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "161028343 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.874, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "202040188 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 919.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1273236 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 927.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1309351 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 203.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5881444 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 157.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6370419 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 636, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1898083 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 630.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1895582 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 757697, "unit": "ns/op\t 372976 B/op\t 5606 allocs/op", "extra": "1551 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 120.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12580374 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 36.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44260296 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.618, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331738258 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.698, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444729297 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 158.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7564584 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 221.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5389432 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 157.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7606164 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 249570, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4724 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 218572, "unit": "ns/op\t 24565 B/op\t 1000 allocs/op", "extra": "5463 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 178721, "unit": "ns/op\t 647 B/op\t 0 allocs/op", "extra": "6637 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 491.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2435523 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 489.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2431502 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 425.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2816979 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 801.3, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1499907 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 537, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2248315 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1816, "unit": "ns/op\t 310 B/op\t 7 allocs/op", "extra": "839862 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2072, "unit": "ns/op\t 576 B/op\t 7 allocs/op", "extra": "789595 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1450, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "786624 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1596, "unit": "ns/op\t 253 B/op\t 5 allocs/op", "extra": "836979 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1757, "unit": "ns/op\t 346 B/op\t 5 allocs/op", "extra": "911676 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 123, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9765267 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 105.7, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11317886 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.62, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24707614 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.32, "unit": "ns/op\t 672.82 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62101803 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.87, "unit": "ns/op\t 303.23 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27990896 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 712.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1685821 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 126.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9466980 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 499.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2424073 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 336.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3583154 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 376.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3139456 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1313, "unit": "ns/op\t 208 B/op\t 7 allocs/op", "extra": "780346 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 423.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2832459 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 766.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1561317 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23126, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51668 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23129, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51585 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 41.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28986537 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 137.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8671750 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 65.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18213136 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 154.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7767632 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.81, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58445023 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.61, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54539746 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.27, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59290705 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.84, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51697753 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.17, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40578520 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38232262 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12445306 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10326248 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 62.33, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18774651 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 478.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2491549 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36831871 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.151, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.05, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43875771 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 30.15, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37309950 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 74.88, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15559878 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 88.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13598853 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 143.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8315700 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18421032 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.164, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146975794 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995101273 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.016, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298268229 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44256426 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 66.19, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17720437 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 99.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12101871 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8242210 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 101.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11422044 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 354, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3379185 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 79.11, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14750588 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 313.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3730083 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 5.049, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "245682553 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.438, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270824690 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.216, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373062010 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.633, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "213104413 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.533, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "158565564 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.803, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "136167846 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12491221 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10231982 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4259, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21870933 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "9effdf829a79df49c24318bf753f8332d6e75375", "message": "disable golang test cache", "timestamp": "2023-06-09T21:14:32+02:00", "tree_id": "24f626ae8011d7e7761458edc174f85950cf36a5", "url": "https://github.com/gofiber/fiber/commit/9effdf829a79df49c24318bf753f8332d6e75375" }, "date": 1686338731994, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1974, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7238, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "157017 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6588, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "183075 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 168, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7090777 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 226.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5148621 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 340, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3514754 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 284.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4203033 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 543.6, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2153005 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.218, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373164355 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1166, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 929.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1333261 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3240, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "353916 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1619, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "681836 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1451, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "739467 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 145.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8211854 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 229, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5213560 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 205.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5846138 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 429, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2815821 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3376, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "344672 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 711.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1689094 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 158.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7603164 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 192.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5887726 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 287.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4132971 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 259.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4595613 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 476.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2522238 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 52.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23118358 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 100.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11884531 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 49.92, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23103175 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 60.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19515316 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 772.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1529059 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 81.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13948161 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 406.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2840091 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5196, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "228019 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "66236778 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 201.3, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5899902 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 357.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3206720 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 487.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2454751 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3751, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "304980 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 165.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6882913 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1497, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "745304 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 293.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4085712 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 958.7, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1282857 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 988.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1223816 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 979.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1231260 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 950.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1231504 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 226.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5311915 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.323, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "189975259 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 69.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16825947 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 55.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21257997 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 122.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9570235 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 133.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8792025 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 64.52, "unit": "ns/op\t 74 B/op\t 0 allocs/op", "extra": "20127120 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 197.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6054980 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 65.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18166674 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4759, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "243289 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4066, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "286352 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5155, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "227530 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5046, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "228560 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1615, "unit": "ns/op\t 800 B/op\t 8 allocs/op", "extra": "658494 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1207, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "969345 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "72651534 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 205.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5915448 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6295, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "187858 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6543, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "180165 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 175.5, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6517022 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 58.96, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19715631 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17547796 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.434, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "267936730 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.969, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "191780712 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.669, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "212796264 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1104, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1113, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 215.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5589793 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 195.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6106100 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 673.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1751836 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 677.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1787448 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 924209, "unit": "ns/op\t 372984 B/op\t 5606 allocs/op", "extra": "1218 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 115.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10380570 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 31.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37575354 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.031, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "295542090 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.193, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "374574950 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 196.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6063031 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 261, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4654551 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 195.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6031668 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 317589, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3788 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 250571, "unit": "ns/op\t 24499 B/op\t 1000 allocs/op", "extra": "4782 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 196031, "unit": "ns/op\t 678 B/op\t 0 allocs/op", "extra": "6027 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 614, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1928924 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 609.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1935116 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 502.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2408564 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1046, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1236892 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 622.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1929019 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2402, "unit": "ns/op\t 324 B/op\t 7 allocs/op", "extra": "730954 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2638, "unit": "ns/op\t 584 B/op\t 7 allocs/op", "extra": "660544 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1633, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "674665 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2054, "unit": "ns/op\t 263 B/op\t 5 allocs/op", "extra": "752060 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1995, "unit": "ns/op\t 257 B/op\t 5 allocs/op", "extra": "801586 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 152.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7826714 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 138.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8912310 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 60.48, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "20076638 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 24.53, "unit": "ns/op\t 529.92 MB/s\t 0 B/op\t 0 allocs/op", "extra": "48924446 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 52.45, "unit": "ns/op\t 247.87 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22952586 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 867.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1375618 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 174.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6936518 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 584, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2060180 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 400.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3009978 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 452.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2632206 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1602, "unit": "ns/op\t 210 B/op\t 7 allocs/op", "extra": "650432 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 506.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2410057 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 902.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1329183 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 28146, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "42915 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 28196, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "42187 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 57.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20881266 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 155.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7674243 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 73.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16323636 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 177.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7037448 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49215406 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 24.66, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45342386 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 22.54, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50394914 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 25.91, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43358125 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 34.35, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33165735 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 37.17, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31433058 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 119.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9948451 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 133.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9054442 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 80.36, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14532732 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 610.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1989400 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 39.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30468031 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "915672009 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 32.85, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31569459 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.403, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "840997942 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.26, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29449796 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 93.65, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12635190 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11103291 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 183.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6537926 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 78.27, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15118927 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.176, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "131147703 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.406, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "853999005 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.821, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "248423205 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 28.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "42791222 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 77.19, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14785924 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 99.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11962382 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 171.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6824978 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 115.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10116753 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 404.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2972448 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 101.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11778232 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 351.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3477835 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.547, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "263929160 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.183, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "229889661 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.398, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "353998898 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.199, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "194162110 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.898, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "132957198 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "135861732 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 98.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12337092 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 131.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9039966 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4442, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 66.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17883806 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "M. Efe Çetin", "username": "efectn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "d4938dad6c6819034fe78822f616272e06babe60", "message": ":bug: bug: fix onListen hooks when they are used with prefork mode (#2504)\n\n* :bug: bug: fix onListen hooks when they are used with prefork mode\r\n\r\n:bug: bug: fix onListen hooks when they are used with prefork mode\r\n\r\n* :bug: bug: fix onListen hooks when they are used with prefork mode", "timestamp": "2023-06-09T22:42:50+02:00", "tree_id": "23b7bfb6627cc8fe98ec3ad4b529d1e0802e0a64", "url": "https://github.com/gofiber/fiber/commit/d4938dad6c6819034fe78822f616272e06babe60" }, "date": 1686343765959, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1868, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "651194 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6511, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "172467 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6296, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "180054 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 163.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7167699 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 217, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5474362 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 325.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3619998 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 272.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4483125 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 508.9, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2140274 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.118, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "394599574 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1141, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 903.6, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1345064 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3182, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "340954 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1642, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "745429 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1460, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "748528 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 140.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8109915 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 234.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5203429 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 192.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6332857 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 417, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2923192 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3372, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "336786 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 699.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1739337 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 150.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7620070 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 199, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6421022 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 269.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4192360 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 254.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4798956 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 459.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2598507 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 51.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24689464 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 94.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11970206 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 49.56, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23529909 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 56.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20320945 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 772.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1615287 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 79.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14871368 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 410.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2997289 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5181, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "226093 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 17.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "68155914 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 200.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5963456 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 341.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3363457 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 491.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2505555 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3622, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "314450 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 162.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6947899 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1497, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "682915 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 283.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4165155 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 895.7, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1277472 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 972.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1237087 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 990.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1267041 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 977.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1295672 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 224.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5258553 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.208, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "194579079 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 68.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17920483 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 50.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21751609 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 116.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9728895 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 125.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9145300 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 60.99, "unit": "ns/op\t 75 B/op\t 0 allocs/op", "extra": "19898390 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 197.8, "unit": "ns/op\t 95 B/op\t 1 allocs/op", "extra": "6198055 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 64.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18547948 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 10.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4667, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "248037 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4023, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "283923 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5077, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "231152 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5015, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "230504 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1624, "unit": "ns/op\t 804 B/op\t 8 allocs/op", "extra": "669885 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1118, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "71777581 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 202.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6217350 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6281, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "183813 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6226, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "200264 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 174.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7017468 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 58.1, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19976894 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 69.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18165229 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.271, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "279412161 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.852, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "204816902 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.596, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "218539650 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1071, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1095, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 209.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5650447 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 182.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6595311 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 645.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1809668 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 645.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1877521 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 924526, "unit": "ns/op\t 372983 B/op\t 5606 allocs/op", "extra": "1332 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 110.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10585680 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 29.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39634999 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.835, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "306714163 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.175, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "392402103 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 186.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6914253 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 261.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4578999 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 190.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6294620 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 310060, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3278 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 250044, "unit": "ns/op\t 24567 B/op\t 1000 allocs/op", "extra": "5436 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 190964, "unit": "ns/op\t 637 B/op\t 0 allocs/op", "extra": "6074 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 606.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2002147 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 654.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1893909 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 490.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2411630 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 941.4, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1231796 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 630.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2044267 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2443, "unit": "ns/op\t 341 B/op\t 7 allocs/op", "extra": "634839 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2608, "unit": "ns/op\t 600 B/op\t 7 allocs/op", "extra": "633991 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1548, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "721486 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1838, "unit": "ns/op\t 264 B/op\t 5 allocs/op", "extra": "743679 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1936, "unit": "ns/op\t 265 B/op\t 5 allocs/op", "extra": "736644 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 146.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8048718 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 132.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9246740 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 58.46, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "20743198 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 22.96, "unit": "ns/op\t 566.17 MB/s\t 0 B/op\t 0 allocs/op", "extra": "52468252 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 49.65, "unit": "ns/op\t 261.82 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23738674 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 826.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1426034 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 164.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7190084 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 562.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2091804 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 369, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3208779 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 437.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2565550 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1595, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "762856 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 501.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2354103 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 880.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1366015 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 27838, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "45705 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 28129, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "43850 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 54.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21836614 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 156.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7209326 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 69.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16797094 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 169.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7072728 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 21.87, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50036232 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 23.96, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50831749 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 21.75, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51220651 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 25, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49476752 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 34.26, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33147193 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 34.45, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31650915 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 116.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10188321 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 125.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8914070 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 80.28, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "15313146 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 620, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1963051 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 39.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30895513 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.265, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "950914437 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 33.06, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37358690 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.338, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "842708937 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.29, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32048521 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 91.01, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "13006141 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 109.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11333106 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 176.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6554518 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 77.21, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15490936 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.807, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "131919812 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.376, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "879890412 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.572, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "258294705 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44731804 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 75.19, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15568989 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 96.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12381174 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 173.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6850573 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 113, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10521888 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 402.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3022828 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 101.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11664924 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 351.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3417585 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.443, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275916984 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.071, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "232115562 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.279, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "366259999 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.937, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "196096978 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.723, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "141387553 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.562, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "143181415 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 92.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13317250 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 129.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9240662 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4251, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 63.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19080224 times\n2 procs" } ] }, { "commit": { "author": { "email": "dozheiny@gmail.com", "name": "Iliya", "username": "dozheiny" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "d87065f5f2e81e47642da8bcb4d81ea088ca88d5", "message": " 🚀 FEATURE: add queries function (#2475)\n\n* 🚀 FEATURE: add queries method\r\n\r\n* 📚 DOCS: add documents for queries method.\r\n\r\n* 🩹 Fix: fix wrap error returned from Queries function\r\n\r\n* 🚨 tests: add url encoded tests\r\n\r\n* 🔥 feature: add url encoded support for queries\r\n\r\n* 🩹 Fix: fix wrap error returned from Queries function\r\n\r\n* ♻️ Refactor: change error message of url.QueryUnescape\r\n\r\n* ♻️ Refactor: refactor of mapping key and value queries\r\n\r\n* 🚨 Test: Validate to fail parse queries\r\n\r\n* 🚨 Test: Add benchmark test for Queries\r\n\r\n* 🩹 Fix: remove parsing for encoded urls\r\n\r\n* ♻️ Refactor: change string function to c.app.getString fucntion\r\n\r\nCo-authored-by: cmd777 <83428931+cmd777@users.noreply.github.com>\r\n\r\n* ♻️ Refactor: change name of benchamark function ctx queries\r\n\r\nCo-authored-by: leonklingele \r\n\r\n* ♻️ Refactor: remove empty lines\r\n\r\nCo-authored-by: leonklingele \r\n\r\n* Revert \"♻️ Refactor: change string function to c.app.getString fucntion\"\r\n\r\nThis reverts commit 28febf9e602bb13f0761169c26f264e4687da660.\r\n\r\n* 📚 Docs: add documents for queries method\r\n\r\n* 🚨 Tests: add more tests for queries function\r\n\r\n* ♻️ Refactor: change string function to c.app.getString function\r\n\r\n* 🚨 Tests: add more test for queries function\r\n\r\n* 📚 Docs: add more documents to queries function\r\n\r\n---------\r\n\r\nCo-authored-by: cmd777 <83428931+cmd777@users.noreply.github.com>\r\nCo-authored-by: leonklingele ", "timestamp": "2023-06-12T07:51:57+02:00", "tree_id": "c74cfbbdce92593894800cf6bd23d6be08160fc3", "url": "https://github.com/gofiber/fiber/commit/d87065f5f2e81e47642da8bcb4d81ea088ca88d5" }, "date": 1686549494615, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 651.8, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1861740 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3679, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "314347 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3737, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "308676 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 130.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9124414 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 178.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6703077 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 261.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4566391 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 243.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4924108 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 445.7, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2652428 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.815, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426079725 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 977, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1227933 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 776.6, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1544272 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2714, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "423714 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1425, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "779077 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1272, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "873175 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 117.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10231958 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 186.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6461220 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 160, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7510917 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 357.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3347335 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2743, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "397290 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 580.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2065666 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 136.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8875431 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 156.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7632331 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 235.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5068623 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 202.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5852017 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 407.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2914166 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27058231 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 88.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13825887 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 38.54, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29669691 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 48.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24959710 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 656.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1832100 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16929333 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 338.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3540658 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4425, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "262352 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82463259 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 155.8, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7458484 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 292.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4087796 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 397.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3010687 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3023, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "385292 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 133.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8599729 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1252, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "865810 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 242.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5078289 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 793.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1512447 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 845.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1423497 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 833.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1439264 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 825, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1459809 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 183.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6498742 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.335, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224882502 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20605770 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 42.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27800114 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 99.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11984454 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 112.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10587427 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 48.05, "unit": "ns/op\t 76 B/op\t 0 allocs/op", "extra": "30796898 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 149.7, "unit": "ns/op\t 96 B/op\t 1 allocs/op", "extra": "7670354 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21653752 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.619, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126724998 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 373.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3199267 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4196, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "274929 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3633, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "321488 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4503, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "261496 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4230, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "273710 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1283, "unit": "ns/op\t 806 B/op\t 8 allocs/op", "extra": "863032 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 907.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1317403 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82281782 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 181.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6647313 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3729, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "306693 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3801, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "307758 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 145, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8252883 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 46.34, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25368758 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 60.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20016372 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.021, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298179439 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.068, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198833904 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.844, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199714702 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 931.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1284300 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 925.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1300232 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 177.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6699806 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 160.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7578870 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 620.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1937828 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 619.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1942660 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 744214, "unit": "ns/op\t 372972 B/op\t 5606 allocs/op", "extra": "1585 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12242530 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "40114778 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.621, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331733983 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.701, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "443262988 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 160.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7471074 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 228.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5247788 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 159, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7454737 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 251522, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4686 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 218021, "unit": "ns/op\t 24622 B/op\t 1000 allocs/op", "extra": "5498 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 179007, "unit": "ns/op\t 687 B/op\t 0 allocs/op", "extra": "6552 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 488, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2457396 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 488.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2456620 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 412.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2898742 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 796.9, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1503210 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 537.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2249240 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1830, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "829626 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2086, "unit": "ns/op\t 562 B/op\t 7 allocs/op", "extra": "821004 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1451, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "801403 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1805, "unit": "ns/op\t 358 B/op\t 5 allocs/op", "extra": "866054 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1908, "unit": "ns/op\t 351 B/op\t 5 allocs/op", "extra": "892960 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 130.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9123039 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 107.3, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11200339 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.76, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24317551 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.33, "unit": "ns/op\t 672.61 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62226750 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.96, "unit": "ns/op\t 302.60 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27915285 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 717, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1682710 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 131, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9151928 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 497.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2419582 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 338, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3473082 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 385.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3085845 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1351, "unit": "ns/op\t 209 B/op\t 7 allocs/op", "extra": "770983 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 432.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2779039 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 775.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1558856 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23428, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50877 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23461, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50757 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 41.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28672527 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 138.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8764576 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 65.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18202393 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 154.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7651124 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59094360 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53799601 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.33, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58428834 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.95, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51399802 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.35, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39624280 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.88, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38187548 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12439840 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10120615 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 62.24, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18589432 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 479.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2492496 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37534304 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.131, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.03, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43906870 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.134, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 30.17, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37179614 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 75.19, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15446054 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 89.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13533326 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 143.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8347922 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.28, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18215710 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.077, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147967784 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995470278 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298016971 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44881664 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 66.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17631402 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 99.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12065558 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8429194 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 103.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11469958 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 399, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3352220 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 96.58, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11976783 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 312.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3672151 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.993, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "244208330 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270442006 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.216, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373279166 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "213799774 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.523, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "158077983 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "136351605 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12477999 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10331995 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4283, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21790113 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "719a5a2a8f194a2c5a8700289c6b424b441db213", "message": "repair test workflow", "timestamp": "2023-06-12T07:59:59+02:00", "tree_id": "71160f5ece0bf9f7615974e1ac3fb28907be0a28", "url": "https://github.com/gofiber/fiber/commit/719a5a2a8f194a2c5a8700289c6b424b441db213" }, "date": 1686550042210, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1917, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "596779 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6888, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "159674 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6834, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "169392 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 169.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7090219 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 232.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5007104 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 331.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3618081 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 297.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4247198 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 564.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "1947466 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.213, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373322458 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1203, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "995776 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 927.8, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1304535 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3298, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "353037 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1706, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "647173 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1537, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "741219 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 145.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8195571 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 236.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5088098 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 210.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5189898 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 448.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2753527 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3574, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "329886 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 715.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1677481 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 157.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7621972 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 202.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5893009 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 288.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3966748 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 259.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4537532 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 486.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2530165 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 54.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19053321 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 99.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11860352 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 51.69, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20534298 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 60.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19804168 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 807.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1490552 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 84.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13571834 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 430.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2848812 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5308, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "230439 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "64386286 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 209.2, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5651032 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 370.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3324118 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 519.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2300426 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 4199, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "270027 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 166.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6689701 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1595, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "735082 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 298.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4078832 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 989, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1238628 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1008, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 998.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1215531 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1027, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1223314 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 241.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4788342 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "188909667 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 69.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15956637 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 54.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19862205 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 121.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9872893 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 132.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9040479 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 59.71, "unit": "ns/op\t 70 B/op\t 0 allocs/op", "extra": "17056375 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 198, "unit": "ns/op\t 86 B/op\t 1 allocs/op", "extra": "5594659 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 67.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18831591 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 466.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2565909 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 5093, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "241435 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4322, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "247839 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5367, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "209052 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5197, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "231525 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1685, "unit": "ns/op\t 802 B/op\t 8 allocs/op", "extra": "689821 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1168, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "71219211 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 214.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5829237 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6508, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "180813 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6925, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "176328 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 186.8, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6716772 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 62.95, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19235089 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 69.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15490002 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.465, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "268723870 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.536, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199072848 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.733, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200877051 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1139, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1122, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 214.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5150970 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 200.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5792946 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 668.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1768801 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 682.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1768864 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 963966, "unit": "ns/op\t 372981 B/op\t 5606 allocs/op", "extra": "1262 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 114.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10005356 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 32.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36417510 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "239467785 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.301, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356137681 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 204.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5912749 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 262.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4552984 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 197.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6066481 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 329419, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3740 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 259659, "unit": "ns/op\t 24553 B/op\t 1000 allocs/op", "extra": "4635 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 203168, "unit": "ns/op\t 670 B/op\t 0 allocs/op", "extra": "6055 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 629.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1888609 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 646.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1920062 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 492.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2390002 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1005, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1205589 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 615.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1833379 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2383, "unit": "ns/op\t 325 B/op\t 7 allocs/op", "extra": "724354 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2690, "unit": "ns/op\t 579 B/op\t 7 allocs/op", "extra": "668965 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1663, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "680856 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2076, "unit": "ns/op\t 268 B/op\t 5 allocs/op", "extra": "716997 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2015, "unit": "ns/op\t 258 B/op\t 5 allocs/op", "extra": "793672 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 154.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7764434 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 137.3, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8869249 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 61.87, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "20037714 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 24.79, "unit": "ns/op\t 524.50 MB/s\t 0 B/op\t 0 allocs/op", "extra": "44497856 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 55.4, "unit": "ns/op\t 234.64 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22593606 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 876.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1322186 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 173.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6835807 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 621.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1949704 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 395.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3119031 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 455.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2637918 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1667, "unit": "ns/op\t 211 B/op\t 7 allocs/op", "extra": "630391 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 508.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2246156 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 922.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1232336 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 30322, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "40753 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 29969, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "40869 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 57.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20560046 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 161.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7470501 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 73.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16103199 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 178.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6813508 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.95, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48639219 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 24.06, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47181385 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 24.12, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45233241 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 25.96, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43190202 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 35.22, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32122141 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 36.65, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31050976 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 124.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10030774 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 137.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8911845 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 83.46, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13440747 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 623, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1872668 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 39.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30379125 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.303, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "919675720 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 32.49, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34139838 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.417, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "845170860 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 40.67, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "28582617 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 96, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12720373 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 116.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10636317 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 178.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6624344 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 82.95, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14580147 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.237, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126759218 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.415, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "843416398 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "246050419 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 28.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "42570884 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 80.26, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14876287 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 100.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11958616 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 190.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6509876 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 118.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10012221 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 418.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2823840 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 112.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9798153 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 359.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3220891 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.517, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253077361 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.376, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228843164 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.498, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "350793525 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.395, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192513267 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.195, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130774950 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.858, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128583117 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 98.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12210867 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 137.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8595703 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4524, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17762532 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "f4a9cb5023b871430b669d5ca36db1478033dad4", "message": "Bump golang.org/x/sys from 0.8.0 to 0.9.0 (#2508)\n\nBumps [golang.org/x/sys](https://github.com/golang/sys) from 0.8.0 to 0.9.0.\r\n- [Commits](https://github.com/golang/sys/compare/v0.8.0...v0.9.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: golang.org/x/sys\r\n dependency-type: direct:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", "timestamp": "2023-06-13T20:03:22+03:00", "tree_id": "3909f2d60367eeb1bf6196996bf469c96593b45a", "url": "https://github.com/gofiber/fiber/commit/f4a9cb5023b871430b669d5ca36db1478033dad4" }, "date": 1686676203144, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1821, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "613574 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3857, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "301669 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 4352, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "295972 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 132.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9275812 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 179, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6740272 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 265.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4503789 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 242.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4920534 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 454.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2412688 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.817, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426462918 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 997.3, "unit": "ns/op\t 144 B/op\t 7 allocs/op", "extra": "1216154 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 866.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1460406 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3239, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "356725 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1620, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "683646 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1457, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "761125 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 117.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10252764 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 186.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6442850 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 160.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7435011 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 371.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3225693 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 4046, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "282476 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 580, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2062095 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 134.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8892230 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 182.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6667946 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 329.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3637231 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 247.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4806514 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 469.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2490363 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26896220 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 87.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13789980 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 44.36, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26426796 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 48.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24810325 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 694.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1721061 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16779042 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 481.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2495983 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4937, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "237352 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82175936 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 226.8, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5364638 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 331.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3673771 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 435.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2676511 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 4562, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "261657 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 135.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8245468 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1538, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "748441 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 246.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4876767 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1088, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1117, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1120, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1106, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 195, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6165068 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.358, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224407369 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20007847 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 42.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27389600 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 99.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11876365 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 113.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10604041 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 75.66, "unit": "ns/op\t 70 B/op\t 0 allocs/op", "extra": "13653728 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 197.3, "unit": "ns/op\t 96 B/op\t 1 allocs/op", "extra": "6092644 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21134554 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.457, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125437677 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 538.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2188238 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4711, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "249450 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4101, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "289504 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5140, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "220858 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4817, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "242124 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1980, "unit": "ns/op\t 805 B/op\t 8 allocs/op", "extra": "559525 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 909.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1318868 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "84301713 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 180.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6531567 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 4252, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "272629 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 4383, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "275050 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 207.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "5664590 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 52.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22661509 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20107531 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.021, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298338703 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.055, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198603027 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.843, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "206461458 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1005, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 992.1, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1200422 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 177.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6689755 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 160.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7582633 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 656.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1824672 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 659.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1837186 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1044541, "unit": "ns/op\t 372982 B/op\t 5606 allocs/op", "extra": "1148 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12179955 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44705880 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.628, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330804529 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.704, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "443470676 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 161.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7471814 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 231.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5175102 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 159.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7537734 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 251777, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4630 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 232661, "unit": "ns/op\t 24634 B/op\t 1000 allocs/op", "extra": "4842 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 179393, "unit": "ns/op\t 707 B/op\t 0 allocs/op", "extra": "6644 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 489.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2392800 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 490.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2448296 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 410.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2925549 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 794.6, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1495596 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 528.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2262504 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1820, "unit": "ns/op\t 310 B/op\t 7 allocs/op", "extra": "840370 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2071, "unit": "ns/op\t 566 B/op\t 7 allocs/op", "extra": "813784 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1469, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "821517 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1833, "unit": "ns/op\t 353 B/op\t 5 allocs/op", "extra": "885280 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1835, "unit": "ns/op\t 353 B/op\t 5 allocs/op", "extra": "882105 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 130, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9182431 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 105.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11179696 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.7, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24444888 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.3, "unit": "ns/op\t 673.66 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62356430 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.98, "unit": "ns/op\t 302.43 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27907744 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 709.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1668936 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 131.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9082263 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 497.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2408137 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 335.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3559052 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 380.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3133495 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1306, "unit": "ns/op\t 209 B/op\t 7 allocs/op", "extra": "771559 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 434.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2781229 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 828.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1356445 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23691, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50620 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23454, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51483 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 41.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29045905 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 138.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8656044 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 65.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18208849 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 153.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7691698 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.95, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58688872 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.72, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53476874 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56842926 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.99, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51576728 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.32, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40013458 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.71, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38566347 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12446424 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10260387 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 74.55, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18619280 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 525.8, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2265090 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37735005 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.149, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 29.71, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43333018 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.133, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.29, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34788950 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 79.95, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14997295 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 82.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14624367 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 145, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8250141 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.82, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17936919 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.125, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147104383 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "993493231 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298577438 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44895886 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 68.61, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17472356 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 100.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12103310 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 143, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8359128 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 115.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10188156 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 371, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3195481 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 85.34, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14315330 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 331.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3707786 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.839, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254086249 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.439, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "269748955 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.215, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373340672 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.632, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "213130550 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.592, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "160051956 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.818, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "136395152 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12466429 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10332568 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4264, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21807356 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "35ea74a317353132c5bc236d2d6945b4155b184d", "message": "Update app.go\n\nprepare release v2.47.0", "timestamp": "2023-06-19T10:44:23+02:00", "tree_id": "3c66f553aeebf88aa604918c77e156fa19d9a9ad", "url": "https://github.com/gofiber/fiber/commit/35ea74a317353132c5bc236d2d6945b4155b184d" }, "date": 1687164636746, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1533, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3664, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "300976 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3715, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "312010 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 130.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9213247 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 184.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6468735 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 268, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4531746 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 255.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4707122 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 432.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2781282 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.216, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426472429 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 976.8, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1231509 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 787.2, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1521282 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2830, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "403472 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1431, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "780283 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1268, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "863655 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 116.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10341248 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 193.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6236462 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 168.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7093928 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 357.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3320918 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2706, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "417368 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 575.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2081499 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 134.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8928912 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 166.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7220715 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 247.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4863087 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 216.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5386659 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 410.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2911743 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26794056 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 86.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13938010 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 38.78, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29941729 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 48.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24751480 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 668.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1801928 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17115626 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 329.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3539246 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4447, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "264271 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 14.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82473579 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 173.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6886063 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 305.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3856356 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 407.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2927732 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2981, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "390228 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 137.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8250722 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1257, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "890220 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 243.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4923362 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 795.5, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1503232 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 847, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1425990 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 829, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1451749 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 822.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1455787 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 187, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6370244 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225404128 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20720545 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27047112 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 100.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11820195 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10280198 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 40.7, "unit": "ns/op\t 73 B/op\t 0 allocs/op", "extra": "25531902 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 149, "unit": "ns/op\t 81 B/op\t 1 allocs/op", "extra": "7558683 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21495926 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.589, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "122806406 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 364.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3279326 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4000, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "292707 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3463, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "339496 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4320, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "270000 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4340, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271375 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1269, "unit": "ns/op\t 801 B/op\t 8 allocs/op", "extra": "861602 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 875, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1369623 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82966826 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 182.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6538663 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3721, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "312470 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3783, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "301549 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 150.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7964266 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 47.02, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24517701 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 60, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20142463 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298114039 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "197991430 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.898, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "205184149 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 916.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1304906 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 914.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1311246 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 170.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7021426 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 157.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7686858 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 616, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1917040 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 615.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1949203 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 773591, "unit": "ns/op\t 372986 B/op\t 5606 allocs/op", "extra": "1543 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12629218 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45139576 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.623, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331110068 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.702, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444114465 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 156.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7584032 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 226.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5381701 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 157, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7661577 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 250699, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4705 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 222735, "unit": "ns/op\t 24603 B/op\t 1000 allocs/op", "extra": "5292 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 178896, "unit": "ns/op\t 670 B/op\t 0 allocs/op", "extra": "6393 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 479.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2505045 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 480.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2493534 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 420.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2822619 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 815.4, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1475415 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 544.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2200485 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1881, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "830270 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2106, "unit": "ns/op\t 569 B/op\t 7 allocs/op", "extra": "804741 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1465, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "815598 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1627, "unit": "ns/op\t 252 B/op\t 5 allocs/op", "extra": "848169 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1818, "unit": "ns/op\t 346 B/op\t 5 allocs/op", "extra": "912837 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 122.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9860847 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 113.9, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10844025 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.17, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24320695 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.3, "unit": "ns/op\t 673.61 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62346033 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.81, "unit": "ns/op\t 303.67 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27977223 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 740.1, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1620147 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 139.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8568936 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 493, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2440342 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 333.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3127874 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 380.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3135516 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1317, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "906139 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 428.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2754056 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 786.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1447628 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23492, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50538 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23312, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "46845 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18156415 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 138.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8660564 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29037036 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 163.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7311458 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.52, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56458588 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.97, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52478474 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.31, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56893562 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.67, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51004321 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.02, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39471578 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 32.35, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34198630 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12439220 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10291251 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 63.74, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17878653 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 452.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2654851 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35994934 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "994866571 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.04, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44071760 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995021656 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 30.24, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36852632 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 76.49, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15363921 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 83.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14264527 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 143.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8354148 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.65, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17940075 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.951, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "151960578 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.246, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995256028 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "287652025 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 32.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45945289 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 67.18, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16221289 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 106.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11202966 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 153.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7762762 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 84.66, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13444960 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 356.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3360129 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 102.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11637843 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 300, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3969910 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.312, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "371590723 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.653, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254107137 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.638, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330237930 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.387, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "221859051 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.398, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "137416353 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.085, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "131563810 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12369660 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10329932 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4253, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21983565 times\n2 procs" } ] }, { "commit": { "author": { "email": "68618538+Saman-Safaei@users.noreply.github.com", "name": "SamanDev", "username": "Saman-Safaei" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "ed95fa8c7e267f0d7510916f2e979a59434e246f", "message": "🔥 Feature: add ability to print custom message on startup (#2491)\n\n* feat: add a variadic parameter on OnListenHandler\r\n\r\n* feat: accept a variadic ListenData in startupProcess parameters\r\n\r\n* feat: add startupProcess variadic ListenData to function\r\n\r\n* refactor: use runOnListenHooks instead of startupProcess for run onListenHooks\r\n\r\n* refactor: remove variadic to make codes straightforward\r\n\r\n* fix: add listen data to runOnListenHooks\r\n\r\n* test: add listenData parameter to OnListen tests\r\n\r\n* docs: update OnListen docs\r\n\r\n* fix: remove unused codes\r\n\r\n* docs: add tabs to onListen hook example\r\n\r\n* docs: add if statement to docs example\r\n\r\n* docs: replace fmt with log\r\n\r\n* docs: fix return value of example\r\n\r\n* docs: make 0.0.0.0 string a constant\r\n\r\n* fix: change type of TLS from string to bool\r\n\r\n* fix: return bool instead of a string\r\n\r\n* docs: update example with new TLS type\r\n\r\n* fix: change name tls to isTls to prevent shadowing tls variable\r\n\r\n* style: make syntax of onListen example shorter\r\n\r\n* refactor: remove unused no-lint comment\r\n\r\n* refactor: change isTls to isTLS\r\n\r\n* fix: add nolint for isTLS bool param\r\n\r\n* Update listen.go\r\n\r\n---------\r\n\r\nCo-authored-by: M. Efe Çetin ", "timestamp": "2023-06-19T13:11:22+02:00", "tree_id": "38fdae1bc7661272f297a3675ebbd9d3f1010153", "url": "https://github.com/gofiber/fiber/commit/ed95fa8c7e267f0d7510916f2e979a59434e246f" }, "date": 1687173461847, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1551, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "780492 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5264, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "224452 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5304, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "216835 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 141.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8512822 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 186.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6460197 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 280.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4333611 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 248.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4820884 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 424.1, "unit": "ns/op\t 106 B/op\t 2 allocs/op", "extra": "2399595 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.178, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "550194195 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1037, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 739.7, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1635739 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2744, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "419671 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1375, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "813388 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1224, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "864436 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 124.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9666637 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 194, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6161488 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 171.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6934120 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 363.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3263503 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2941, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "403702 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 585.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2051060 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 130.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9208563 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 159.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7456911 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 237, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5048080 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 218, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5495836 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 391.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3055527 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27797575 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 84.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14118403 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 41.37, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27448999 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 51.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23114190 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 645.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1851364 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17112842 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 331.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3606465 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4254, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "268164 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "78352732 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 163.2, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7272896 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 296.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4013439 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 397.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3010100 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3172, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "359688 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 141.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8265723 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1228, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "862682 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 242.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4959226 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 773.8, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1551691 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 806.6, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1480162 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 797.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1502074 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 782.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1524786 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 189.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6190102 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.291, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226594172 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20679813 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 47.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25188322 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 103.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11635429 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10747012 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 61.34, "unit": "ns/op\t 79 B/op\t 0 allocs/op", "extra": "18995610 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 175.7, "unit": "ns/op\t 85 B/op\t 1 allocs/op", "extra": "7090624 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21798501 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.112, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129821994 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 365.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3156738 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3986, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "291091 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3336, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "349773 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4312, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "270668 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4151, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "280251 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1356, "unit": "ns/op\t 797 B/op\t 8 allocs/op", "extra": "783260 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 976.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1230614 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "86877588 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 170.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7050782 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5190, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "220332 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5241, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "221176 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 142.1, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8365882 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 46.61, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24751087 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20597858 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.721, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322608763 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.039, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238395100 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.718, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254257425 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 905.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1330086 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 931, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1298649 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 177, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6853083 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 163.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7366162 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 598.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2020862 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 597.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1983738 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 763466, "unit": "ns/op\t 372970 B/op\t 5606 allocs/op", "extra": "1544 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12294037 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45381481 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.367, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "355133329 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.683, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444864070 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 164, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7421839 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 219.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5463885 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 162.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7116111 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 260605, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4570 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 207076, "unit": "ns/op\t 24530 B/op\t 1000 allocs/op", "extra": "5727 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 162137, "unit": "ns/op\t 695 B/op\t 0 allocs/op", "extra": "7346 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 493.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2418081 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 497.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2429588 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 407.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2929995 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 799.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1506283 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 510.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2347212 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2297, "unit": "ns/op\t 417 B/op\t 7 allocs/op", "extra": "860244 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2482, "unit": "ns/op\t 559 B/op\t 7 allocs/op", "extra": "828636 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1379, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "922086 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1823, "unit": "ns/op\t 360 B/op\t 5 allocs/op", "extra": "855884 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1996, "unit": "ns/op\t 347 B/op\t 5 allocs/op", "extra": "905724 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 125, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9697852 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 108.6, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11127547 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.49, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24252010 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.43, "unit": "ns/op\t 669.07 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61712620 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.71, "unit": "ns/op\t 297.43 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27486382 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 705.1, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1690377 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 148.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7998339 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 480.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2493040 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 327.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3624950 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 384.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3154196 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1298, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "916035 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 426.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2824203 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 851.3, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1461697 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23522, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51072 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23509, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50917 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19525584 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 128, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9193333 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 47.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25042452 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 155.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7593162 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.87, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58470379 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.36, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55921563 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.27, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56361776 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51980337 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 27.27, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41872340 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.35, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39780865 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11887563 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10822844 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 67.57, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17502805 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 490, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2454283 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37366897 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.09, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "42408597 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.49, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35820987 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.69, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15263880 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 92.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12977674 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 156.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7684718 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 63.87, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18114841 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.513, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "160051674 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298318453 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47769963 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 66.55, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17278434 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 87.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13684273 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 146, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8109789 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 84.89, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14024151 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 330.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3611614 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 93.96, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12627668 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 274.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4353487 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.693, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325095550 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.351, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275273847 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 11.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.188, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231138091 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.706, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155830939 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.248, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "165651560 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14683117 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10943031 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3716, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21513513 times\n2 procs" } ] }, { "commit": { "author": { "email": "835733+gaby@users.noreply.github.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "78f4510b282381ce4135d40fcea29a80bbfe709e", "message": "Disable caching when running govulncheck (#2503)\n\n* Migrate to golang official govulncheck action\r\n\r\n* Remove unsupported go version from govulncheck\r\n\r\n* Update vulncheck.yml\r\n\r\n* Update vulncheck.yml\r\n\r\n* Update template to disable caching\r\n\r\n* Run checkout before setup-go", "timestamp": "2023-06-19T13:33:18+02:00", "tree_id": "1aab847298c02e3868298097d6b4a58fb35d0813", "url": "https://github.com/gofiber/fiber/commit/78f4510b282381ce4135d40fcea29a80bbfe709e" }, "date": 1687174777474, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1493, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "694144 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5255, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "220946 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5282, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "218175 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 146.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8212046 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 191.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6304411 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 283.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4165650 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 252.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4761855 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 457.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2449393 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.177, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "548817915 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1076, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 770.7, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1559020 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2846, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "402903 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1410, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "775510 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1266, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "875157 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 127, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9450717 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 203.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5887237 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 179.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6682566 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 384.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3104583 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2957, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "378393 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 599.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2000280 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 131.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9137528 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 162.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7266079 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 241.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4970641 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 225.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5312134 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 400.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2984049 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27745281 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 85.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14062628 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 41.46, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26609692 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 50.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23730415 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 677.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1782020 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 73.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16274406 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 345, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3466255 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4341, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "267037 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "78843864 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 174.3, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6858152 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 316.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3783776 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 421.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2818569 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3226, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "361386 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 141.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7948002 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1269, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "865381 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 254.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4666333 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 805.9, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1472791 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 843, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1413889 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 831, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1448151 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 812.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1472964 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 199.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6009556 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.293, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226594718 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 59.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20166076 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 46.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25921353 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 105.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11427991 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 111.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10757919 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 61.96, "unit": "ns/op\t 78 B/op\t 0 allocs/op", "extra": "19181596 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 185.5, "unit": "ns/op\t 90 B/op\t 1 allocs/op", "extra": "6582291 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21763519 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.069, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129286896 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 377.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3141879 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4118, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "280636 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3441, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "338367 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4475, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "258735 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4261, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269374 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1350, "unit": "ns/op\t 796 B/op\t 8 allocs/op", "extra": "809479 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 991.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1209177 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 13.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "84790564 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 170.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7028755 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5193, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "224259 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5286, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "222446 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 151.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8236946 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 46.49, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25234582 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20626213 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.725, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322584510 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.041, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238313070 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253914080 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 939.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1278758 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 948.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1267296 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 182, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6590583 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 169.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7072978 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 627.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1957585 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 616.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1951075 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 789055, "unit": "ns/op\t 372982 B/op\t 5606 allocs/op", "extra": "1507 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 96.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12573158 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "40422585 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356691788 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.684, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "445288294 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 169.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7134364 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 230.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5240671 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 169.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7038908 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 269670, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4466 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 209719, "unit": "ns/op\t 24597 B/op\t 1000 allocs/op", "extra": "5738 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163637, "unit": "ns/op\t 705 B/op\t 0 allocs/op", "extra": "7281 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 524.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2289355 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 521.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2282228 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 437, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2746645 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 843.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1407235 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 536.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2234978 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2021, "unit": "ns/op\t 316 B/op\t 7 allocs/op", "extra": "791872 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2248, "unit": "ns/op\t 582 B/op\t 7 allocs/op", "extra": "776354 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1424, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "850024 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1603, "unit": "ns/op\t 253 B/op\t 5 allocs/op", "extra": "841442 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1878, "unit": "ns/op\t 346 B/op\t 5 allocs/op", "extra": "911182 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 126.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9442027 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 112.7, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10936018 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49.23, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24129397 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.47, "unit": "ns/op\t 667.59 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61608681 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.66, "unit": "ns/op\t 297.76 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27482539 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 740.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1629066 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 158.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8007033 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 500.2, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2422020 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 343.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3416971 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 396.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3050679 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1348, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "889512 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 439.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2733652 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 787.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1550510 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24365, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49189 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 25007, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "45147 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19569661 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 129.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9114864 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 47.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25057365 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 157.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7437056 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.04, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58070578 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56108772 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.64, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60227095 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.04, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52266456 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 27.36, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40545235 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.43, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39961922 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12021416 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10183300 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 65.91, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17548603 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 504.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2375612 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37651741 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.088, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 27, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39449425 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34060682 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 79.82, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14871312 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 98.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12289922 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 160.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7485920 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.58, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17837319 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.137, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147622008 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.021, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298562263 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47779959 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 67.03, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17566204 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 87.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13686949 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 145.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8206504 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 85.56, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12990967 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 334.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3596901 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 95.17, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12306502 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 277.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4342714 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325154719 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.368, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275205127 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 11.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231158707 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.726, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155840566 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.321, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "163300188 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14575434 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10942762 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3718, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21456795 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "a312a17402001a6a9a27c96b961a9de3c46bc196", "message": "Bump github.com/valyala/fasthttp from 1.47.0 to 1.48.0 (#2511)\n\n* Bump github.com/valyala/fasthttp from 1.47.0 to 1.48.0\r\n\r\nBumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp) from 1.47.0 to 1.48.0.\r\n- [Release notes](https://github.com/valyala/fasthttp/releases)\r\n- [Commits](https://github.com/valyala/fasthttp/compare/v1.47.0...v1.48.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: github.com/valyala/fasthttp\r\n dependency-type: direct:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\n\r\n* repair test setup for this change\r\n\"Request timeout settings for the same domain name are reused #1558\" https://github.com/valyala/fasthttp/pull/1558\r\n\r\n---------\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>\r\nCo-authored-by: René Werner ", "timestamp": "2023-06-20T18:53:10+02:00", "tree_id": "7126b984b2460853ec89b13b89ebda7aa1527bf9", "url": "https://github.com/gofiber/fiber/commit/a312a17402001a6a9a27c96b961a9de3c46bc196" }, "date": 1687280400589, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1924, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "542377 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 8380, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "145845 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7735, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "161740 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 196.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5862168 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 264.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4137576 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 397.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3245359 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 343.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3688628 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 615, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "1974376 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.837, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331929741 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1509, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "829934 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 1093, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3911, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "321174 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1903, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "600516 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1723, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "618885 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 172.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7355149 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 281.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4332538 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 238.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5138377 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 497.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2289944 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3984, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "277933 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 777.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1588647 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 167.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7162452 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 242.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4946463 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 383.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3283664 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 318.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "3765590 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 592.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1872064 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 64.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21328680 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 111.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11001921 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 61.97, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19614522 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 79.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14185285 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 866.1, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1376116 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 91.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11722836 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 506.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2303896 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 6221, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "179942 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 24.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "52776920 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 247, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "4841631 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 447.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2800992 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 561.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2168131 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 4337, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "286540 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 190.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5913337 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1778, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "683768 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 344.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3246506 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1129, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "987673 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1215, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "986139 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1236, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "998613 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1245, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "951183 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 271, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4484642 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 7.031, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "173301901 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14820871 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 68.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19263235 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 144.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8152473 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 159.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8341984 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 59.99, "unit": "ns/op\t 79 B/op\t 0 allocs/op", "extra": "18992270 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 231.4, "unit": "ns/op\t 89 B/op\t 1 allocs/op", "extra": "5387594 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 76.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16068109 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 13.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "94074402 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 598.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "1917685 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 5546, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "202629 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4660, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "240153 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5885, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "197181 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 6090, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "205816 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 2208, "unit": "ns/op\t 819 B/op\t 8 allocs/op", "extra": "543879 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1356, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "873081 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 17.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "55814568 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 246.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5024035 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 8581, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "147589 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 8207, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "139953 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 256.5, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "4937394 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 76.16, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "17161680 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 80.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14280572 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 5.378, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "201359038 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.772, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "167599616 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.617, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "257403063 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1226, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1243, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "909171 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 235.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5262530 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 227.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5309973 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 823.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1486455 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 816.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1448224 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1145404, "unit": "ns/op\t 372980 B/op\t 5606 allocs/op", "extra": "1060 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 138.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9093630 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 35.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "34362338 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.646, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "252120099 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.835, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "293538457 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 235.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4866165 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 293.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4285027 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 227.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5284029 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 334294, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3594 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 294494, "unit": "ns/op\t 24673 B/op\t 1000 allocs/op", "extra": "4053 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 237693, "unit": "ns/op\t 678 B/op\t 0 allocs/op", "extra": "5110 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 678.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1792498 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 678.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1788060 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 535.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2242218 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1069, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 670.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1772257 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2754, "unit": "ns/op\t 335 B/op\t 7 allocs/op", "extra": "662673 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 3100, "unit": "ns/op\t 618 B/op\t 7 allocs/op", "extra": "608212 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1798, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "683590 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2697, "unit": "ns/op\t 299 B/op\t 5 allocs/op", "extra": "580521 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2371, "unit": "ns/op\t 267 B/op\t 5 allocs/op", "extra": "726631 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 166.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6923532 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 153.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "7770933 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 68.66, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "16139536 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 25.36, "unit": "ns/op\t 512.67 MB/s\t 0 B/op\t 0 allocs/op", "extra": "46714813 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 53.93, "unit": "ns/op\t 241.05 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22557259 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 1073, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1255923 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 187.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6537146 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 651.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1796725 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 452.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2686374 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 488.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2424464 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1657, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "716284 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 547, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2203885 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 1076, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 38095, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "30333 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 40118, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "30720 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 64.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17753073 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 206.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "5829116 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 64.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18402813 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 189.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6516079 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 27.12, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "42113490 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 28.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "41223660 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 27.31, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "41453776 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 29.63, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "39461098 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 39.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "26794207 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 41.06, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29192446 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 127.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9188858 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 138.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8692410 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 98.15, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "12807480 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 694.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1681084 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 43.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29226250 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.469, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "791708118 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 36.96, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33009640 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.463, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "816940358 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 45.07, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "26706042 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 120.4, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "10611812 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 113.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10835533 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 190.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6091311 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 92.99, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14072260 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 10.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.425, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "774307000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 6.504, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "189915800 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 35.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "34760912 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 91.32, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "12572558 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 125.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9246915 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 192.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6365046 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 128.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8765655 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 511.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2376637 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 134, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8828434 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 429.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2730124 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.008, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "387842217 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 6.259, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "195946478 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322392106 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.474, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "167192220 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 10.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 10.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 107.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11552527 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 149.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8421373 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4496, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 61.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19661748 times\n2 procs" } ] }, { "commit": { "author": { "email": "83428931+cmd777@users.noreply.github.com", "name": "cmd777", "username": "cmd777" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "1b060cb150c6eab80f71e51120b05da555b43c27", "message": ":adhesive_bandage: Fix: default logger color behaviour (#2513)\n\n* Fix logger colors\r\n\r\n* Fix tests\r\nBasically add ˙enableColors: true˙ back to default config", "timestamp": "2023-06-22T13:06:37+02:00", "tree_id": "ba2b3978f58f2cd6d1daf271e6f06df0c95cd7aa", "url": "https://github.com/gofiber/fiber/commit/1b060cb150c6eab80f71e51120b05da555b43c27" }, "date": 1687432389152, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1802, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "935755 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5371, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "222091 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5431, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "206988 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 149.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7991376 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 199.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5909236 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 294.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4059069 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 237.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5034202 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 442.1, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2397632 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.177, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "549273421 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1091, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 789, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1517529 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2926, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "416343 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1442, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "777984 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1295, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "844608 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 125, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9586155 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 209.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5723328 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 181.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6614792 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 381.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3127668 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3041, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "347330 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 579.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2071158 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 122, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9855681 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 173.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6792578 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 275, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4429842 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 232.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5205619 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 429.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2787650 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 41.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29062821 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 82.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14600364 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.61, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27716971 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 54.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21988405 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 668.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1805503 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 74.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16201417 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 362.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3266108 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4837, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "251340 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "70286140 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 174.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6727566 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 327.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3679104 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 436.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2794357 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3271, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "347632 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 146.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7757473 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1314, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "863641 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 255.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4667976 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 812.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1483207 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 840.5, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1422846 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 838.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1437048 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 827.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1457100 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 202.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5902102 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.295, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226315812 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 59.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19986033 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 46.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25884730 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 107.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11209022 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10367982 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 54.7, "unit": "ns/op\t 65 B/op\t 0 allocs/op", "extra": "22904197 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 186.8, "unit": "ns/op\t 90 B/op\t 1 allocs/op", "extra": "6599005 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 52.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22861497 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.383, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127534312 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 384.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2961175 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4248, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "275809 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3493, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "319387 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4431, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "267871 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4246, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271568 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1398, "unit": "ns/op\t 797 B/op\t 8 allocs/op", "extra": "771526 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 998.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1206788 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 13.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "89122911 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 170.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7045141 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5238, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "217476 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5326, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "217522 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 145.3, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8126504 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 47.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24498402 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 60.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20165312 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.792, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316448826 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.068, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238271812 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.719, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253812481 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 996.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1220667 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1021, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1253232 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 192.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6679683 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 171.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7005129 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 624.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1845294 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 628.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1885484 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 828697, "unit": "ns/op\t 372989 B/op\t 5606 allocs/op", "extra": "1414 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12486714 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45710955 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.426, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "355473613 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.681, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447371308 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 167, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7144476 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 227.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5311615 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 167.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7151485 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 266048, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4466 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 215862, "unit": "ns/op\t 24594 B/op\t 1000 allocs/op", "extra": "4898 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 164331, "unit": "ns/op\t 709 B/op\t 0 allocs/op", "extra": "7234 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 551.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2113504 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 545, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2174475 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 433.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2752617 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 852.1, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1388758 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 542.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2209611 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2316, "unit": "ns/op\t 328 B/op\t 7 allocs/op", "extra": "706370 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2948, "unit": "ns/op\t 606 B/op\t 7 allocs/op", "extra": "727819 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1422, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "741432 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2064, "unit": "ns/op\t 295 B/op\t 5 allocs/op", "extra": "593866 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1761, "unit": "ns/op\t 252 B/op\t 5 allocs/op", "extra": "847422 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 128.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9232861 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 117.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10213797 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 55.24, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23163776 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.47, "unit": "ns/op\t 667.79 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61434205 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.95, "unit": "ns/op\t 295.82 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27252669 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 763.7, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1604557 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 134.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8924779 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 510.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2234001 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 359.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3478362 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 391.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3062017 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1436, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "874930 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 434.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2730232 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 805.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1479238 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 27386, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "46552 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 26948, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "46538 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19454419 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 142.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9017612 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 48.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22323296 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 170.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6703101 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56999335 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.29, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54260790 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57430358 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.65, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52274032 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.22, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38645702 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.82, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39805227 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11708287 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9619992 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 69.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "16880432 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 519.9, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2210000 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37870045 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.089, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 27.42, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43230237 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.174, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.85, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32944629 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 86.08, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14431860 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 100.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11894552 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 161.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7176214 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.82, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17775912 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.132, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147610076 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.174, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.028, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298219982 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46081640 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 68.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17053108 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 87.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13687911 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 148.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8014430 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 89.35, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13639155 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 344, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3333400 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 97.77, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12137205 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 285.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4074276 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.696, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324999738 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.387, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274665649 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 11.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.197, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231229946 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.705, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155784835 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.329, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "164434590 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14584854 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10896820 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3718, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21530554 times\n2 procs" } ] }, { "commit": { "author": { "email": "50274938+mo1ein@users.noreply.github.com", "name": "Moein Halvaei", "username": "mo1ein" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "85bd155bee235b54c2224aa1ce8e5a5fd3b8fc59", "message": "Fix comment in client.go (#2514)", "timestamp": "2023-06-23T11:44:29+02:00", "tree_id": "b49f903bc0e02758c5ef78bfb5bbaf59c47f370d", "url": "https://github.com/gofiber/fiber/commit/85bd155bee235b54c2224aa1ce8e5a5fd3b8fc59" }, "date": 1687513847237, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 659.6, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1834994 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3843, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "310610 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3733, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "305895 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 126.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9487398 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 178.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6720468 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 265.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4542261 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 249.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4803990 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 430.6, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2524560 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.249, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "533857797 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 975, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1224602 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 792.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1519515 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2737, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "424054 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1449, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "776606 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1296, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "844479 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 114, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10591002 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 192.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6242496 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 168.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7109284 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 360.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3324922 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2745, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "398412 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 539.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2223375 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 118.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10071589 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 157.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7556902 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 245.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4914802 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 212.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5634097 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 414.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2905825 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 42.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28217598 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 83.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14467528 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 38.25, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "30306950 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 50.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23326970 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 668.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1804407 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 72.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16497760 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 330.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3619174 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4497, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "260697 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "74486365 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 144.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8237624 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 300.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4007140 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 411.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2915306 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3102, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "382154 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 139.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8233932 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1260, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "881792 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 249.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4828624 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 814.2, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1465294 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 857.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1349424 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 838.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1421762 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 829.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1448884 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 190.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6230338 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.311, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225855154 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20786161 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27354548 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 103.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11324652 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10315318 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 44.02, "unit": "ns/op\t 72 B/op\t 0 allocs/op", "extra": "25766167 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 149.5, "unit": "ns/op\t 95 B/op\t 1 allocs/op", "extra": "7762371 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 50.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23433104 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 10.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 369.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3097437 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3998, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "291824 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3529, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "333518 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4322, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "267423 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4288, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "272132 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1255, "unit": "ns/op\t 800 B/op\t 8 allocs/op", "extra": "879820 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 864.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1381669 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "83384684 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 183.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6527247 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3758, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "310938 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3862, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "300787 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 144.1, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8234274 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 45.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25586355 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20346079 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297478780 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "160772132 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "202617616 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 907.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1327975 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 929.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1311630 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 174.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7106055 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 164, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7393426 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 638.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1873706 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 637.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1885600 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 738285, "unit": "ns/op\t 372973 B/op\t 5606 allocs/op", "extra": "1490 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 96.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12461128 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45639922 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.214, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373373828 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.707, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "443518807 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 159.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7522432 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 220.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5420349 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 160.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7549564 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 251466, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4708 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 221912, "unit": "ns/op\t 24580 B/op\t 1000 allocs/op", "extra": "5294 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 178094, "unit": "ns/op\t 710 B/op\t 0 allocs/op", "extra": "6630 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 496.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2428060 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 494.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2402365 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 423.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2857443 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 817.2, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1466548 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 529.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2271769 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1843, "unit": "ns/op\t 310 B/op\t 7 allocs/op", "extra": "839786 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2042, "unit": "ns/op\t 560 B/op\t 7 allocs/op", "extra": "826410 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1474, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "799609 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1610, "unit": "ns/op\t 252 B/op\t 5 allocs/op", "extra": "850290 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1810, "unit": "ns/op\t 353 B/op\t 5 allocs/op", "extra": "885207 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 122.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9722965 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 108.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10481628 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.39, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24675121 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.35, "unit": "ns/op\t 671.84 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61492638 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 44.67, "unit": "ns/op\t 291.01 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27508443 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 719.7, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1651964 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 121.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9832563 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 508.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2349810 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 350.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3410053 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 381.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3137383 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1348, "unit": "ns/op\t 209 B/op\t 7 allocs/op", "extra": "757698 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 435.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2776664 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 809.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1419144 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23353, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50484 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23313, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51288 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18181894 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 138.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8541006 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29050923 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 164.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7369255 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.55, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55960650 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53196818 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57237331 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.27, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50354488 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.99, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39163269 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 32.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35352800 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 97.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12425835 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10285692 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 63.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18268893 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 450.8, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2637135 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36850442 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "994693994 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44467700 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "991974487 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 30.41, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36735448 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 75.89, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15277879 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 86.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13897806 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 146.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8171404 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17873486 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.923, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149078248 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995626130 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297677371 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44801596 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 66.95, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17373488 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11764635 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 153.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7751550 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 82.46, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13831483 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 356.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3370399 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 102.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11490618 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 299.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3993643 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.354, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "355933017 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.767, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "252371520 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.621, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "329322422 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "229562410 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.649, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "136540252 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.407, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128711911 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12366802 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10329106 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4254, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 57.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20944410 times\n2 procs" } ] }, { "commit": { "author": { "email": "50274938+mo1ein@users.noreply.github.com", "name": "Moein Halvaei", "username": "mo1ein" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "5967d36bc0e539d27290eec9fd05a043147f439c", "message": "✏️ Fix typo (#2518)\n\n* Fix: typo in client.go\r\n\r\n* Fix: typo in ctx.go\r\n\r\n* Fix: typo in path.go\r\n\r\n* Fix: typo in router.go\r\n\r\n* Fix: typo in adaptor.go", "timestamp": "2023-06-23T16:15:38+02:00", "tree_id": "443e0d622a4c6c2e3ab5d9f03c29d0e2bf8e82d9", "url": "https://github.com/gofiber/fiber/commit/5967d36bc0e539d27290eec9fd05a043147f439c" }, "date": 1687530118514, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1378, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "748618 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3687, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "312420 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 4111, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "310051 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 127.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9351744 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 177.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6749155 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 347.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4591563 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 249.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4177195 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 422.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2682818 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.254, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "530167038 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 993.4, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1216309 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 798.7, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1491552 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2723, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "414543 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1459, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "756513 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1311, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "839234 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 113.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10530217 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 186.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6400548 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 167.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7138782 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 361.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3327422 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2649, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "455863 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 543.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2212098 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 117.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10126258 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 158, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7490712 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 242.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4927777 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 214.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5564452 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 415.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2868568 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 42.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28195090 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 82.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14344698 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 38.54, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29941170 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 51.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23519164 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 666.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1793545 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 72.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16568936 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 335.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3612867 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4557, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "257894 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "74459973 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 145.8, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8176102 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 305.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3910830 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 416.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2854888 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3016, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "382324 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 139.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8228698 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1270, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "877050 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 249.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4782679 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 821.3, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1462252 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 854.7, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1412611 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 840.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1426296 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 831.8, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1441174 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 193, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6190620 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.313, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225922906 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 56.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20665176 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 44.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27613771 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 102.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11554071 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 116.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10189057 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 41.7, "unit": "ns/op\t 72 B/op\t 0 allocs/op", "extra": "25860988 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 150.4, "unit": "ns/op\t 96 B/op\t 1 allocs/op", "extra": "7611058 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 50.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23161058 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.645, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124295990 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 375.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3083602 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4034, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "289509 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3528, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "330223 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4392, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "268484 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4335, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "267757 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1277, "unit": "ns/op\t 803 B/op\t 8 allocs/op", "extra": "870843 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 870.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1377387 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "81050806 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 183.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6549841 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3762, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "305757 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3831, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "306693 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 147.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8080542 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 48.97, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25449831 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 64.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18857479 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.031, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297376180 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.946, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "170172362 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.731, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "209305540 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 909.2, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1315918 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 926.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1280132 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 171.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7056339 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 165.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7365351 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 641.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1876492 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 639, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1875294 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 759304, "unit": "ns/op\t 372990 B/op\t 5606 allocs/op", "extra": "1566 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 97.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12454904 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45253731 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.215, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372774073 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "442256250 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 160.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7421475 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 221.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5369534 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 159.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7530678 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 250791, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4718 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 223463, "unit": "ns/op\t 24574 B/op\t 1000 allocs/op", "extra": "5348 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177987, "unit": "ns/op\t 677 B/op\t 0 allocs/op", "extra": "6644 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 498.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2415194 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 495.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2402974 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 420.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2835142 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 824.4, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1456678 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 528.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2267197 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1873, "unit": "ns/op\t 313 B/op\t 7 allocs/op", "extra": "818752 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2102, "unit": "ns/op\t 572 B/op\t 7 allocs/op", "extra": "797605 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1469, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "847064 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1627, "unit": "ns/op\t 253 B/op\t 5 allocs/op", "extra": "836431 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1831, "unit": "ns/op\t 350 B/op\t 5 allocs/op", "extra": "896635 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 122.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9773018 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 106.7, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11153515 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.49, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23998815 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.37, "unit": "ns/op\t 671.22 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61857181 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 44.01, "unit": "ns/op\t 295.38 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27463752 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 726.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1654010 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 122.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9832321 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 513.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2334838 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 348.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3437053 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 382.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3134391 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1372, "unit": "ns/op\t 209 B/op\t 7 allocs/op", "extra": "744183 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 432.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2726460 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 805.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1419398 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23668, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50404 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23799, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50107 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18159704 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 139.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8617892 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29054656 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 162.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7346482 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54683026 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.99, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51916014 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.58, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55555938 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.03, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51135081 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39303962 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 32.27, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35362262 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12433438 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 149.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10262149 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 65.21, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "16573243 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 451.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2657059 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37152079 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "993791551 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.11, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43041054 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995254716 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 30.28, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37371458 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 76.45, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15162434 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 88.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13466473 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 148.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8099876 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.73, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18072741 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "153413514 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "993914797 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.031, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298018066 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44255386 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 67, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17478134 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11742985 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 154.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7705956 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 83.55, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14265987 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 361, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3346660 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 103.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11608945 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 303.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3958692 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.271, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "362145504 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.766, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "251701134 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.632, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331143480 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.837, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228506624 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.457, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "134609590 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.329, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128529214 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12365846 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10313175 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4272, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21947994 times\n2 procs" } ] }, { "commit": { "author": { "email": "70408571+Skyenought@users.noreply.github.com", "name": "Jiun Lee", "username": "Skyenought" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "fefc5338347dacf29b007584b1f0e4f515a0799e", "message": "🚀 Add Logger interface and fiberlog (#2499)\n\n* add log for fiber\r\n\r\n* replace log in fiber\r\n\r\n* add Log use to adapt for log libraries\r\n\r\n* Update app.go\r\n\r\nCo-authored-by: Tomás Warynyca <41587659+tomaswarynyca@users.noreply.github.com>\r\n\r\n* wip: add log docs\r\n\r\n* add WithLogger use to print key and value\r\n\r\n* remove CtxLogger and add WithContext use to bind Context\r\n\r\n* fix errcheck\r\n\r\n* fix errcheck\r\n\r\n* update log.md\r\n\r\n---------\r\n\r\nCo-authored-by: Tomás Warynyca <41587659+tomaswarynyca@users.noreply.github.com>", "timestamp": "2023-06-26T08:16:57+02:00", "tree_id": "abc945b6c583b408b228b16ee90a13c80262bfc5", "url": "https://github.com/gofiber/fiber/commit/fefc5338347dacf29b007584b1f0e4f515a0799e" }, "date": 1687760636581, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1858, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "543633 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7220, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "154940 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6787, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "182274 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 163.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6879704 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 217.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5468133 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 352.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3676813 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 294.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3896599 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 559.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "1949670 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.719, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "450508603 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1313, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "939145 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 1001, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3667, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "321145 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1687, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "647067 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1521, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "773054 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 148.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7710306 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 237.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4930826 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 205.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5994368 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 427.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2825647 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3213, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "375696 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 667, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1777945 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 155.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7737536 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 214.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5339842 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 320.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3733338 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 271, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4116434 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 544.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2265889 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 54.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22112162 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 102.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11650173 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 56.61, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20455833 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 65.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18311304 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 842.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1405846 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 89.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12744956 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 442.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2824393 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5619, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "218534 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "64056181 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 224.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5031003 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 390.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3061020 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 532, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2314274 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 4131, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "270168 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 173.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6623686 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1643, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "691184 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 315.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3792084 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1011, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1162449 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1016, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1014, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1052, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1210458 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 250, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4798969 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "183593811 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 70.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17244589 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 54.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21705830 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 125.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9613988 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 141.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8407124 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 68.22, "unit": "ns/op\t 80 B/op\t 0 allocs/op", "extra": "14844116 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 214.2, "unit": "ns/op\t 87 B/op\t 1 allocs/op", "extra": "5495942 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 66.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17959389 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 483.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2440255 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 5153, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "214759 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4226, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "281361 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5299, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "212241 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5281, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "224710 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1774, "unit": "ns/op\t 805 B/op\t 8 allocs/op", "extra": "657202 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1183, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "923078 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "71989173 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 204.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5882522 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6662, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "178296 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6376, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "183481 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 169.1, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7130152 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 61.47, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18706674 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 66.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17464932 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "301938961 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.411, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "203155861 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.413, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "214226337 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1137, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1117, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 211.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5488324 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 211.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5932562 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 721, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1671543 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 714.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1618634 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 952556, "unit": "ns/op\t 372978 B/op\t 5606 allocs/op", "extra": "1242 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 112.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10751943 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 29.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "40314676 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.929, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "303112747 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "388084795 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 193.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6246093 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 266.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4787558 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 208.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5834812 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 318150, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3578 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 245636, "unit": "ns/op\t 24538 B/op\t 1000 allocs/op", "extra": "5086 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 191301, "unit": "ns/op\t 630 B/op\t 0 allocs/op", "extra": "6154 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 668.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1858687 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 678.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1812792 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 528, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2221726 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1009, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 614.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1827411 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2303, "unit": "ns/op\t 324 B/op\t 7 allocs/op", "extra": "729340 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2665, "unit": "ns/op\t 586 B/op\t 7 allocs/op", "extra": "675116 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1635, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "738694 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1921, "unit": "ns/op\t 256 B/op\t 5 allocs/op", "extra": "812938 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2001, "unit": "ns/op\t 260 B/op\t 5 allocs/op", "extra": "780086 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 155.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7683160 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 136.3, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9108021 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 58.79, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19786707 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 22.55, "unit": "ns/op\t 576.58 MB/s\t 0 B/op\t 0 allocs/op", "extra": "54233109 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 50.97, "unit": "ns/op\t 255.03 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23731518 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 912.7, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1310980 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 179.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6447195 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 606.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1954024 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 423.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2916051 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 463.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2545868 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1628, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "737028 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 493.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2356750 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 991, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1234333 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 28464, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "43591 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 29450, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "41234 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 71.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16566084 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 154.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7700334 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 55.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21526467 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 181.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6554877 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 21.17, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56141671 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 22.46, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51250419 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 20.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49520274 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 23.62, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51941713 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 30.63, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33665782 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 31.22, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33619563 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 116, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10822912 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 126.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9970922 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 76.91, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "15052940 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 575.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1968712 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "33565042 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "969003757 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 29.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37102731 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.266, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "956719172 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 36.85, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31847287 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 92.31, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12704857 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 118.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9947630 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 180.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6949818 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 73.07, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14365603 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.881, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "135822340 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.278, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "930075735 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.596, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "251571442 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "42387950 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 75.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15341312 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 97.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11923105 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 176.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6680709 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 99.52, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11216623 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 393.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2895942 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 104.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11028189 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 302.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3979213 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.985, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "287910862 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.988, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "247904104 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 12.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "88554297 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.613, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "216407995 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.243, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "142515676 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "153766036 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 85.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13014289 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 122.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9698288 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4333, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 59.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18016424 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "71c6b889d03501c8c0c3636f8637a6075229b8e4", "message": "Bump golang.org/x/sys from 0.9.0 to 0.10.0 (#2530)\n\nBumps [golang.org/x/sys](https://github.com/golang/sys) from 0.9.0 to 0.10.0.\r\n- [Commits](https://github.com/golang/sys/compare/v0.9.0...v0.10.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: golang.org/x/sys\r\n dependency-type: direct:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", "timestamp": "2023-07-05T16:41:19+03:00", "tree_id": "a27bc704cdd145de84c2706fcef347f3da8eb112", "url": "https://github.com/gofiber/fiber/commit/71c6b889d03501c8c0c3636f8637a6075229b8e4" }, "date": 1688564865841, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1871, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "734949 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5276, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "225577 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5310, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "223950 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 149.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8041122 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 199.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6004072 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 291.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4115368 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 228.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5211640 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 445, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2496192 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.677, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "448144562 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1008, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 775, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1556048 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2878, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "398274 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1363, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "804398 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1229, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "879072 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 126.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9472374 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 203.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5906246 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 178.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6740200 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 385.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3105990 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2980, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "399644 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 589.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2038954 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 134.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8947981 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 174.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6757146 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 268.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4482758 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 236.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5103795 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 434.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2722125 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26980706 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 89.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13452936 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 39.46, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27752469 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 53.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22577270 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 667.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1789137 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 73.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16187137 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 344.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3458263 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4330, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "271228 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "74647132 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 169.3, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7101859 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 318.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3777228 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 421.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2821987 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3294, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "361852 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 145, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7899337 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1298, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "826320 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 254.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4665196 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 800.3, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1517787 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 834, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1443490 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 829.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1459394 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 821.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1475160 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 195.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6106693 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225433467 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20532378 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 47.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25243792 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 105.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11253418 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10814469 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 61.69, "unit": "ns/op\t 80 B/op\t 0 allocs/op", "extra": "18648724 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 182.9, "unit": "ns/op\t 89 B/op\t 1 allocs/op", "extra": "6683367 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22169734 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129010024 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 381.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3008198 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3969, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "293876 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3308, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "353682 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4247, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "273165 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4261, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "272335 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1368, "unit": "ns/op\t 800 B/op\t 8 allocs/op", "extra": "802324 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "88369147 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 171.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6986467 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5178, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "221130 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5248, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "225834 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 144, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8362434 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 51.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22781149 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20640883 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.791, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316702398 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238414221 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.715, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254144509 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 940.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1267498 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 949.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1271282 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 176.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6804118 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 166.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7302420 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 621.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1921141 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 618.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1930321 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 776360, "unit": "ns/op\t 372970 B/op\t 5606 allocs/op", "extra": "1533 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12531585 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44830662 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.365, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356162055 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.695, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447972601 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 165.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7253234 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 226.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5240786 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 166.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7229654 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 268251, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4377 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 211223, "unit": "ns/op\t 24601 B/op\t 1000 allocs/op", "extra": "5690 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163710, "unit": "ns/op\t 677 B/op\t 0 allocs/op", "extra": "7272 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 527.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2301709 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 531.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2242044 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 438.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2804959 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 841.8, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1432425 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 530.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2263712 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1962, "unit": "ns/op\t 313 B/op\t 7 allocs/op", "extra": "817264 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2270, "unit": "ns/op\t 583 B/op\t 7 allocs/op", "extra": "774336 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1406, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "847792 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1635, "unit": "ns/op\t 260 B/op\t 5 allocs/op", "extra": "780050 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2097, "unit": "ns/op\t 349 B/op\t 5 allocs/op", "extra": "899139 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 137.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8728011 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 113.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10388028 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49.47, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23662502 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.27, "unit": "ns/op\t 674.47 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62260690 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.77, "unit": "ns/op\t 297.01 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27005484 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 737.5, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1642974 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 146.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8213511 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 505.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2381912 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 346.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3478244 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 387.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3095214 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1358, "unit": "ns/op\t 209 B/op\t 7 allocs/op", "extra": "742033 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 442.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2761118 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 827.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1430174 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24379, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48279 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24482, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48932 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19542075 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 129.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9072487 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 48.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25058425 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 156.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7418776 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.96, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57707178 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.87, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54843195 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.52, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60327517 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.96, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50986160 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 27.33, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41407993 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.77, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39901262 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12004108 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 110.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10078774 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.31, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17645014 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 503.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2380496 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37060026 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.089, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.84, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40432880 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33937482 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 79.8, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14818677 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 99.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12001502 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 160.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7486242 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.63, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18198373 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.184, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147491542 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.016, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298718438 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47776371 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 66.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17133226 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 87.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13692774 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 146.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8133847 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 86.29, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13686964 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 334.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3528284 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 96.48, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12456772 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 277.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4240654 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.693, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324845308 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.351, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275783949 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 11.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.195, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231296216 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.699, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155788047 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.239, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "163932201 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14596369 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10949654 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3721, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21480790 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "453ccadadd09b80155cdde7cc9d1beae9ec91f21", "message": "Update sync-docs.yml", "timestamp": "2023-07-06T11:39:20+02:00", "tree_id": "738c79c8ca1ec2687e7036541db88583dde3b646", "url": "https://github.com/gofiber/fiber/commit/453ccadadd09b80155cdde7cc9d1beae9ec91f21" }, "date": 1688636750649, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1679, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "604944 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6538, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "187588 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5332, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "221157 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 149.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7929854 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 200.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5960206 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 292.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4131820 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 229, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5244548 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 460.9, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2491312 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.678, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447900705 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1013, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 781, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1538512 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2900, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "398874 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1386, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "797191 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1245, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "863114 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 126.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9479163 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 202.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5917075 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 178, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6687195 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 387.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3077668 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2986, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "386678 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 588.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2022729 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 134, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8957962 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 174.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6818205 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 271.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4441598 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 235.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5079948 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 437.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2744536 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26969313 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 88.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13253070 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 39.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26991213 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 54.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22058510 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 671.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1787120 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 74.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16071099 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 345.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3310066 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4377, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "266166 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "73528686 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 168.9, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6925839 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 319.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3725551 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 426.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2825992 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3349, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "348636 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 145.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7858857 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1305, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "836030 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 255.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4657212 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 799.2, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1499572 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 836.4, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1433989 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 833.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1447620 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 839.9, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1443753 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 198, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6032545 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.335, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226551470 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20431924 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 47.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25332468 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 105.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11317107 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10879142 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 50.69, "unit": "ns/op\t 67 B/op\t 0 allocs/op", "extra": "22362627 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 182.4, "unit": "ns/op\t 96 B/op\t 1 allocs/op", "extra": "6133600 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21979935 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130580334 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 387.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3057024 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4032, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "292146 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3338, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "346320 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4326, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271748 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4350, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271197 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1495, "unit": "ns/op\t 795 B/op\t 8 allocs/op", "extra": "770037 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1024, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "85808006 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 171.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6995188 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5270, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "218402 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5307, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "222741 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 147.5, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8289733 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 51.82, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22798548 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20587762 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.794, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316340666 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.032, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238608434 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.761, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253680043 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 949.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1261335 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 954.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1262476 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 176.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6780762 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 164.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7201442 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 626.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1919056 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 626.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1927725 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 791541, "unit": "ns/op\t 372987 B/op\t 5606 allocs/op", "extra": "1477 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12474331 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44655265 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356313604 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446719292 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 164.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7243867 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 228.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5195709 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 165.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7168917 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 266892, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4402 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 211288, "unit": "ns/op\t 24574 B/op\t 1000 allocs/op", "extra": "5683 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163548, "unit": "ns/op\t 669 B/op\t 0 allocs/op", "extra": "7269 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 534.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2257668 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 537.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2252644 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 428.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2786210 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 839.7, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1427997 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 534.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2257942 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1959, "unit": "ns/op\t 313 B/op\t 7 allocs/op", "extra": "816573 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2257, "unit": "ns/op\t 580 B/op\t 7 allocs/op", "extra": "779668 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1399, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "845234 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1670, "unit": "ns/op\t 255 B/op\t 5 allocs/op", "extra": "813998 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1892, "unit": "ns/op\t 347 B/op\t 5 allocs/op", "extra": "907617 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 137.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8731551 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 115.6, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10436121 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 50.07, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "22817230 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.25, "unit": "ns/op\t 675.41 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62313370 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.65, "unit": "ns/op\t 297.80 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27481214 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 726.7, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1641229 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 152.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7879624 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 518.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2352990 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 343.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3506632 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 389, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3083324 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1354, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "890384 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 436.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2760126 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 793.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1572076 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24346, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48457 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24286, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48393 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19529536 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 129.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9293509 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 47.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25027338 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 157.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7569208 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.78, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59511638 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.66, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57525444 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.66, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60251794 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53838805 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 27.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40661324 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.59, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39885949 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 101, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11980936 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 117.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10208518 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.54, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17446449 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 503.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2363780 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37946936 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.089, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 27.19, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39458262 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.171, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 31.95, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35378362 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 79.53, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14779729 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 98.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12076628 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 159.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7488783 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.07, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17815180 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.214, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147519595 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.019, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298474310 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46689133 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 67.43, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17043534 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 87.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13760047 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 146.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8136454 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 86.68, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13682634 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 338.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3547938 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 97.38, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12468938 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 279.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4243752 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.693, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325050406 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.372, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274864537 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 11.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.196, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231171819 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.701, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155726466 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.273, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "164199188 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14591312 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10938499 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3721, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21090531 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "M. Efe Çetin", "username": "efectn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "70aec2b4ca8435a2cca5770378f523bbc5afbf7e", "message": ":memo: docs: update sync_docs.sh script (#2532)\n\n* :memo: docs: update sync_docs.sh script\r\n\r\n* :memo: docs: update sync_docs.sh script", "timestamp": "2023-07-06T16:14:57+02:00", "tree_id": "8eeb37fe9d060172768ec28108cce945b46b164a", "url": "https://github.com/gofiber/fiber/commit/70aec2b4ca8435a2cca5770378f523bbc5afbf7e" }, "date": 1688653279031, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1470, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "790384 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5254, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "217351 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5310, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "218340 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 149.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8028252 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 199.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5992154 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 292.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4145836 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 229.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5233432 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 449.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2395786 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447933908 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1013, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 786.1, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1532845 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2895, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "398360 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1382, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "789469 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1236, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "873205 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 126.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9483099 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 209, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5702424 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 177.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6732070 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 391.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3043624 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3032, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "355588 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 594.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2034858 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 134.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8952482 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 175.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6838352 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 269.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4455894 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 237.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5061673 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 434.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2745657 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26864961 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 88.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13465006 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 39.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29218398 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 57.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21080409 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 672, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1786465 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 73.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16293062 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 343.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3467179 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4366, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "266440 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "72437028 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 169.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7024965 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 320, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3745917 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 424.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2800592 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3244, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "358713 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 144.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7905820 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1309, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "823821 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 255.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4658595 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 812.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1487181 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 833.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1433576 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 820.3, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1454941 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 820.2, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1473723 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 196.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6010666 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.298, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226768942 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20692105 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 50.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24138885 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 108.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11082720 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 110.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10860916 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 57.94, "unit": "ns/op\t 77 B/op\t 0 allocs/op", "extra": "19382100 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 174.5, "unit": "ns/op\t 90 B/op\t 1 allocs/op", "extra": "6611648 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 53.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22114644 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129258178 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 383.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3011652 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4011, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "292556 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3302, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "352706 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4318, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "270512 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4277, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "273340 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1408, "unit": "ns/op\t 799 B/op\t 8 allocs/op", "extra": "771812 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 13.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82277473 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 171.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7012696 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5315, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "219906 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5332, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "219414 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 147.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8064478 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 51.51, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22956842 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20640554 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.791, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316752787 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238394701 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.724, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254244411 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 952, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1262372 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 956, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1265659 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 180.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6710710 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 165.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7279918 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 625.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1920160 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 621.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1916349 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 820988, "unit": "ns/op\t 372973 B/op\t 5606 allocs/op", "extra": "1454 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12666800 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45626772 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.367, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "357670812 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.678, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447880617 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 164.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7252701 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 226.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5291544 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 165.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7258878 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 266814, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4430 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 211274, "unit": "ns/op\t 24565 B/op\t 1000 allocs/op", "extra": "5724 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 164613, "unit": "ns/op\t 683 B/op\t 0 allocs/op", "extra": "7200 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 528.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2257251 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 531.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2227378 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 428.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2804391 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 841.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1423232 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 529.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2254119 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2040, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "834933 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2266, "unit": "ns/op\t 579 B/op\t 7 allocs/op", "extra": "783693 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1402, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "831264 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1603, "unit": "ns/op\t 252 B/op\t 5 allocs/op", "extra": "849302 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1943, "unit": "ns/op\t 347 B/op\t 5 allocs/op", "extra": "908184 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 137.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8706976 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 116.1, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10288036 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49.89, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23740252 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.26, "unit": "ns/op\t 674.96 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62178574 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.73, "unit": "ns/op\t 297.25 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27234182 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 727.8, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1639692 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 151.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7911022 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 505.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2378374 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 344.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3473720 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 387, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3078801 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1358, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "880710 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 431.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2774883 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 829.7, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1455159 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24628, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "47266 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 25651, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "47697 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19532960 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 130.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9080095 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 47.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25066084 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 157.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7483074 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.78, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57414388 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.52, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55501353 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.31, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58431750 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.82, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53853427 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.33, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41723049 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.45, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38703547 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12017169 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10924051 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.29, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17579995 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 505.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2366182 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37942358 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.86, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41038843 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.11, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33551625 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 79.36, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14867958 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 100.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11944678 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 158.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7586371 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.06, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17608502 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.127, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147578623 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298482969 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47728652 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 67.03, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17194904 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 87.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13562529 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 145.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8175604 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 85.92, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13544604 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 338, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3565231 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 95.81, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12366700 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 277.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4285893 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.696, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325005495 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275617250 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 11.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.195, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231289773 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155717703 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.277, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "165040827 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14652824 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10942231 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3715, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21533650 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "47b767e716fbcfd0af6a8ea43a4727f7b34ae57e", "message": "Merge remote-tracking branch 'origin/master'", "timestamp": "2023-07-09T18:46:41+02:00", "tree_id": "695622167bd87e4908b8647fb5c59b9359bb2e6c", "url": "https://github.com/gofiber/fiber/commit/47b767e716fbcfd0af6a8ea43a4727f7b34ae57e" }, "date": 1688921608536, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2182, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "492288 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 8581, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "133704 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7489, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "135446 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 185.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6332311 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 255.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4239150 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 381.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3116582 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 307.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3753705 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 579.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "1997198 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.815, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325738842 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1281, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "873199 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 973.8, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1229048 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3589, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "307363 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1862, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "584137 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1651, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "742456 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 160.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7332596 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 266.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4404333 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 246.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4769913 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 516.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2329018 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3814, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "324042 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 714.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1670320 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 168.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7369933 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 240.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4975222 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 355.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3128725 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 302.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "3892024 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 570.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2109958 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 55.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21431887 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 117.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9768768 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 60.11, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20091349 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 66.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17618116 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 859.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1379502 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 97.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12512169 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 464.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2544968 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5583, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "217116 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 24.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45939110 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 237.2, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "4981442 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 412.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2927312 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 549.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2187810 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 4162, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "295302 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 185.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6285889 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1657, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "693003 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 333.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3632574 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1064, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1127918 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1051, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "962464 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1066, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1060, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1097546 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 259.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4660426 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 7.034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "169927984 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 73.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15106675 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 61.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19880031 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 133.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8620635 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 149.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7933531 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 51.73, "unit": "ns/op\t 73 B/op\t 0 allocs/op", "extra": "25616600 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 219.1, "unit": "ns/op\t 89 B/op\t 1 allocs/op", "extra": "5352978 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 72.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15446679 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 13.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "95048232 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 514, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2231656 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 5394, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "207288 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4790, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "242755 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 6014, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "175382 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5374, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "205238 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1854, "unit": "ns/op\t 801 B/op\t 8 allocs/op", "extra": "633963 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1306, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "937816 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 17.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "72857851 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 236.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5094086 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 7308, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "163596 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7390, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "162165 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 207.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "5581341 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 68.23, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "17578248 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 73.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15911820 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 5.397, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "220482367 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.023, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "177952749 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.063, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "266384715 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1176, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1190, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "991228 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 229.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5251442 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 214.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5473957 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 789.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1558873 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 791.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1493415 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1035985, "unit": "ns/op\t 372983 B/op\t 5606 allocs/op", "extra": "1178 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 127.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9477234 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 35.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "34273038 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "266445993 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.676, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "315133353 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 208.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5761292 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 284, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4216099 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 207.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5688685 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 326251, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3645 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 285221, "unit": "ns/op\t 24610 B/op\t 1000 allocs/op", "extra": "4202 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 227764, "unit": "ns/op\t 660 B/op\t 0 allocs/op", "extra": "5191 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 647.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1878327 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 646.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1883053 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 523.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2292118 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1044, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 646.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1792396 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2721, "unit": "ns/op\t 332 B/op\t 7 allocs/op", "extra": "679334 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 3244, "unit": "ns/op\t 614 B/op\t 7 allocs/op", "extra": "549148 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1892, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "656686 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2667, "unit": "ns/op\t 294 B/op\t 5 allocs/op", "extra": "595291 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2530, "unit": "ns/op\t 274 B/op\t 5 allocs/op", "extra": "683338 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 179.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6574876 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 152.7, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "7728198 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 71, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "16791982 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 27.32, "unit": "ns/op\t 475.78 MB/s\t 0 B/op\t 0 allocs/op", "extra": "45642243 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 55.61, "unit": "ns/op\t 233.78 MB/s\t 0 B/op\t 0 allocs/op", "extra": "21058128 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 906, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1303840 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 202.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5938070 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 625.4, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1862648 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 441.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2796882 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 499.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2457678 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1746, "unit": "ns/op\t 212 B/op\t 7 allocs/op", "extra": "572985 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 540.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2130448 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 1080, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 38761, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "29917 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 40178, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "30757 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 68.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16974001 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 198.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "5608555 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 67.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17008790 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 179.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6862904 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 26.49, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43517186 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 27.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "38939574 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 26.38, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "41216299 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 29.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "39005389 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 37.88, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "28258261 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 40.09, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29725380 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 130.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8733506 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 137.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8793092 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 93.34, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13452841 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 677.8, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1776392 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 42.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28132813 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "795213008 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 35.11, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31958565 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.468, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "837849920 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 43.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "24491194 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 113, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "10987723 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 121.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9888044 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 204.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5918268 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 86.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13702930 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 10.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.455, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "828486616 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 6.379, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "191893560 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 34.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35254765 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 89.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "11865562 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 125.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9308997 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 196, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6361368 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 127, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8928300 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 490.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2453689 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 124.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9447602 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 423.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2831841 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.908, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "393946910 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 6.016, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198897442 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.677, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "328912588 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.609, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "183829748 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 10.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 10.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 104.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11751932 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 137.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8961762 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4259, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 62.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19275385 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "99902abc0c038aa1d0bb9d5f80e12ff52a039334", "message": "improve docs sync script", "timestamp": "2023-07-09T18:49:42+02:00", "tree_id": "a85b57159fdc39ddb5b42ebda89bec0ce24f0537", "url": "https://github.com/gofiber/fiber/commit/99902abc0c038aa1d0bb9d5f80e12ff52a039334" }, "date": 1688921786611, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1749, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "601041 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7413, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "135331 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6603, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "181927 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 179.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6689826 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 240.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4990262 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 351.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3410458 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 274.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4352989 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 553.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "1926000 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.216, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372510807 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1250, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "823402 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 966, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1268214 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3479, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "311644 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1670, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "661191 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1512, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "723139 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 152, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7905532 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 246.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4872172 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 214, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5558715 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 463.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2605434 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3496, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "335613 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 705.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1692856 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 160.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7471882 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 223.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5433914 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 333.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3702723 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 293.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4138738 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 533.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2246552 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 54.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22436866 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 106.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11121081 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 50.34, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23334204 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 62.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19499232 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 834.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1476156 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 88.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13520065 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 417.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2804000 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5423, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "207819 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 19.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "59202634 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 207.4, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5853408 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 394.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3004765 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 527.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2263664 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3857, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "285129 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 175.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6573892 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1568, "unit": "ns/op\t 448 B/op\t 7 allocs/op", "extra": "709965 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 318.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3891859 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 985, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1211090 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1019, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1040, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 981.1, "unit": "ns/op\t 416 B/op\t 5 allocs/op", "extra": "1208888 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 244.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4900554 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.351, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "188694354 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 69.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17248585 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 55.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21738104 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 125.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9561765 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 134.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9038965 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 66.25, "unit": "ns/op\t 75 B/op\t 0 allocs/op", "extra": "19790911 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 203, "unit": "ns/op\t 84 B/op\t 1 allocs/op", "extra": "5779497 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 65.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18378313 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 465.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2412526 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4942, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "237289 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4036, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "289987 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5278, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "216099 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5284, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "224227 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1661, "unit": "ns/op\t 797 B/op\t 8 allocs/op", "extra": "657050 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1222, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "965694 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "73122234 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 205.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5822901 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6404, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "182449 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6369, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "183480 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 176.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6815136 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 64.01, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18776448 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 70.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17091363 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.549, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "255531385 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.049, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198502780 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.753, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "207482053 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1150, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1166, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 217.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5670066 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 199.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5990202 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 689.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1738174 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 696.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1711567 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 965234, "unit": "ns/op\t 372987 B/op\t 5606 allocs/op", "extra": "1209 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 114.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10547578 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 31.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37413154 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.055, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297723648 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.236, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "370368363 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 197.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6063585 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 276.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4243963 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 200.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6028951 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 321533, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3699 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 260594, "unit": "ns/op\t 24598 B/op\t 1000 allocs/op", "extra": "4580 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 196756, "unit": "ns/op\t 676 B/op\t 0 allocs/op", "extra": "6046 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 657.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1852717 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 666.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1827522 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 528.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2326224 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1027, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 635.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1882830 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2503, "unit": "ns/op\t 332 B/op\t 7 allocs/op", "extra": "681795 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2656, "unit": "ns/op\t 584 B/op\t 7 allocs/op", "extra": "660938 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1689, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "727233 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2081, "unit": "ns/op\t 278 B/op\t 5 allocs/op", "extra": "663896 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2010, "unit": "ns/op\t 260 B/op\t 5 allocs/op", "extra": "778850 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 165.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6785433 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 137.7, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8796795 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 63, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19519617 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 24.67, "unit": "ns/op\t 526.98 MB/s\t 0 B/op\t 0 allocs/op", "extra": "45316413 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 52.62, "unit": "ns/op\t 247.08 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22457620 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 884.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1344991 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 190.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6541659 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 620.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1976976 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 413.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2906541 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 468.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2562175 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1671, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "714135 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 527.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2270620 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 939.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1298200 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 30228, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "38582 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 31486, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "39194 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 73.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16276900 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 157.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7684572 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 57.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19799410 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 192.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6080199 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 24.12, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47905954 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 23.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45677631 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 22.55, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49719678 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 26.36, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43029600 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 33.29, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34302685 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 35.01, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32741976 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 119.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9978154 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 132.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9061939 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 81.55, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13604575 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 632, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1903714 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 38.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31348418 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.307, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "918648865 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 32.72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33865701 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.408, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "852593944 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 40.64, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29115975 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 98.64, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11803795 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 118.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10043162 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 192.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6296913 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 81.34, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14720053 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.949, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "122770299 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.407, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "852355165 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.877, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "248828516 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 30.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37798281 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 86.67, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "12452124 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 105.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11443642 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 184.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6738103 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 104.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10769780 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 419.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2871200 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 114.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10202474 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 344.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3547713 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.486, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270824080 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228965756 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 13.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "87423655 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192572516 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.293, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129813345 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.762, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "136892037 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 98.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12220416 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 131.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9074242 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4615, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 67.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17944614 times\n2 procs" } ] }, { "commit": { "author": { "email": "andre-da.silva@outlook.com", "name": "André da Silva", "username": "andre-dasilva" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "58270e2d5b3d585e570d8f008cfe8df642b3ff82", "message": ":adhesive_bandage: Fix: dictpool is not completely gone (#2540)\n\n* Completely remove dictpool\r\n\r\nLooks like issue:\r\nhttps://github.com/gofiber/fiber/issues/2209\r\nWas not complete. So here dictpool is completely gone\r\n\r\n* Fix linting error", "timestamp": "2023-07-11T09:06:32+02:00", "tree_id": "226ad62831cf761bea6a18bbdaae302101bac2da", "url": "https://github.com/gofiber/fiber/commit/58270e2d5b3d585e570d8f008cfe8df642b3ff82" }, "date": 1689059570049, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1576, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3692, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "288765 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3736, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "308305 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 136.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8773248 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 187.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6357274 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 282.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4329103 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 233.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5073711 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 427.4, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2423128 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.815, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426270391 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 968.8, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1236213 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 812.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1495582 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2790, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "418452 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1419, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "790281 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1265, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "857311 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 118.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10108881 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 189.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6292044 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 159.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7485280 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 368.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3228169 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2643, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "433513 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 588, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2031099 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 138.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8545647 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 154.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7742954 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 242.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4977766 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 208.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5761742 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 411.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2898084 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27020433 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 86.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13859155 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 37.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "30723682 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 55.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21456054 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 666.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1793271 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16823704 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 325, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3567921 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4465, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "262405 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "72585392 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 155.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7676223 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 301, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4022846 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 408.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2928184 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2899, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "393807 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 135.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8445588 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1400, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "791992 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 243.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4856182 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 812.7, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1475703 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 920.1, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1302943 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 962.3, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1235253 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 893.4, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1334397 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 182, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6552866 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225570681 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 59.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20446408 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 48.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23905105 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 104.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11499693 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 108.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11057491 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 45.7, "unit": "ns/op\t 77 B/op\t 0 allocs/op", "extra": "24159058 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 153.8, "unit": "ns/op\t 96 B/op\t 1 allocs/op", "extra": "7644151 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 58.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20369202 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.434, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126908158 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 360.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3207072 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3960, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "293766 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3405, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "339970 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4303, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271051 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4302, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269631 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1253, "unit": "ns/op\t 806 B/op\t 8 allocs/op", "extra": "857396 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 871.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1375915 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "81414201 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 182.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6582714 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3739, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "309055 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3813, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "309423 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 145.3, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8279977 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 48.97, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23924281 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 60.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20212680 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.029, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297876759 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.048, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "173006312 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.941, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200091495 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 936.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1279784 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 939.1, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1279094 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 162.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7442355 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 154.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7790505 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 633.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1889294 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 634.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1886346 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 749811, "unit": "ns/op\t 372976 B/op\t 5606 allocs/op", "extra": "1572 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12456831 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44568777 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.617, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331851199 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.698, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444665316 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 151.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7925712 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 228.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5261937 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 150.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7962351 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 252998, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4640 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 223605, "unit": "ns/op\t 24581 B/op\t 1000 allocs/op", "extra": "5277 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 192043, "unit": "ns/op\t 663 B/op\t 0 allocs/op", "extra": "6474 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 544.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2022111 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 565, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2101297 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 489.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2933368 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 937.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1275840 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 620, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1976905 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2270, "unit": "ns/op\t 309 B/op\t 7 allocs/op", "extra": "851109 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2342, "unit": "ns/op\t 577 B/op\t 7 allocs/op", "extra": "788355 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1588, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "756918 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1997, "unit": "ns/op\t 258 B/op\t 5 allocs/op", "extra": "793238 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2241, "unit": "ns/op\t 353 B/op\t 5 allocs/op", "extra": "882583 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 141.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9926020 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 109, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11506496 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 53.39, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24139018 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 20.82, "unit": "ns/op\t 624.31 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62300582 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 48.98, "unit": "ns/op\t 265.40 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26806932 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 827.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1408518 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 157.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8519361 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 562.2, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2208151 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 387.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3169003 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 416, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2608473 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1677, "unit": "ns/op\t 209 B/op\t 7 allocs/op", "extra": "759764 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 484.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2681040 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 867.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1349173 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24363, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "46988 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24163, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49114 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18168798 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 139.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8376049 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 43.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28424282 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 166.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7270255 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.66, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55725147 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.94, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53663506 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.52, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56066743 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.98, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51176266 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38916825 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 32.24, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35092130 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12440649 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10288484 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 63.57, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18480368 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 452, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2652924 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36651420 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995543383 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.18, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44786349 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995672548 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 30.17, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37127110 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 75.98, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15530155 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 89.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13425993 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 144, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8336863 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.13, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18222350 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "154188460 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995477296 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298774599 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44552913 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 66.55, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17431040 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 101.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11213023 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 152.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7727419 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 84.28, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13164187 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 355.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3371925 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 102, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11636787 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 330.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3890450 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.357, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "351771699 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.749, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "252677450 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.625, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331131908 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228818702 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "140582452 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.347, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128664381 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12307112 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10315387 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4265, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21967532 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "9c2d214bcfafe89771b0e878f00cb6acc797142d", "message": "Update app.go\n\nprepare release v2.48.0", "timestamp": "2023-07-16T16:06:35+02:00", "tree_id": "bee1da72d079ce551449082c7746a0128604f915", "url": "https://github.com/gofiber/fiber/commit/9c2d214bcfafe89771b0e878f00cb6acc797142d" }, "date": 1689516777097, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1566, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "923372 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3679, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "299326 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3862, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "310914 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 136.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8696322 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 190, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6379298 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 277, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4314513 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 236.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5058810 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 425.7, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2544434 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.817, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426795129 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 978, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1225755 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 799, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1504824 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2761, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "410955 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1414, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "787290 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1261, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "878493 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 118.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10109950 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 181.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6574729 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 159.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7478379 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 360.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3326359 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2699, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "437338 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 587.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2030209 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 138.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8667997 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 154.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7791516 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 241.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4995374 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 206.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5794426 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 415, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2917239 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27121075 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 86.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13931916 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 37.29, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "31035712 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 47.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25346098 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 667, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1795335 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16824784 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 328.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3658738 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4429, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "261997 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "72750085 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 154.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7715652 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 297.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4018449 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 408.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2937594 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3002, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "377043 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 135.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8442999 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1387, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "806750 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 243.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4906881 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 809.7, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1482946 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 915.8, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1309675 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 968.2, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1243819 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 917.8, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1337551 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 182.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6504475 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 7.238, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "222337902 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 76.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15674014 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 41.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29082744 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 97.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12379878 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 108.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11159674 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 42.41, "unit": "ns/op\t 73 B/op\t 0 allocs/op", "extra": "25728022 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 151.1, "unit": "ns/op\t 95 B/op\t 1 allocs/op", "extra": "7727430 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 58.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20251999 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.489, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126550958 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 365.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3231247 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4126, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "292725 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3394, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "338358 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4308, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "272277 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4295, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271669 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1241, "unit": "ns/op\t 805 B/op\t 8 allocs/op", "extra": "873696 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 879.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1363159 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 15.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "74255808 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 181.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6574110 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3699, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "307926 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3811, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "301222 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 161.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6771883 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 53.54, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19649419 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 60.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19706308 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.025, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297902731 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.391, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "169969821 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.221, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199710232 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 952.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1279321 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 938.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1277097 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 162.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7426504 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 154.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7651344 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 634.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1885791 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 635, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1888282 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 745212, "unit": "ns/op\t 372977 B/op\t 5606 allocs/op", "extra": "1588 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 98.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12531213 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44449420 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.629, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331741501 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.706, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444719730 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 151.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7938400 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 228.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5182543 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 152.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7989550 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 253256, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4638 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 220298, "unit": "ns/op\t 24563 B/op\t 1000 allocs/op", "extra": "5480 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 178710, "unit": "ns/op\t 660 B/op\t 0 allocs/op", "extra": "6501 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 489.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2444664 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 493.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2426131 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 411.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2798708 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 814.7, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1471914 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 525.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2273380 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1764, "unit": "ns/op\t 309 B/op\t 7 allocs/op", "extra": "848857 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2081, "unit": "ns/op\t 585 B/op\t 7 allocs/op", "extra": "769237 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1448, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "788724 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1764, "unit": "ns/op\t 354 B/op\t 5 allocs/op", "extra": "881268 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1785, "unit": "ns/op\t 354 B/op\t 5 allocs/op", "extra": "880665 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 120.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9940738 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 102.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11623140 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.44, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24372532 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.31, "unit": "ns/op\t 673.36 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61753299 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.2, "unit": "ns/op\t 300.90 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27856490 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 738, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1618312 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 142.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8465958 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 499.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2418240 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 344.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3487818 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 377.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3156033 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1354, "unit": "ns/op\t 209 B/op\t 7 allocs/op", "extra": "768178 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 435.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2746496 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 868.5, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1367995 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23802, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49456 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23720, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50136 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18201121 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 138.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8641321 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29067210 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 161.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7367869 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.45, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55986944 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 21.05, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53130558 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57693511 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.89, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51031954 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.34, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39437487 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 32.17, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34287460 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12439729 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 119.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10295710 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 63.71, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18368756 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 450.4, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2656706 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36710605 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995249548 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 24.91, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "45006216 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995816110 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 29.95, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37997652 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 75.77, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15552111 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 89.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13458048 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 144.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8338722 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.67, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18203634 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "151620187 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995967402 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298468686 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45722682 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 66.35, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17495947 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 101.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11777082 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 153.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7783066 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 84.66, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14161370 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 355.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3258986 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 103.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11729733 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 296.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3953830 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.425, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "353156371 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.773, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "251051468 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.622, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330378745 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.229, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "229246912 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.319, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "142086211 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.287, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129377539 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12365523 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10334086 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4187, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21913777 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "8e9d57f5a00cdaa1a0e0ee762de521a9b427518d", "message": "Bump github.com/mattn/go-runewidth from 0.0.14 to 0.0.15 (#2551)\n\nBumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) from 0.0.14 to 0.0.15.\r\n- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.14...v0.0.15)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: github.com/mattn/go-runewidth\r\n dependency-type: direct:production\r\n update-type: version-update:semver-patch\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", "timestamp": "2023-07-24T16:34:17+03:00", "tree_id": "f15f27808e9d444a86074438fe06ed7e232d019f", "url": "https://github.com/gofiber/fiber/commit/8e9d57f5a00cdaa1a0e0ee762de521a9b427518d" }, "date": 1690206054591, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2189, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "584356 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 10318, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "125941 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7140, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "159272 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 181.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6523257 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 247.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4788373 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 361.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3454168 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 299.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4050278 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 560.1, "unit": "ns/op\t 116 B/op\t 2 allocs/op", "extra": "1834041 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.928, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "301422212 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1234, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "993746 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 996.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1217720 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3530, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "313314 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1713, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "678772 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1564, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "792495 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 161.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7661156 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 248.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4861844 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 219.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5240347 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 459.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2521161 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3419, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "365122 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 702.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1730124 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 157.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7628725 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 228.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5354904 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 329, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3412890 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 277, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4319088 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 536.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2246065 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 53.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22943055 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 101.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11827240 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 57.67, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20386741 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 64.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17844354 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 796.7, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1513726 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 88.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13925319 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 419, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2776035 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5376, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "219603 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "50031855 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 217.3, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5686414 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 375.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3151813 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 508.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2383785 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3953, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "323314 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 176.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6338499 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1704, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "674724 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 312.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3820670 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 988.7, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1219299 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1075, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "961612 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1138, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "982099 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1098, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 241.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4913342 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.692, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "176522550 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 72.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16653124 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 65.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18999405 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 126.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9620220 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 143.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8380148 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 42.05, "unit": "ns/op\t 73 B/op\t 0 allocs/op", "extra": "32107645 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 190.8, "unit": "ns/op\t 91 B/op\t 1 allocs/op", "extra": "6559130 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 72.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16464687 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 481.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2590116 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4755, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "236294 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4007, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "292832 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5100, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "220004 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5270, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "230274 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1742, "unit": "ns/op\t 819 B/op\t 8 allocs/op", "extra": "652255 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1209, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "970965 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "74460712 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 220.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5246913 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 7281, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "162913 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7403, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "163695 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 211.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "5711062 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 66.02, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18205405 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 69.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17530251 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 5.269, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "227857657 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.126, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "194960708 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.373, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "187036546 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1119, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1119, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 217.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5595086 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 199.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5904543 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 744.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1606003 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 762.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1618258 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1035036, "unit": "ns/op\t 372984 B/op\t 5606 allocs/op", "extra": "1222 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 122.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9607678 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 35.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35019777 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.212, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "282719290 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "336311166 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 203, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6020755 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 285.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3907648 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 216.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6009201 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 322632, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3459 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 269541, "unit": "ns/op\t 24542 B/op\t 1000 allocs/op", "extra": "4736 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 203518, "unit": "ns/op\t 702 B/op\t 0 allocs/op", "extra": "5817 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 616.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1902796 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 630.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1836156 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 491.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2411028 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 958.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1251580 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 611.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1969550 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2435, "unit": "ns/op\t 329 B/op\t 7 allocs/op", "extra": "701026 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2676, "unit": "ns/op\t 581 B/op\t 7 allocs/op", "extra": "684187 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1642, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "712063 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2115, "unit": "ns/op\t 267 B/op\t 5 allocs/op", "extra": "724768 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2076, "unit": "ns/op\t 258 B/op\t 5 allocs/op", "extra": "795342 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 159.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7549851 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 139.6, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8854518 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 61.68, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "18994442 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 24.62, "unit": "ns/op\t 528.12 MB/s\t 0 B/op\t 0 allocs/op", "extra": "45913141 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 53.07, "unit": "ns/op\t 244.96 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23113147 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 873.8, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1396454 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 171.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6716424 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 569.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2061525 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 397.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3007034 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 452.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2584452 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1605, "unit": "ns/op\t 210 B/op\t 7 allocs/op", "extra": "633830 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 503.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2332248 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 865.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1398280 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 32074, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "36846 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 31465, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "37894 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 64.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17739651 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 186.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6556238 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 63.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19151475 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 173, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7008565 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 25.04, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47274290 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 25.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45905941 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.74, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47617406 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 28.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "42760946 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 35.95, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32942014 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 35.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30382612 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 122.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9558324 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 132.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9377854 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 92.21, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13864053 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 645.4, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1855154 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 41.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27491882 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.351, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "867633424 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 31.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35758320 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.394, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "849172222 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 42.21, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29541644 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 106.4, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11277154 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 113.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10902344 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 189.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5643628 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 80.61, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15022387 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.768, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "121705634 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.373, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "839357811 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.777, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "204392944 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 32.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38348064 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 80.94, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14485020 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 114.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10506754 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 178.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6769173 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 113.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10368379 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 456, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2625987 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 114.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10443612 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 395.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3142462 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.882, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "425358100 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "209018564 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.496, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "342702523 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.168, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "196137054 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.834, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "134722524 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.628, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124368884 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 98.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12285364 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 133.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9076438 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4373, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 58.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20770466 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "51ea636b60727af37851a28315b7c0a199f79883", "message": "improved the config section of the middleware readme´s (#2552)", "timestamp": "2023-07-24T16:46:50+02:00", "tree_id": "711a0c78b05e697b8fc0c3ee5c45d3853221a6b5", "url": "https://github.com/gofiber/fiber/commit/51ea636b60727af37851a28315b7c0a199f79883" }, "date": 1690210423743, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1797, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "662323 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7388, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "158503 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6555, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "180594 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 146.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8168718 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 194.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6185314 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 286.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4172265 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 241.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4983949 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 454.6, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2626791 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.179, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "550151324 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression", "value": 1052, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 798.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1523786 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2878, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "401722 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1391, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "795109 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1266, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "844977 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 128.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9325449 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 211, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5694991 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 180, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6675225 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 385.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3083994 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3121, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "385472 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 567.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2111576 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 125.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9562494 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 184.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6318588 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 285.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4247905 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 230.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5193912 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 445.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2696816 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 41.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28476015 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 82.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14351398 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 47.38, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24308892 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 56.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21311899 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 673.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1798197 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 75.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16009737 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 348.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3360393 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4421, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "264727 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "70782303 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 168.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7027566 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 318, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3814827 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 428.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2782702 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3385, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "344682 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 149.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7680064 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1423, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "798468 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 255.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4702998 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 817.2, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1465089 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 915.4, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1324041 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 938.5, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1256146 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 890.5, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1344117 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 198.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6079820 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.295, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "226481970 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 60.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19574536 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 50.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23484487 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 112.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10711963 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 113.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10534057 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 65.15, "unit": "ns/op\t 81 B/op\t 0 allocs/op", "extra": "18513986 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 189.4, "unit": "ns/op\t 89 B/op\t 1 allocs/op", "extra": "6688171 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 52.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22807546 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 10.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 375.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3218348 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4058, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "288151 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3309, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "349752 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4350, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269768 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4309, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "266839 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1483, "unit": "ns/op\t 798 B/op\t 8 allocs/op", "extra": "748761 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1011, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "85472458 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 170.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6993268 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6274, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "188356 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6295, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "186534 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 150.5, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7928356 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 52.26, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22555844 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20112968 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.792, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316081896 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.039, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "240079101 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.726, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "252671014 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 951.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1258882 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 949.9, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1265127 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 178.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6770812 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 163, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7389808 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 620, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1919268 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 631.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1928196 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 815152, "unit": "ns/op\t 372979 B/op\t 5606 allocs/op", "extra": "1446 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 97.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12585116 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46724894 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.377, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "355539421 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.689, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446915877 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 163.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7361582 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 231.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5109748 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 163, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7361443 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 265746, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4453 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 212964, "unit": "ns/op\t 24572 B/op\t 1000 allocs/op", "extra": "5570 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163885, "unit": "ns/op\t 669 B/op\t 0 allocs/op", "extra": "6734 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 537.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2279192 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 525, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2251983 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 432.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2751948 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 865.3, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1392552 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 540.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2228374 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2096, "unit": "ns/op\t 312 B/op\t 7 allocs/op", "extra": "828658 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2331, "unit": "ns/op\t 590 B/op\t 7 allocs/op", "extra": "758995 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1420, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "831517 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1723, "unit": "ns/op\t 256 B/op\t 5 allocs/op", "extra": "807940 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1931, "unit": "ns/op\t 354 B/op\t 5 allocs/op", "extra": "881306 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 127.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9392089 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 113.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10912612 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.98, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24254600 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.25, "unit": "ns/op\t 675.47 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62432916 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.73, "unit": "ns/op\t 297.29 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27074293 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 737.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1625823 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 139.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8690902 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 505.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2391781 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 342.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3486970 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 379, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3163864 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1366, "unit": "ns/op\t 209 B/op\t 7 allocs/op", "extra": "732955 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 427.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2832967 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 824.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1484214 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 25164, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "47569 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 25225, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "47110 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24971799 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 131.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9070314 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19537219 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 149.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7917889 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.77, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59364681 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55105362 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.17, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57153380 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52393408 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38935677 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.43, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39151508 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12019796 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10861845 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 68.18, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "16813510 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 527, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2269147 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36952772 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 28.59, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39300481 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 33.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33047685 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 80.86, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14553573 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 94.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12713865 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 151.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7927490 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 67.34, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17612994 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.805, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "153713917 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.025, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298093264 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51187304 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 63.78, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17981139 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 83.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14372596 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 142.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8417454 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 98.72, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12163610 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 347.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3397135 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 88.15, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13505038 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 301.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3975822 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.776, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322193174 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.364, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274956001 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.849, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "421584033 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.201, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230795190 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.454, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "161980248 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.386, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162715195 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14663408 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 110, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10936628 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3724, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21547495 times\n2 procs" } ] }, { "commit": { "author": { "email": "jictyvoo.ecomp@gmail.com", "name": "João Victor Oliveira Couto", "username": "Jictyvoo" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "f29f39b1b3f640b29a1df5e315b126ca24b67ba7", "message": "fix: Decompress request body when multi Content-Encoding sent on request headers (#2555)\n\n* :wrench: feat: Decode body in order when sent a list on content-encoding\r\n\r\n* :rocket: perf: Change `getSplicedStrList` to have 0 allocations\r\n\r\n* :tea: test: Add tests for the new features\r\n\r\n* :tea: test: Ensure session test will not raise an error unexpectedly\r\n\r\n* :boar: feat: Replace strings.TrimLeft by utils.TrimLeft\r\n\r\nAdd docs to functions to inform correctly what the change is\r\n\r\n* :tulip: refactor: Apply linter rules\r\n\r\n* :tea: test: Add test cases to the new body method change\r\n\r\n* :wrench: feat: Remove return problems to be able to reach original body\r\n\r\n* :tulip: refactor: Split Body method into two to make it more maintainable\r\n\r\nAlso, with the previous fix to problems detected by tests, it becomes really hard to make the linter happy, so this change also helps in it\r\n\r\n* :rocket: perf: Came back with Header.VisitAll, to improve speed\r\n\r\n* :page_with_curl: docs: Update Context docs", "timestamp": "2023-08-06T17:23:37+02:00", "tree_id": "6431c27cd7f0647246c9bdbc57ecc3ff286268d2", "url": "https://github.com/gofiber/fiber/commit/f29f39b1b3f640b29a1df5e315b126ca24b67ba7" }, "date": 1691335847487, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1649, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "633957 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5232, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "192346 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5279, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "210950 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 148.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8115715 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 200.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5947556 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 292.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4115047 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 249.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4796282 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 447.9, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2569585 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.679, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446610475 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 17.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "66168907 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1073, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 879.4, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1353364 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 781.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1546941 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2834, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "407389 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1398, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "771963 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1270, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "853585 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 130.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9197191 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 203.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5894943 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 178.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6713223 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 381.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3147744 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2903, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "362359 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 623.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1922985 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 135.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8833074 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 179.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6550969 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 266.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4487318 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 247.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4777826 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 422.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2840248 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 45.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26349774 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 92.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12906441 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26664370 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 55.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21516854 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 660.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1806420 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16977162 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 336.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3543018 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4314, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "272334 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "73227026 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 168.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7019276 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 308.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3876536 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 417.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2866027 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3227, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "368642 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 145.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7834106 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1365, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "773296 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 253.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4730371 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 793.9, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1519324 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 879.4, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1364256 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 923.7, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1301517 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 865.6, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1393143 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 196.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6054427 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.259, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "227986821 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 60.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20002431 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 50.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23407498 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 111, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10825112 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 115.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10386556 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 55.43, "unit": "ns/op\t 77 B/op\t 0 allocs/op", "extra": "24261888 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 182.7, "unit": "ns/op\t 88 B/op\t 1 allocs/op", "extra": "6767516 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 56.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21202256 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.359, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "131520198 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 373.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3083810 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3930, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "289926 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3265, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "356202 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4222, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "277009 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4222, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "273411 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1328, "unit": "ns/op\t 801 B/op\t 8 allocs/op", "extra": "824881 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1004, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 66.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17742368 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "89299533 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 170.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7039941 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5193, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "223148 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5242, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "220592 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 148.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8054726 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 50, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23449537 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 61.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19679050 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.788, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "315677956 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.036, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238339786 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "252383450 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 948.1, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1270630 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 949.2, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1238544 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 179.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6697374 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 168.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7090980 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 613.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1949154 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 615.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1957530 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 787328, "unit": "ns/op\t 372970 B/op\t 5606 allocs/op", "extra": "1503 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 96.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12348381 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45392295 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.347, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "358549401 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.682, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447188784 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 170.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7122574 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 260.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4473718 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 168.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7136414 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 270121, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4414 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 209377, "unit": "ns/op\t 24505 B/op\t 1000 allocs/op", "extra": "5768 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163661, "unit": "ns/op\t 693 B/op\t 0 allocs/op", "extra": "7275 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 518.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2311540 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 517.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2297596 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 430.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2755638 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 838.8, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1340330 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 536, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2236568 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1964, "unit": "ns/op\t 315 B/op\t 7 allocs/op", "extra": "797912 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2179, "unit": "ns/op\t 576 B/op\t 7 allocs/op", "extra": "788526 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1394, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "897993 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1781, "unit": "ns/op\t 360 B/op\t 5 allocs/op", "extra": "858723 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1928, "unit": "ns/op\t 343 B/op\t 5 allocs/op", "extra": "922330 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 132.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9052552 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 111.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10869892 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.37, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24425023 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.21, "unit": "ns/op\t 676.70 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62417277 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.76, "unit": "ns/op\t 297.09 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27460635 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 728.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1664836 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 138, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8694103 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 495, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2419766 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 344.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3452170 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 390.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3092487 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1345, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "883453 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 432.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2756462 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 897.7, "unit": "ns/op\t 160 B/op\t 1 allocs/op", "extra": "1319923 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24313, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48382 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24347, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48800 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25021939 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 130.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9136852 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19556451 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 147.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7963737 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.41, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58523235 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.89, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54308439 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.88, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59587159 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52219698 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.09, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40061565 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.15, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39055743 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12023395 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10904287 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17587807 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 519.2, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2309528 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36378115 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.088, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 27.69, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39040876 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 33.04, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36517746 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 80.76, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14516732 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 93.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12798595 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 155.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7789936 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.45, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17663842 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.797, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "153845403 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.024, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298816495 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51501831 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 61.85, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18260634 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 83.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14281164 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8424870 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 95.71, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12489328 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 339.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3541690 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 85.94, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13835516 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 296.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3999367 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.882, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "309708638 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.364, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274654140 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.847, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "421543248 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.195, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230870702 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.314, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "163080246 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.407, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162501477 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14667650 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10944577 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3712, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21536758 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "M. Efe Çetin", "username": "efectn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "9fbb961adbad2a0f71adbed8f6acade9963950f0", "message": "filesystem: refactor: use `errors.Is` instead of `os.IsNotExist` (#2558)", "timestamp": "2023-08-06T18:10:44+02:00", "tree_id": "3d0cec5f75c64626321caaf79a5649fdda4ec035", "url": "https://github.com/gofiber/fiber/commit/9fbb961adbad2a0f71adbed8f6acade9963950f0" }, "date": 1691338671372, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1502, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "669339 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5603, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "184029 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5306, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "206272 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 148.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8066865 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 200.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5992249 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 291.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4092138 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 249.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4805170 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 448.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2665148 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.678, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444400635 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 17.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "63421825 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1072, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 882.4, "unit": "ns/op\t 128 B/op\t 4 allocs/op", "extra": "1369892 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 779.6, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1539859 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2818, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "404157 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1423, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "792932 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1287, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "845929 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 131.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9188770 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 201.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5954556 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 177.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6757656 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 375.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3171242 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2991, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "406876 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 623.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1922548 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 136.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8792199 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 179.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6648201 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 268.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4455244 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 246.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4826296 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 423.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2793703 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 45.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26691727 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 92.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12919383 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26913057 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 50.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23513000 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 682.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1794916 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16955948 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 349.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3540349 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4368, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "264513 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "74902224 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 170.2, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6996114 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 311.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3854706 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 420.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2855292 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3221, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "365760 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 145.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7710811 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1366, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "773082 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 255.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4698594 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 795.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1503387 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 888.7, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1361248 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 934, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1298619 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 869.4, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1358995 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 197.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6019231 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.267, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "227838580 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 60.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19957440 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 46.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25330728 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 108.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11067390 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 115.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10394155 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 55.15, "unit": "ns/op\t 76 B/op\t 0 allocs/op", "extra": "24417759 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 176.6, "unit": "ns/op\t 86 B/op\t 1 allocs/op", "extra": "7023198 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 56.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21219996 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.099, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128159076 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 372, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3173600 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3974, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "295176 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3287, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "351700 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4251, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "272806 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4218, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "275965 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1369, "unit": "ns/op\t 797 B/op\t 8 allocs/op", "extra": "807907 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1025, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 67.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17858829 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "83793141 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 171, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7017931 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5204, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "221811 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5270, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "217963 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 149.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7854787 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 50.38, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23341538 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19759928 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.795, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316693634 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.033, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238361923 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.738, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "251691412 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 952.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1260184 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 963.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1272002 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 178.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6704270 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 168.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7158346 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 620.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1931276 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 614.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1906677 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 804741, "unit": "ns/op\t 372971 B/op\t 5606 allocs/op", "extra": "1477 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 98.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12283569 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46323624 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.369, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356722946 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.682, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446954998 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 168.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7115094 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 269.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4474131 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 168.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7150804 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 270044, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4381 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 209747, "unit": "ns/op\t 24540 B/op\t 1000 allocs/op", "extra": "5715 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163355, "unit": "ns/op\t 671 B/op\t 0 allocs/op", "extra": "7279 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 528.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2308269 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 521.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2295528 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 432.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2760402 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 845.7, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1412292 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 539.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2234182 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2006, "unit": "ns/op\t 316 B/op\t 7 allocs/op", "extra": "787128 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2229, "unit": "ns/op\t 594 B/op\t 7 allocs/op", "extra": "751747 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1394, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "863372 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1904, "unit": "ns/op\t 355 B/op\t 5 allocs/op", "extra": "875448 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1908, "unit": "ns/op\t 341 B/op\t 5 allocs/op", "extra": "934581 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 127.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9402324 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 114.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10885446 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.7, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24082257 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.24, "unit": "ns/op\t 675.78 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62220015 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.74, "unit": "ns/op\t 297.22 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26780416 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 723.8, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1657202 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 139.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8699008 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 499.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2408559 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 340.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3521191 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 387, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3047042 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1345, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "886747 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 437.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2736637 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 753, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1400097 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24203, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48978 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24257, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48777 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25052192 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 131.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9150032 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19524536 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 147.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7962679 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.75, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58889132 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.02, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55363597 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.87, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58417251 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51469036 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.64, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39620992 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38307097 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12016650 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10901938 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.15, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17561126 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 520.4, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2316198 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36549932 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.088, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 27.75, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39708847 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.94, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33371214 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 80.44, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14622573 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 97.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12334476 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 149.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8031240 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.21, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17816361 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "153834603 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.021, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298672017 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51214668 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 62.35, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18198745 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 83.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14350800 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 140.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8414636 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 96.84, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11913490 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 338.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3533632 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 85.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13995645 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 295.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3970974 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.857, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "315145980 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.361, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275110880 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.845, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "421888825 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.197, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231346245 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.362, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162813330 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.369, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162865392 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14622228 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 112.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10938403 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3733, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21206350 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "1e4e0c3b76bbbea8950256ba5591e0ef4eb021f0", "message": "optimize release drafter config", "timestamp": "2023-08-07T10:35:50+02:00", "tree_id": "159e4596cb678db406fecc6d5b537e9725cb78d8", "url": "https://github.com/gofiber/fiber/commit/1e4e0c3b76bbbea8950256ba5591e0ef4eb021f0" }, "date": 1691397780354, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1598, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "684494 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5342, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "201195 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5376, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "202507 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 148.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8059549 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 203.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5992490 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 298.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4099050 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 248.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4818348 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 457, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2594850 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.678, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447635366 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 17.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "67949731 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1100, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 901.2, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1314441 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 796.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1507345 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3118, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "394113 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1458, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "765296 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1319, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "842840 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 130.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8888136 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 206.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5817162 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 178.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6685351 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 391.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3048452 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2947, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "356998 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 624.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1923212 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 135.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8871664 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 184.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6561360 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 269.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4456404 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 255.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4807783 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 426, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2755624 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26675698 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 92.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13075928 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 43.66, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26493232 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 54.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21864410 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 676.8, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1793394 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16111002 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 339.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3297070 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4480, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "266245 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "69285968 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 174.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6569097 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 315.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3784369 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 425.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2808110 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3252, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "319599 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 145.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7732326 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1413, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "787922 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 264.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4599552 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 824.8, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1443018 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 937.1, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1319828 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 940.3, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1244888 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 893.4, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1339560 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 199.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6021847 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.272, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228071612 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 60.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19950979 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 49.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24478857 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 109.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10929525 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 118.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9858142 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 53.01, "unit": "ns/op\t 79 B/op\t 0 allocs/op", "extra": "18869268 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 179.2, "unit": "ns/op\t 89 B/op\t 1 allocs/op", "extra": "6687655 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 56.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21153280 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127384428 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 375.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3177116 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4141, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "274936 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3379, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "344323 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4297, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269625 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4285, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "274496 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1467, "unit": "ns/op\t 809 B/op\t 8 allocs/op", "extra": "762616 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1005, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 67.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17944326 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 13.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "86541579 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 170.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6741759 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5475, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "217342 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5551, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "212712 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 160.5, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7448373 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 52.34, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23212932 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 60.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19721456 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.794, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "303937402 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.036, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230335378 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.748, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "239226201 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 978.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1230842 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1007, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1217240 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 179.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6633399 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 167.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7125675 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 646.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1902828 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 631.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1860806 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 849259, "unit": "ns/op\t 372984 B/op\t 5606 allocs/op", "extra": "1396 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 97.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12254658 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45141488 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.373, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "355610371 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.695, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "421611062 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 169.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6788901 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 265.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4554828 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 169.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7026067 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 272184, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4371 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 212086, "unit": "ns/op\t 24540 B/op\t 1000 allocs/op", "extra": "5672 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163784, "unit": "ns/op\t 691 B/op\t 0 allocs/op", "extra": "7122 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 533.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2275804 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 522.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2289529 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 436.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2753587 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 860.7, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1389464 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 542.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2097322 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2133, "unit": "ns/op\t 318 B/op\t 7 allocs/op", "extra": "774488 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2307, "unit": "ns/op\t 586 B/op\t 7 allocs/op", "extra": "767282 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1398, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "808680 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1736, "unit": "ns/op\t 257 B/op\t 5 allocs/op", "extra": "804727 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1921, "unit": "ns/op\t 347 B/op\t 5 allocs/op", "extra": "906600 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 128.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8366347 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 110, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10880469 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 50.88, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "22362918 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.26, "unit": "ns/op\t 674.96 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62248941 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.74, "unit": "ns/op\t 297.23 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27365996 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 748.5, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1582622 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 142.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7865278 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 511.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2338644 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 351.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3325641 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 388.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3074366 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1375, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "855298 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 432, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2795583 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 810.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1371823 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 25826, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "47594 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 25940, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "47038 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24993126 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 137.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9048186 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18935091 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 151, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7838448 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.96, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57363674 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.49, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53397452 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.94, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57937258 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.19, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52299002 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.54, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35059896 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 30.08, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38182872 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12001609 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 110, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10804976 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 68.19, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17099252 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 523.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2256452 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36572422 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.089, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "998523931 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 28.02, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39511926 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 33.51, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33934214 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 81.78, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14636588 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 98.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12170283 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 150.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7919950 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 67.54, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17519385 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.877, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "153621986 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.023, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "296908873 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "50888004 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 65.57, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18104727 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 83.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14341243 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 146.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8288150 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 98.51, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12084500 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 346.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3352087 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 87.57, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13601048 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 303.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3948346 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.873, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "314958886 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275055812 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.845, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "421620091 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.191, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230809930 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.446, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "161149027 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162649567 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 83.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14633127 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10890819 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.392, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21325300 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "e4839eaeba9318526f05223fa8db8c7f4af62380", "message": "Update sync_docs.sh\n\noptimize sync docs\r\n- sort version json", "timestamp": "2023-08-07T15:51:16+02:00", "tree_id": "a4c13f7b037a3804281e93486306b7bd8c2bf576", "url": "https://github.com/gofiber/fiber/commit/e4839eaeba9318526f05223fa8db8c7f4af62380" }, "date": 1691416696896, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1414, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "782454 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5183, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "223286 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5265, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "224214 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 148.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8103523 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 200.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5956749 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 292.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4100762 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 249.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4810898 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 443.4, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2638135 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.686, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447729309 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 17.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "66532957 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1071, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 882.1, "unit": "ns/op\t 128 B/op\t 4 allocs/op", "extra": "1363324 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 777.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1537296 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2861, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "404254 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1400, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "828609 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1270, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "850940 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 130.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9197344 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 201.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5909644 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 178.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6711741 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 373.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3195718 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2764, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "411831 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 623.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1923892 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 136, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8816964 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 179.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6656475 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 265.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4474872 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 246.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4882500 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 420.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2843988 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 45.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26640722 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 92.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12961458 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.38, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27434587 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 51.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23339766 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 664.2, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1814059 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16937616 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 335.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3527703 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4354, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "267784 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "74876630 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 169.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7002255 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 310.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3833227 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 417.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2849854 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3151, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "369529 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 147.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7843555 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1364, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "780159 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 253.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4733775 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 802.5, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1514017 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 880.2, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1356181 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 921.7, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1277546 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 863.1, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1384755 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 197, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6072283 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.263, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228059322 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 60.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19807543 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 46.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25575488 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 108, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11051136 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 115.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10378243 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 54.08, "unit": "ns/op\t 79 B/op\t 0 allocs/op", "extra": "23565985 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 177.3, "unit": "ns/op\t 89 B/op\t 1 allocs/op", "extra": "6731612 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 56.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21213246 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.141, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "131903300 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 376.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3203989 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3962, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "294960 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3283, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "344535 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4212, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "274108 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4218, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "276735 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1317, "unit": "ns/op\t 805 B/op\t 8 allocs/op", "extra": "823618 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1030, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 67.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17603600 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "87941491 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 170.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7045176 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5164, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "220773 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5227, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "225986 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 147.8, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8028796 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.95, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23605036 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 61.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19602780 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.762, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "319027405 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 4.856, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238521123 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.732, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "252467650 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 943.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1264579 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 948.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1268623 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 178.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6695270 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 167.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7132083 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 612.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1934785 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 616.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1963256 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 779389, "unit": "ns/op\t 372969 B/op\t 5606 allocs/op", "extra": "1507 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 97.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12046198 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "43105191 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.371, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356003101 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.682, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "445770763 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 169.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7096995 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 263.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4522880 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 167.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7153741 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 267678, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4316 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 208598, "unit": "ns/op\t 24564 B/op\t 1000 allocs/op", "extra": "5786 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163425, "unit": "ns/op\t 645 B/op\t 0 allocs/op", "extra": "7306 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 519.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2299105 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 521.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2298757 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 431.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2770783 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 839.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1338246 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 537.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2243862 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2273, "unit": "ns/op\t 414 B/op\t 7 allocs/op", "extra": "869966 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2382, "unit": "ns/op\t 562 B/op\t 7 allocs/op", "extra": "823352 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1375, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "828645 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1803, "unit": "ns/op\t 356 B/op\t 5 allocs/op", "extra": "870306 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1902, "unit": "ns/op\t 344 B/op\t 5 allocs/op", "extra": "919812 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 128.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9106680 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 108.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10860936 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.39, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23772433 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.34, "unit": "ns/op\t 672.26 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62331946 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.72, "unit": "ns/op\t 297.32 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27469900 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 721.8, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1663807 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 138.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8695198 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 497.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2386407 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 346.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3515420 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 388.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3101877 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1361, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "856749 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 438.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2761060 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 805.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1483358 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24233, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48746 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24181, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49291 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25028328 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 134.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9200754 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19546639 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 147.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8093440 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.33, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60128665 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.09, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54730236 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.11, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59308152 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.13, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51489688 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.02, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40242522 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.18, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38440707 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12022062 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10825040 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.13, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17543892 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 516.9, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2312956 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 33.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36375403 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.088, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 27.61, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39916550 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.174, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.77, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33930343 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 79.61, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14949834 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 94.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12709575 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 152.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7858977 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.13, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17712838 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.796, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "153922622 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.171, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.024, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298827355 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "49664476 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 62.26, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17573360 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 83.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14347987 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 139.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8434144 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 94.75, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12169179 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 337.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3551575 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 86.15, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13760496 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 295.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3961026 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.976, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "309483657 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.362, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275791197 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "420859963 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.187, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231173504 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "163575912 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.365, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162880160 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 82.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14620164 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 115.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9886712 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3726, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21564832 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "e6a93808800753d626cd3c3b3a0b75300ed29feb", "message": "sync docs workflow optimization", "timestamp": "2023-08-07T16:03:12+02:00", "tree_id": "5c3426c9cb92261d237750cc83d15006a8fc70a7", "url": "https://github.com/gofiber/fiber/commit/e6a93808800753d626cd3c3b3a0b75300ed29feb" }, "date": 1691417431434, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2167, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "601335 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 8853, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "127120 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7201, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "149370 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 184.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6412897 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 244.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4969878 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 370.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3161022 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 308.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4025790 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 561.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2099252 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.627, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325401680 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 26.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45575737 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1418, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "854331 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1136, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 972.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1237098 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3652, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "336829 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1731, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "652380 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1542, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "740532 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 162.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7517906 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 256.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4927466 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 225.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5397607 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 472.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2630895 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3633, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "343384 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 692.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1664160 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 161.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7692540 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 230.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4926273 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 333.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3541911 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 291.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4079772 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 537, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2202190 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 54.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22930868 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 105.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11344363 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 57.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20820926 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 61.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19340062 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 802.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1476285 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 91.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13421049 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 443.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2698858 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5449, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "218200 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 23.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "50105841 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 219.4, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5407358 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 391.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3108764 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 507, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2326827 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3921, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "305324 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 182.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6107724 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1718, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "671472 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 325.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3616402 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1006, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1099, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1183, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "960525 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1092, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 250.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4692044 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.786, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "178883065 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 72.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16870551 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 57.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21100946 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 129.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9409923 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 144.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8425029 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 61.95, "unit": "ns/op\t 80 B/op\t 0 allocs/op", "extra": "18615253 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 200.9, "unit": "ns/op\t 86 B/op\t 1 allocs/op", "extra": "5554044 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 69.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17374738 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 12.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "96362708 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 492.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2336535 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 5034, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "239869 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4141, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "291336 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5204, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "222493 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5497, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "223572 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1911, "unit": "ns/op\t 810 B/op\t 8 allocs/op", "extra": "552416 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1220, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "994970 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 94.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13295817 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 17.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "65313266 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 231.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5179962 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6991, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "163780 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7089, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "165344 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 199.2, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6102145 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 64.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18456224 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 74.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15608238 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 5.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230594150 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.345, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "181273938 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.402, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "283789545 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1165, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1182, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 220.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5354202 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 213.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5828088 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 769, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1538331 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 775, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1558680 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1039297, "unit": "ns/op\t 372986 B/op\t 5606 allocs/op", "extra": "1194 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 126.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9501445 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 34.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35305880 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.457, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274363014 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.652, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325455064 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 212.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5702924 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 286.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4050343 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 206.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5601412 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 330417, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3547 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 283301, "unit": "ns/op\t 24641 B/op\t 1000 allocs/op", "extra": "4262 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 227081, "unit": "ns/op\t 686 B/op\t 0 allocs/op", "extra": "5342 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 662.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1872992 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 647.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1826520 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 525.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2296027 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1004, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 663.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1821991 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2579, "unit": "ns/op\t 330 B/op\t 7 allocs/op", "extra": "692030 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2975, "unit": "ns/op\t 624 B/op\t 7 allocs/op", "extra": "599772 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1706, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "697423 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2260, "unit": "ns/op\t 278 B/op\t 5 allocs/op", "extra": "660193 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2324, "unit": "ns/op\t 270 B/op\t 5 allocs/op", "extra": "707788 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 169.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6856454 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 137.6, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8809956 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 64.34, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19000395 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 25.99, "unit": "ns/op\t 500.18 MB/s\t 0 B/op\t 0 allocs/op", "extra": "47408502 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 54.86, "unit": "ns/op\t 236.95 MB/s\t 0 B/op\t 0 allocs/op", "extra": "20731089 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 904, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1327027 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 176.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6800086 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 606.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1984884 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 425.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2821242 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 470.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2540636 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1598, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "735554 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 516.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2285311 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 910.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1282590 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 33218, "unit": "ns/op\t 8535 B/op\t 207 allocs/op", "extra": "37192 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 33571, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "36552 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 67.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18311377 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 189.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6301969 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 67.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18568629 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 186.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6839930 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 25.67, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45552992 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 27.33, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45310015 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 25.25, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45354480 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 28.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "41147943 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 36.31, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31992354 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 36.57, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31415764 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 125.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9779808 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 134.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8917467 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 91.58, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13060608 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 688.8, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1745514 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 44.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26691686 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.394, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "840541630 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 33.72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34047217 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.429, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "841257582 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 42.55, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29113270 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 108.2, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11287316 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 115.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10658478 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 198.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5926682 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 83.44, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14463130 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.838, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "120534141 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.388, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "794571992 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 6.028, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "194830366 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 33.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "34716739 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 91.74, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13036404 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 122.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10159276 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 191.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6485310 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 126.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8788123 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 477.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2523696 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 131, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9467137 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 423.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2868492 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.847, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "412555615 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 6.038, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198403824 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331983856 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.382, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "191206719 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 10.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 10, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 103.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11840152 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 136.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9116432 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4386, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 61.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18414238 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "8d8bddf21246cc390ab64cc231b6297bd54ef9c8", "message": "build(deps): bump golang.org/x/sys from 0.10.0 to 0.11.0 (#2563)\n\nBumps [golang.org/x/sys](https://github.com/golang/sys) from 0.10.0 to 0.11.0.\r\n- [Commits](https://github.com/golang/sys/compare/v0.10.0...v0.11.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: golang.org/x/sys\r\n dependency-type: direct:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", "timestamp": "2023-08-07T16:16:16+02:00", "tree_id": "b826fb05c54df6d8ec9d7c8ec2bb4ee49ec61a56", "url": "https://github.com/gofiber/fiber/commit/8d8bddf21246cc390ab64cc231b6297bd54ef9c8" }, "date": 1691418220362, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1806, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "601292 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7113, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "164524 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6784, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "168937 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 192.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6176011 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 248, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4634702 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 347.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3297507 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 311.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3804530 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 549, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2127082 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.357, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "354375843 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 21.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "55281306 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1340, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "922388 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1108, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 967, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1213683 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3236, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "357290 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1691, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "653721 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1631, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "688557 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 166.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7605462 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 243.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4894786 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 214.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5452492 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 475.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2576655 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3611, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "298460 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 748.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1521597 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 176.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7059152 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 228.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5035926 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 329.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3528456 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 313.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "3818086 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 529.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2255298 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 53.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21889344 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 117.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10884393 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 54.36, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21199538 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 65.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19608792 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 864.1, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1393299 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 84.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13985374 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 397.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2830981 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5338, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "229281 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 19.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "62105246 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 211.2, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5542675 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 392.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2939845 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 543.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2229601 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 4036, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "288818 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 176.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6494344 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1692, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "680416 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 319.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3810934 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1059, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "952101 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1099, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1186, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "927558 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1083, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 252.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4702964 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.647, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "183377737 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 76.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14802046 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 57.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20449824 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 138, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8976321 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 147.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8682931 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 69.61, "unit": "ns/op\t 80 B/op\t 0 allocs/op", "extra": "14990098 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 216.7, "unit": "ns/op\t 86 B/op\t 1 allocs/op", "extra": "5543227 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 70.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17429860 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "96309855 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 446.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2622348 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4977, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "243438 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4099, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "295500 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5387, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "221364 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5490, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "205520 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1772, "unit": "ns/op\t 809 B/op\t 8 allocs/op", "extra": "654526 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1224, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "973165 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 81.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14624306 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 17.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "73110931 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 215, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5423089 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6592, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "169680 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6780, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "177250 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 191.2, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6265389 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 60.71, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18236204 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15504166 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "264522552 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.246, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "191583650 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.002, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "204191203 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1223, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1202, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "905769 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 221, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5427721 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 209.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5700180 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 702.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1658206 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 739.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1688002 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1040084, "unit": "ns/op\t 372976 B/op\t 5606 allocs/op", "extra": "1171 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 125, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9461536 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 31.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "33838323 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.216, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "284366348 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.344, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "361239018 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 209.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5673884 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 336.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3643206 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 207, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5702317 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 338287, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3528 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 262443, "unit": "ns/op\t 24546 B/op\t 1000 allocs/op", "extra": "4582 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 211665, "unit": "ns/op\t 686 B/op\t 0 allocs/op", "extra": "5824 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 681.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1814662 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 663, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1806248 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 546.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2143669 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1048, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1113416 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 663.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1856940 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2575, "unit": "ns/op\t 351 B/op\t 7 allocs/op", "extra": "599931 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2640, "unit": "ns/op\t 597 B/op\t 7 allocs/op", "extra": "639108 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1757, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "629208 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2261, "unit": "ns/op\t 286 B/op\t 5 allocs/op", "extra": "624694 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1994, "unit": "ns/op\t 260 B/op\t 5 allocs/op", "extra": "776019 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 160.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7629378 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 136.9, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8180714 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 62.18, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19979522 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 24.26, "unit": "ns/op\t 535.94 MB/s\t 0 B/op\t 0 allocs/op", "extra": "52108706 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 54.2, "unit": "ns/op\t 239.85 MB/s\t 0 B/op\t 0 allocs/op", "extra": "21471346 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 938.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1292235 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 167.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7101069 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 634.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1944612 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 432, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2765371 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 478.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2447236 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1786, "unit": "ns/op\t 211 B/op\t 7 allocs/op", "extra": "615901 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 517.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2263279 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 919.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1281168 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 32826, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "36301 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 30568, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "37861 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 57.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20525875 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 160.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7176787 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 77.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16392302 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 184, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6531631 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 23.62, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49998207 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 25.69, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45007576 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 24.61, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49593414 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 26.14, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43488529 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 36.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33129273 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 37.64, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30901824 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 126.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9188714 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 139.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8647392 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 83.16, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13880374 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 672.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1885609 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 39.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30513954 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "918638506 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 36.62, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29996194 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.452, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "783828883 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 42.04, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "24535028 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 101.2, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11850183 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 120.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10215706 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 192.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6340522 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 84.88, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13835524 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.956, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "121597438 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.531, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "801807733 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.039, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230212501 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 29.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "41639058 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 81.72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14515023 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 105.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11018442 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 182.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6391051 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 117.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9852750 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 434.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2898902 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 105.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10492981 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 363.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3230576 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.663, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "266323270 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.237, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "229347666 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.413, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "351427048 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.202, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192611212 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.124, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "136201989 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.154, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129756442 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 102.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11672834 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 139.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8463366 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4786, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 70.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16433474 times\n2 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": "2624c5dc6326314a6a0313a6560feb37ead573f3", "message": "Merge pull request #2569 from sixcolors/2258-logger-latency\n\n💄 feat(middleware/logger): latency match gin-gonic/gin formatter", "timestamp": "2023-08-10T21:13:33-03:00", "tree_id": "dcde0034b8b1f86f5ab73e0b486e71656e2b5633", "url": "https://github.com/gofiber/fiber/commit/2624c5dc6326314a6a0313a6560feb37ead573f3" }, "date": 1691713245607, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1596, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "733140 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6422, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "196764 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5273, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "220160 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 138.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8625388 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 194, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6117682 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 282.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4243791 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 245.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4885294 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 429.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2701662 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.178, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "551583778 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 19.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "61418628 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1126, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 911.2, "unit": "ns/op\t 128 B/op\t 4 allocs/op", "extra": "1306182 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 775.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1539462 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2839, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "404884 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1386, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "768914 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1243, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "848440 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 123.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9744470 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 202, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5935579 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 176.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6818863 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 380.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3112107 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2923, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "411237 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 553.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2102510 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 120.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9942826 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 180.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6400885 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 277.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4313917 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 246.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4871439 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 430.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2785282 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 41.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29116033 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 84.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14103751 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 43.91, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26472912 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 54.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21641320 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 676, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1805806 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 73.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16257870 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 339.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3525076 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4384, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "264492 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "76787281 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 164.8, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7215891 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 315.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3846688 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 422.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2837863 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3213, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "369316 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 152.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7539831 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1395, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "774943 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 254.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4664413 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 794, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1487836 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 893.1, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1342675 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 933.1, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1273801 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 870.7, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1379608 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 201.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5963830 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.259, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228252241 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 59.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20219775 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 48.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24708961 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 110.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10770171 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 114.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10505316 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 55.54, "unit": "ns/op\t 77 B/op\t 0 allocs/op", "extra": "24352617 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 179.3, "unit": "ns/op\t 88 B/op\t 1 allocs/op", "extra": "6802785 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23365759 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.718, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123534438 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 373.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3135231 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3971, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "295580 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3302, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "348276 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4274, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "272870 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4273, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "267142 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1401, "unit": "ns/op\t 798 B/op\t 8 allocs/op", "extra": "790623 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1025, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 67.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17616187 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 13.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "86260461 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 170.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7023724 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5251, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "219314 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5329, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "223281 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 149.8, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8031784 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 50.25, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23594858 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20273166 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "315507535 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.044, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238414402 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.723, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253849838 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 942.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1272249 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 947.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1262992 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 181.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6844454 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 162.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7396356 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 617.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1934037 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 620.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1946934 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1015288, "unit": "ns/op\t 372973 B/op\t 5606 allocs/op", "extra": "1515 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 107.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12500614 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 27.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46226841 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.357, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "351863083 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.079, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "430106764 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 187.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7352229 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 334.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4122796 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 189.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7376168 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 318185, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3580 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 241502, "unit": "ns/op\t 24593 B/op\t 1000 allocs/op", "extra": "5808 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 187839, "unit": "ns/op\t 704 B/op\t 0 allocs/op", "extra": "7291 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 623.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2054512 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 594.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2299044 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 549.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2242466 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1026, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 616.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2230221 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2415, "unit": "ns/op\t 310 B/op\t 7 allocs/op", "extra": "839138 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2755, "unit": "ns/op\t 575 B/op\t 7 allocs/op", "extra": "791046 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1656, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "860013 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1886, "unit": "ns/op\t 257 B/op\t 5 allocs/op", "extra": "804074 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2267, "unit": "ns/op\t 258 B/op\t 5 allocs/op", "extra": "796026 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 148.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8450466 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 132.9, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9720897 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 62.56, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24662745 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 22.05, "unit": "ns/op\t 589.49 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62299052 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 50.03, "unit": "ns/op\t 259.83 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27496434 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 873.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1266712 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 153, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8697280 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 647.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2371761 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 399.1, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3483168 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 426.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3107268 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1580, "unit": "ns/op\t 200 B/op\t 7 allocs/op", "extra": "849018 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 527, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2119532 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 934.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1545150 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 30056, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49015 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 31588, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48489 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 51.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25004390 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 162.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9144852 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 70.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19491171 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 170.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8091492 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 21.53, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59280508 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 25.01, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56278438 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 20.15, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56722435 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 23.34, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51696560 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.15, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39917428 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 32.52, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38466630 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 104.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11913176 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 120, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10862233 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 75.38, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17622255 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 582.8, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2303271 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 36.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36057048 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.197, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 32.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40875792 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.271, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 35.08, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33170677 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 84.64, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14647476 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 107.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12366104 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 178.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7738672 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.86, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17552196 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.188, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "147431704 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.247, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.069, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "296828983 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 24.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51222118 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 64.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18703660 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 93.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14391699 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 142.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8435792 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 107, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12433179 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 359.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3461781 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 90.27, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13658349 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 312.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3981117 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "303594393 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "247597794 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.876, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "407727922 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.523, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231101083 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.533, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "161845153 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.378, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162930115 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14656653 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10946944 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.372, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21335161 times\n2 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": "c3ae06608b68302e91eba2f338efa65a1cac8b13", "message": "🐛 fix(middleware/logger): default latency output format (#2580)\n\n* fix: default logger formater latency\r\n\r\n* test: add Test_Logger_WithLatency_DefaultFormat\r\n\r\n* test: rm t.Parallel() from Latency tests\r\n\r\nTrying to make windows CI pass....\r\n\r\n* test: fix windows sleep issue", "timestamp": "2023-08-17T14:33:59+02:00", "tree_id": "e0fb6b7d8c466b41a7643a7b62c43e95bb8be3fe", "url": "https://github.com/gofiber/fiber/commit/c3ae06608b68302e91eba2f338efa65a1cac8b13" }, "date": 1692276077332, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1873, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "538567 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6541, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "172064 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6633, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "184362 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 166.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7022151 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 237.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5146900 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 340.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3511946 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 295.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3997317 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 544.1, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "1885539 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.615, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444103912 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 23.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "52026988 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1382, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "858085 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1117, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 956.6, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1202522 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3562, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "328692 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1728, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "654460 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1572, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "721240 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 151.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8116551 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 243, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4943198 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 211.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5681834 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 463.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2518088 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3409, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "340722 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 664.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1808676 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 144.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8273677 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 224.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5430406 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 352.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3430146 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 304.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "3890727 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 534.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2212351 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 50.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24209314 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 102, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11598004 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 54.59, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20235380 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 66.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18404688 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 823.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1473067 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 88.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13555178 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 410.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2868009 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5415, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "215744 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "63124033 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 209.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5775319 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 394.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3070983 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 525.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2294023 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3878, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "292321 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 182.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6235057 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1690, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "677151 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 309.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3776042 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 992.5, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1214034 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1110, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "996603 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1164, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "983187 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1086, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 246.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4854060 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.495, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "190075513 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 71.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16797090 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 58.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20715612 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 134.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8970276 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 136.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8737045 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 70.62, "unit": "ns/op\t 80 B/op\t 0 allocs/op", "extra": "18695084 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 211.2, "unit": "ns/op\t 87 B/op\t 1 allocs/op", "extra": "5532266 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 60.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19588593 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 451.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2482500 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4928, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "242760 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4093, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "291894 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5241, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "222091 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5171, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "230112 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1728, "unit": "ns/op\t 809 B/op\t 8 allocs/op", "extra": "610768 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1209, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "960171 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 81.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14855870 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "72721921 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5857365 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6438, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "181663 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6539, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "181497 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 187.2, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6381417 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 61.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19752124 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 71.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16886062 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.545, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "263948719 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.042, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198709706 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.686, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200639397 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1158, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1156, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 209.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5636919 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 194.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5976808 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 694.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1745900 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 687.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1673289 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 995137, "unit": "ns/op\t 372962 B/op\t 5606 allocs/op", "extra": "1210 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 114.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10426578 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 31.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38422150 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.043, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "295264983 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.222, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372581953 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 195.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6166098 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 350.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3463117 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 197.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6118420 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 319468, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3674 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 257396, "unit": "ns/op\t 24604 B/op\t 1000 allocs/op", "extra": "4714 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 197554, "unit": "ns/op\t 665 B/op\t 0 allocs/op", "extra": "6056 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 648.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1848388 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 647.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1843826 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 534.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2293368 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1055, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 649.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1823856 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2534, "unit": "ns/op\t 327 B/op\t 7 allocs/op", "extra": "709728 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2695, "unit": "ns/op\t 591 B/op\t 7 allocs/op", "extra": "648494 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1648, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "635330 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1963, "unit": "ns/op\t 269 B/op\t 5 allocs/op", "extra": "714303 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2010, "unit": "ns/op\t 265 B/op\t 5 allocs/op", "extra": "738613 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 154.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7796163 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 141.9, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9060789 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 60.53, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "18409954 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 24.39, "unit": "ns/op\t 533.09 MB/s\t 0 B/op\t 0 allocs/op", "extra": "49069147 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 52.42, "unit": "ns/op\t 248.01 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22885858 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 896.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1261747 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 167.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6824917 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 613.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1992859 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 408.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2912900 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 462.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2592686 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1719, "unit": "ns/op\t 219 B/op\t 8 allocs/op", "extra": "623480 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 530.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2326338 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 927.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1285914 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 30591, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "38505 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 31144, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "39514 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 58.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20338252 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 161.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7659136 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 73.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16268324 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 192.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6644715 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.91, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49922798 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 24.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43887766 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.09, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48644198 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 25.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44960224 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 34.77, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33278683 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 35.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33084716 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 119.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10060585 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 136, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9103449 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 81.14, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14044754 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 644.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1874772 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 39.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30308791 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.305, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "925571694 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 34.01, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32934805 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.404, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "852973722 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 40.69, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "28237142 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 97.29, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12081565 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 113.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10573244 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 179.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6471903 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 82.16, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14556747 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.345, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128229429 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.412, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "852691975 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.835, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "248559578 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 28.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "42541461 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 78.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14929150 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 100.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12003086 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 173.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6611250 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 116, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9598665 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 430, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2840947 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 111.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10587640 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 368.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3215203 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.523, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "262956895 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.235, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "229034632 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.437, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "351397792 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.232, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192418958 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "135369027 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.824, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "135376966 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 102.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12079280 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 131.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8688568 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4466, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 67.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16726090 times\n2 procs" } ] }, { "commit": { "author": { "email": "16949253+PassTheMayo@users.noreply.github.com", "name": "Jacob", "username": "PassTheMayo" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "892b23bd461279580b69c08a3897f3355b703abc", "message": ":sparkles: Add custom data property to favicon middleware config (#2579)\n\n* Add custom data property to favicon middleware\r\n\r\n* Update favicon middleware docs\r\n\r\n* Fix formatting", "timestamp": "2023-08-17T15:04:53+02:00", "tree_id": "a465aac78d7a6e8439aefa66bc6d6c3b76540721", "url": "https://github.com/gofiber/fiber/commit/892b23bd461279580b69c08a3897f3355b703abc" }, "date": 1692277924156, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 796.7, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1636050 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5605, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "209653 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5329, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "211872 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 139.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8262992 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 199.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5965442 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 284, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4215908 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 246.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4730158 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 466.6, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2443744 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.187, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "548321488 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 19.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "61811203 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1156, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "998026 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 952.6, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1233716 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 816.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1445115 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3107, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "369013 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1454, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "755362 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1305, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "799771 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 123.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9716139 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 209.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5705026 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 176.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6799352 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 395.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3008624 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3567, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "328737 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 554.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2166721 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 121, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9645282 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 189.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6198682 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 296.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4144621 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 263.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4565770 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 446.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2645408 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 41.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28897936 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 84.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14168396 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 46.38, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25625064 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 55.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21631752 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 678, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1767309 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 73.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16250994 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 358.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3399492 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4532, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "255548 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "76039435 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 172.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6877801 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 322.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3672901 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 432.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2750749 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3966, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "312084 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 152.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7485571 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1444, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "695146 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 259.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4634560 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 841.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1366051 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 977.3, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1267201 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 969.5, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1245172 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 913, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1250229 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 204.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5839467 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "227704816 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 59.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18975943 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 52.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22965426 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 111.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10749532 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 114, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10498778 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 82.17, "unit": "ns/op\t 71 B/op\t 0 allocs/op", "extra": "13465936 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 193.1, "unit": "ns/op\t 82 B/op\t 1 allocs/op", "extra": "5908173 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 51.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23392750 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.774, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123397015 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 392.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3004059 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4167, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "278670 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3510, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "323380 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4570, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "251140 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4455, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "256868 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1705, "unit": "ns/op\t 793 B/op\t 8 allocs/op", "extra": "601048 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1012, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 68.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17687077 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 13.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "93046069 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 171, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6869727 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5369, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "218653 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5501, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "213369 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 152.2, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7324772 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 50.81, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23061849 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20235942 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.796, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "308928763 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.051, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238274676 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.849, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "251380365 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 963.1, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1247806 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 987.2, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1238290 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 175.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6739377 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 168.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7384142 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 635.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1852684 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 647.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1790330 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 883190, "unit": "ns/op\t 372995 B/op\t 5606 allocs/op", "extra": "1321 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12658195 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44788858 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.459, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "354979155 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.736, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "409534766 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 162, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7358229 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 298.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4125499 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 164.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7300293 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 267930, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4401 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 213345, "unit": "ns/op\t 24582 B/op\t 1000 allocs/op", "extra": "5307 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 165582, "unit": "ns/op\t 704 B/op\t 0 allocs/op", "extra": "7204 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 547.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2226207 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 552.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2223409 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 442.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2604127 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 908.2, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1346800 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 559.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2210359 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2824, "unit": "ns/op\t 360 B/op\t 7 allocs/op", "extra": "569756 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 3402, "unit": "ns/op\t 586 B/op\t 7 allocs/op", "extra": "657046 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1458, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "828061 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2055, "unit": "ns/op\t 259 B/op\t 5 allocs/op", "extra": "785530 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2189, "unit": "ns/op\t 261 B/op\t 5 allocs/op", "extra": "772438 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 130.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9211453 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 111.7, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10656174 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 52.36, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "22459005 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.31, "unit": "ns/op\t 673.13 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62225640 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.78, "unit": "ns/op\t 296.91 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26015499 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 781.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1541241 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 138.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7370871 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 524.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2231560 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 343.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3484726 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 385.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3089466 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1425, "unit": "ns/op\t 207 B/op\t 7 allocs/op", "extra": "842020 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 429.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2796091 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 907.5, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1259844 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 26903, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "45326 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 26743, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "44689 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 48.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24892453 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 137.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8620705 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19494499 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 155.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7792155 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.17, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55584134 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.78, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52064978 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.65, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54477844 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50494564 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.35, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37590471 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 30.11, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36625737 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 100.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11986164 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 110.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10894332 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 72.27, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "15890424 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 542, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2223691 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36515229 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 29.96, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40425771 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.175, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 35.72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31667538 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 84.54, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "13922230 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 93.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12813076 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 153.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7819183 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 69.85, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16757106 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.811, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "153596640 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.201, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.027, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297835468 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "49284252 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 70.68, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17240442 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 83.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14375796 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 147.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8039481 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 112.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10808275 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 358, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3297229 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 95.84, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12483424 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 317.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3753859 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.711, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "323395035 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.377, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "273747806 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.911, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "420682348 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230654486 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.447, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "160996107 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.409, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "162381526 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 82.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14597828 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 111.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10882880 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3731, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21057454 times\n2 procs" } ] }, { "commit": { "author": { "email": "engzerjun@gmail.com", "name": "Eng Zer Jun", "username": "Juneezee" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "242ff945050146e2865134185ff2d81ee73b1581", "message": "♻️ Refactor: Remove redundant nil check (#2584)\n\nFrom the Go docs:\n\n \"If the map is nil, the number of iterations is 0.\" [1]\n\nTherefore, an additional nil check for before the loop is unnecessary.\n\n[1]: https://go.dev/ref/spec#For_range\n\nSigned-off-by: Eng Zer Jun ", "timestamp": "2023-08-17T20:49:53+02:00", "tree_id": "8e811063d159b17f9f5b64bb09d912807fc10802", "url": "https://github.com/gofiber/fiber/commit/242ff945050146e2865134185ff2d81ee73b1581" }, "date": 1692298632404, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2060, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "589542 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7302, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "142646 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6603, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "182824 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 166.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7066714 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 238.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4816042 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 344.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3434965 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 295.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4061036 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 540.6, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2122402 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.614, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "458513672 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 23.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51533058 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1398, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "838458 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1125, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 977.6, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1232956 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3701, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "324192 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1704, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "662461 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1542, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "716808 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 147.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7806372 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 250.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4759315 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 216, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5678860 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 469.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2604232 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3503, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "323752 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 663.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1808217 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 144.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7918021 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 225.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5467444 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 352.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3394754 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 312.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "3911218 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 540, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2220094 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 49.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24000352 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 102.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11833938 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 55.64, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22039464 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 64.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18377966 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 817.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1430877 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 88.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13595144 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 418.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2829362 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5492, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "215330 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "64228794 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 209.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5372750 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 397.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3012412 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 523, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2239044 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 4007, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "303890 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 182.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6205588 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1771, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "680984 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 318.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3800128 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1016, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1143, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "981086 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1195, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "948711 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1094, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 256.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4876720 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.369, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "180354807 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 71.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16833824 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 57.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19891107 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 134.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8836533 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 136.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8779208 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 64.72, "unit": "ns/op\t 74 B/op\t 0 allocs/op", "extra": "20042640 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 217.1, "unit": "ns/op\t 88 B/op\t 1 allocs/op", "extra": "5454909 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 61.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19522028 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 479.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2390040 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4910, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "238573 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4156, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "292684 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5334, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "227998 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5290, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "230017 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1721, "unit": "ns/op\t 812 B/op\t 8 allocs/op", "extra": "664621 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1230, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "911829 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 83.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14875050 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "72333034 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 211.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5864107 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6744, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "179910 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6646, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "175334 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 188.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6210880 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 61.26, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19622629 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 70.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16780600 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.544, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "251005254 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198866302 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.688, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "208263435 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1181, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1157, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 212, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5616226 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 198.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5829846 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 679, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1722727 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 694, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1718012 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 994274, "unit": "ns/op\t 372983 B/op\t 5606 allocs/op", "extra": "1221 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 113.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10443758 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 31.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37804812 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "296802796 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.248, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356386654 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 197.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5703781 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 352.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3401848 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 197.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6102202 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 320352, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3499 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 267985, "unit": "ns/op\t 24608 B/op\t 1000 allocs/op", "extra": "4779 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 211379, "unit": "ns/op\t 624 B/op\t 0 allocs/op", "extra": "5724 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 679.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1831796 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 668.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1856841 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 549.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2223830 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1073, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 665.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1861408 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2729, "unit": "ns/op\t 344 B/op\t 7 allocs/op", "extra": "622190 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2927, "unit": "ns/op\t 620 B/op\t 7 allocs/op", "extra": "605263 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1687, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "639710 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2494, "unit": "ns/op\t 307 B/op\t 5 allocs/op", "extra": "553161 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2238, "unit": "ns/op\t 270 B/op\t 5 allocs/op", "extra": "709294 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 166.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7506612 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 137.6, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8656330 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 60.98, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "17609006 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 24.43, "unit": "ns/op\t 532.21 MB/s\t 0 B/op\t 0 allocs/op", "extra": "50819743 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 53.91, "unit": "ns/op\t 241.13 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22410264 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 910.3, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1309951 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 169.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7159808 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 622.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1951682 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 416.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2934567 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 475.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2490882 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1719, "unit": "ns/op\t 208 B/op\t 8 allocs/op", "extra": "693369 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 525.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2243467 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 952, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1221703 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 32852, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "37819 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 32840, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "31596 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19306633 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 169.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7146554 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 74.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15371708 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 194.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6311749 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 23.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49332591 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 26.04, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46108392 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.95, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44718800 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 26.32, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44035951 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 36.83, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32829506 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 38.78, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30616971 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 125, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10002942 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 138.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8328169 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 89.41, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14157780 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 668.9, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1806878 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 39.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27902882 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.307, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "917997002 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 37.11, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30698630 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.473, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "803474496 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 41.38, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "26316084 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 103.9, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11564697 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 124.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10077877 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 195.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6210602 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 86.89, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13016397 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "122281070 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.411, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "852611560 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.829, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "248041492 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 28.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "42437086 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 79.61, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14567618 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 105.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12023133 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 176.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6486639 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 127.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9635211 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 434.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2702461 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 111.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10791654 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 392.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3080336 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.756, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "251284824 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.572, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "218258238 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.569, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "338911946 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.554, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "184941828 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.528, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129648621 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.964, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127902890 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 103.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11493421 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 140.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8613780 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4803, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 69.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16447683 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "M. Efe Çetin", "username": "efectn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "e2f7457d4de166214e17ec9f7a233fcbfc2d28e4", "message": ":broom: chore: add go 1.21 to ci and readmes (#2588)", "timestamp": "2023-08-19T18:31:38+02:00", "tree_id": "8502b80d15b483c82873a4077e274e3dbde7e334", "url": "https://github.com/gofiber/fiber/commit/e2f7457d4de166214e17ec9f7a233fcbfc2d28e4" }, "date": 1692463142931, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1819, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "602974 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7194, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "159830 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6870, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "191080 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 170.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6934954 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 234.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5318562 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 345.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3437286 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 289, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3930000 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 565.7, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2005576 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.758, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "451345912 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 24.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "49820330 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1180, "unit": "ns/op\t 129 B/op\t 6 allocs/op", "extra": "986385 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 932.4, "unit": "ns/op\t 112 B/op\t 3 allocs/op", "extra": "1280298 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 964.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1305568 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3713, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "332204 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1637, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "709297 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1451, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "851121 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 153.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7564311 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 240.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4966042 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 214.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5456725 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 440.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2711869 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3383, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "360103 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 697.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1764930 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 149.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8097127 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 195.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5991577 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 305.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4125378 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 284.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4393351 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 510, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2319865 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 53.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23639468 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 99.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12583573 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 65.23, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18515924 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 61.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19226216 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 748.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1549845 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 84.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13547586 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 423.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2774451 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5033, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "243691 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 22.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "57811437 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 209.9, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5618818 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 368.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3170427 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 471.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2459862 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3867, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "304410 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 175.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6448528 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1716, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "656425 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 306.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3981303 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1001, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1114, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "968184 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1168, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "980238 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1096, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "987213 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 244.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4946928 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.623, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "180922722 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 67.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18100389 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 57.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18807330 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 132.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9131847 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 143.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8420836 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 43.33, "unit": "ns/op\t 68 B/op\t 0 allocs/op", "extra": "27541576 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 201, "unit": "ns/op\t 86 B/op\t 1 allocs/op", "extra": "5585901 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 61.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17986401 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 504.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2304662 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4498, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "261324 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3956, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "292618 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4989, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "242889 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5101, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "229158 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1669, "unit": "ns/op\t 810 B/op\t 8 allocs/op", "extra": "694816 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1234, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "972980 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 87.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13587498 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "71259186 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 229.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5508914 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 7187, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "171786 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7151, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "159216 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 213.1, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "5527387 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 64.95, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18599136 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 67.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18072607 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 5.036, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "233988477 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.704, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "159905086 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 7.374, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "160658107 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1138, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1124, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "987951 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 222.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5220294 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 201.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5830518 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 730.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1658908 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 715, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1700474 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1016264, "unit": "ns/op\t 372735 B/op\t 5605 allocs/op", "extra": "1212 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 116, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9610282 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 33.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36753710 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.948, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "241577950 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.521, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "343640658 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 203.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6064063 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 278.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4241374 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 209.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5819958 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 309651, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3697 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 272363, "unit": "ns/op\t 24592 B/op\t 1000 allocs/op", "extra": "4316 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 217684, "unit": "ns/op\t 638 B/op\t 0 allocs/op", "extra": "5422 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 591.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2013152 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 572, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2014384 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 486, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2496855 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 976, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1267372 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 615.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1985854 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2471, "unit": "ns/op\t 318 B/op\t 7 allocs/op", "extra": "747465 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2739, "unit": "ns/op\t 597 B/op\t 7 allocs/op", "extra": "633193 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1668, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "685160 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2244, "unit": "ns/op\t 372 B/op\t 5 allocs/op", "extra": "795838 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1949, "unit": "ns/op\t 261 B/op\t 5 allocs/op", "extra": "743787 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 162.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7126231 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 137.9, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8340295 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 62.19, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19236558 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 27.14, "unit": "ns/op\t 479.06 MB/s\t 0 B/op\t 0 allocs/op", "extra": "43993344 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 53.18, "unit": "ns/op\t 244.43 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22156856 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 813.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1431884 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 173.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7124958 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 606.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2019868 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 443.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2823734 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 461.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2612580 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1563, "unit": "ns/op\t 207 B/op\t 7 allocs/op", "extra": "746272 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 496, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2445822 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 913.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1429390 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 30084, "unit": "ns/op\t 8598 B/op\t 208 allocs/op", "extra": "39818 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 30846, "unit": "ns/op\t 8599 B/op\t 208 allocs/op", "extra": "40690 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 64.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18264304 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 184.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6266662 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 62.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18977546 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 170, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7111665 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 26.51, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47897220 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 27.44, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "40337684 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 27.97, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "42587694 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 30.88, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "36693026 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 45.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "25587124 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 43.73, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30603366 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 121.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8535927 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 192.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6124650 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 92.31, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13008402 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 722, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1724322 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 45.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27429148 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.289, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "876479566 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 39.68, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29501520 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.442, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "736719357 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 47.19, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "24840922 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 113.1, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "10833453 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 112.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10618915 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 185.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6420799 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 88.36, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14272172 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.692, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124535426 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.283, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "953422536 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.334, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "276602210 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 31.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36580861 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 52.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23340505 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 106.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11014333 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 120.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9836011 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 115.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10392061 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 441.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2709188 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 117.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9794049 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 377.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3154429 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.934, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "406389223 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "214847930 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.551, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "344559052 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.884, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "203346526 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 10.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "135830019 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 101.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11762752 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 172.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7003964 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4534, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 60.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19784023 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "M. Efe Çetin", "username": "efectn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "1dea615ddf636a7ffb786d1225a929e357e986d2", "message": ":fire: add config to enable splitting by comma in parsers (#2560)\n\n* :fire: add config to enable splitting by comma in parsers\r\n\r\n:fire: add config to enable splitting by comma in parsers\r\n\r\n* optimize if statements, remove escape char support\r\n\r\noptimize if statements, remove escape char support\r\n\r\n* update", "timestamp": "2023-08-21T09:44:02+02:00", "tree_id": "57b281ceb5d10c93168420afd614daffbbfb234b", "url": "https://github.com/gofiber/fiber/commit/1dea615ddf636a7ffb786d1225a929e357e986d2" }, "date": 1692604367903, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1440, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "715431 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 4265, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "277633 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 4469, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "271456 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 126.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9491985 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 173.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6900897 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 258.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4649425 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 237.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5074027 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 417.1, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2648166 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.416, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "494992405 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 19.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "60781350 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1013, "unit": "ns/op\t 129 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 800.8, "unit": "ns/op\t 113 B/op\t 3 allocs/op", "extra": "1495934 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 828, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1471010 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2781, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "412611 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1374, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "811310 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1219, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "894796 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 112.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10592768 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 181, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6431418 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 150.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7907578 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 343.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3484832 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2680, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "423018 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 595.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2007130 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 133.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8970154 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 147.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "8026143 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 236.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5100679 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 206.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5799117 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 394.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2998788 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 44.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27317668 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 82.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13957430 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 48.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24098835 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 45.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26327326 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 681, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1760572 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 72.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16557811 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 331.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3618981 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4213, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "276898 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "71273911 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 147, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8073028 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 282.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4251222 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 395.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3025278 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3017, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "386175 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 136.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8375368 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1349, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "805737 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 236.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5050147 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 788.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1523428 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 881, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1361629 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 933.3, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1302369 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 861.1, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1395332 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 185.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6411651 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.282, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "227333377 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 56.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21366586 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 39.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30254149 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 100.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11752530 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 112.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10792520 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 43.11, "unit": "ns/op\t 76 B/op\t 0 allocs/op", "extra": "24445006 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 162.1, "unit": "ns/op\t 85 B/op\t 1 allocs/op", "extra": "7085059 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 56.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20943991 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.112, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "131389155 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 381.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3111376 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3804, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "309274 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3375, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "349326 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4181, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "280411 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4256, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "279406 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1216, "unit": "ns/op\t 801 B/op\t 8 allocs/op", "extra": "889029 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 892.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1340972 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 75.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16002956 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77507012 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 176.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6780232 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 4359, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "274215 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 4472, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "264854 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 155.8, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7766424 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 48.01, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24727785 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 56.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21277404 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.138, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "291450814 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.688, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "156113986 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.243, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "227444857 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 66.51, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17844765 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 951.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1248631 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 923.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1306290 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 169.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7124660 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 157.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7592192 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 645.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1853316 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 642.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1876296 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 765038, "unit": "ns/op\t 372856 B/op\t 5605 allocs/op", "extra": "1570 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 93.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12650218 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46526932 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325976568 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.827, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "423854614 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 159, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7549130 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 221.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5453036 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 158.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7556137 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 249120, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4701 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 226563, "unit": "ns/op\t 24566 B/op\t 1000 allocs/op", "extra": "5132 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 178965, "unit": "ns/op\t 687 B/op\t 0 allocs/op", "extra": "6550 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 480.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2498204 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 479.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2482520 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 422.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2839525 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 815, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1488667 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 535.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2204042 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2149, "unit": "ns/op\t 413 B/op\t 7 allocs/op", "extra": "852147 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2275, "unit": "ns/op\t 670 B/op\t 7 allocs/op", "extra": "824041 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1459, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "798372 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1846, "unit": "ns/op\t 339 B/op\t 5 allocs/op", "extra": "919612 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1805, "unit": "ns/op\t 345 B/op\t 5 allocs/op", "extra": "891235 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 126.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9460248 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 105.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11294354 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 47.04, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24986199 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.65, "unit": "ns/op\t 661.66 MB/s\t 0 B/op\t 0 allocs/op", "extra": "60917146 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.63, "unit": "ns/op\t 297.94 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27518584 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 729.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1692300 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 124.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9557430 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 503.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2390226 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 351.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3424710 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 374.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3207658 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1347, "unit": "ns/op\t 207 B/op\t 7 allocs/op", "extra": "875316 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 422.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2870553 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 693, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1749985 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 22649, "unit": "ns/op\t 8598 B/op\t 208 allocs/op", "extra": "52348 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 22534, "unit": "ns/op\t 8598 B/op\t 208 allocs/op", "extra": "52909 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 43.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27754526 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 137.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8230922 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 65.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18322968 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 158.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7773436 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.96, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57838064 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.03, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55604494 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.58, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57297603 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.44, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54410419 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.65, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39746752 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.73, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39583780 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 70.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16974724 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10328020 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 62.96, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18615932 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 441.9, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2708493 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 44.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36129934 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8841, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 24.82, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "45238082 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995673309 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 29.82, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38090223 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 74.48, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15832689 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 87.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13744600 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 145.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8059134 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.97, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17913897 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.353, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "143761165 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "994024816 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.024, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298212313 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44975336 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 40.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29574032 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 94.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12703652 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 106.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10779513 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 82.43, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13801147 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 357, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3370425 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 101.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11605296 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 290.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4099687 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.771, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "251027730 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.424, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "271165190 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.684, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "326075752 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.618, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "213383689 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.641, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "157184482 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.257, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "130362286 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12451192 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10330179 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4272, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21967147 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "408501434af7c538d7f9dc3b8225c5fa7afe50e3", "message": "build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (#2592)\n\nBumps [github.com/google/uuid](https://github.com/google/uuid) from 1.3.0 to 1.3.1.\r\n- [Release notes](https://github.com/google/uuid/releases)\r\n- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)\r\n- [Commits](https://github.com/google/uuid/compare/v1.3.0...v1.3.1)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: github.com/google/uuid\r\n dependency-type: direct:production\r\n update-type: version-update:semver-patch\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", "timestamp": "2023-08-23T08:35:52+03:00", "tree_id": "d57772c3c6d8c98f3a1beb6757c55283824c7e7d", "url": "https://github.com/gofiber/fiber/commit/408501434af7c538d7f9dc3b8225c5fa7afe50e3" }, "date": 1692769376454, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1682, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "607616 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7563, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "141288 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6104, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "202080 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 138.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8616339 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 191.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6238831 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 282.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4223048 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 226.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5281346 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 452, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2619782 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "595393591 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 19.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "62094506 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1029, "unit": "ns/op\t 129 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 806, "unit": "ns/op\t 112 B/op\t 3 allocs/op", "extra": "1495132 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 814.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1498964 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2922, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "398588 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1501, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "744498 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1376, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "822852 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 124.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9640248 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 197.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6102442 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 174.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6817353 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 377, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3175450 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3027, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "393307 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 548.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2173136 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 118.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10128607 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 168, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7068171 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 249.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4851658 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 219, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5313418 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 418.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2875154 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 40.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29637618 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 79.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14670934 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 53.99, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22147870 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 49.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24184764 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 664.2, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1819980 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17218906 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 365.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3348906 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4635, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "229729 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "79157222 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 172.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6900115 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 312.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3847908 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 422.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2872911 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3347, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "339638 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 146.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7681914 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1395, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "854928 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 252.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4542106 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 810.8, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1428130 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 933.5, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1316656 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 954.4, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1261537 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 890.5, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1319960 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 195.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6098488 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.361, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "223313886 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 55.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21481245 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 44.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26812929 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 103.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11602054 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 111.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10761506 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 57.76, "unit": "ns/op\t 76 B/op\t 0 allocs/op", "extra": "19700180 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 181.8, "unit": "ns/op\t 91 B/op\t 1 allocs/op", "extra": "6557059 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 52.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22676835 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.854, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "121869804 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 414, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2740636 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4220, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "274492 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3600, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "331264 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4607, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "245872 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4640, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "259206 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1455, "unit": "ns/op\t 802 B/op\t 8 allocs/op", "extra": "771757 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 986.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1217098 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 62.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19139509 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 13.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "88743086 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 167.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7148378 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5868, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "206239 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5873, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "202934 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 173.1, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7235527 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 52.62, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23038234 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 60.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19872176 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.924, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "305485882 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.371, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "223287448 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.735, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "209374428 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 72.01, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16108735 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 982.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1211332 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 944.1, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1261610 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 181.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6505003 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7067953 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 625.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1905583 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 634, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1925204 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 876735, "unit": "ns/op\t 372856 B/op\t 5605 allocs/op", "extra": "1179 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12583167 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46142844 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.708, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324713554 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.848, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "412697924 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 173.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7007907 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 226.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5248729 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 172.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6970330 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 268769, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4375 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 210512, "unit": "ns/op\t 24581 B/op\t 1000 allocs/op", "extra": "5004 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 164036, "unit": "ns/op\t 678 B/op\t 0 allocs/op", "extra": "7221 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 539.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2298693 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 532.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2275724 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 445.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2746020 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 867.9, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1417244 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 539.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2215184 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2459, "unit": "ns/op\t 414 B/op\t 7 allocs/op", "extra": "847573 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2475, "unit": "ns/op\t 692 B/op\t 7 allocs/op", "extra": "788556 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1410, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "924716 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1954, "unit": "ns/op\t 336 B/op\t 5 allocs/op", "extra": "932492 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1956, "unit": "ns/op\t 345 B/op\t 5 allocs/op", "extra": "893532 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 132.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9058969 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 118.7, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10389206 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 52.97, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "21191361 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.52, "unit": "ns/op\t 666.07 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61415749 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 44.03, "unit": "ns/op\t 295.23 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27310767 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 773.5, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1527277 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 151.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7902549 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 530.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2301504 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 354.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3418611 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 380.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3082866 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1447, "unit": "ns/op\t 216 B/op\t 8 allocs/op", "extra": "698526 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 427.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2820189 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 718.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1535844 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 25164, "unit": "ns/op\t 8599 B/op\t 208 allocs/op", "extra": "45112 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 25505, "unit": "ns/op\t 8598 B/op\t 208 allocs/op", "extra": "45738 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19446390 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 145.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8030948 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 50.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23580949 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 157.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7486156 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.26, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56921883 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 21.19, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55109097 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 20.29, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56483133 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.24, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55101972 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 30.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38341035 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.68, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38132810 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 86.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13855633 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 119.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9918591 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 70.64, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17066228 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 521, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2333505 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36825326 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.9211, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 28.86, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37303980 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 33.58, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33307957 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 82.58, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14048310 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 94.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12656757 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 148.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8069358 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 69.75, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16890553 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.482, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "160353906 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.047, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "295623943 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51017000 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 44.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25005230 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 87.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13835457 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 101.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11781172 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 102.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12002677 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 350.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3396099 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 91.55, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11947086 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 313.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3706650 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.681, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447145837 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.202, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "286202355 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "396846405 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 4.863, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "246924156 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.605, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "158178255 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.057, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "171106784 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 82.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14489234 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 118.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10002154 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.6701, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21389017 times\n2 procs" } ] }, { "commit": { "author": { "email": "85569173+LimJiAn@users.noreply.github.com", "name": "Jian Lim", "username": "LimJiAn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "8ec7cec43522bc7fe2a035d42458d656e58b667f", "message": "♻️ Refactor: Use Global vars instead of local vars for isLocalHost (#2595)\n\n♻️ Refactor: Use Global vars instead of local vars for isLocalHost", "timestamp": "2023-08-23T12:19:22+02:00", "tree_id": "61301d21e89fe61480207594328b67ff7f8b3595", "url": "https://github.com/gofiber/fiber/commit/8ec7cec43522bc7fe2a035d42458d656e58b667f" }, "date": 1692786402665, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2284, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "655605 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 8355, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "131791 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6495, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "186532 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 183.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6900428 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 239.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4870222 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 366.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3382215 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 296.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4001250 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 585.1, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2056651 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.863, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "421929454 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 26.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45755952 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1287, "unit": "ns/op\t 129 B/op\t 6 allocs/op", "extra": "896756 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1047, "unit": "ns/op\t 113 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 982.2, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1230196 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3634, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "335162 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1737, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "687211 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1529, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "734278 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 162.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7722237 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 256.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4389103 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 231.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5286498 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 463.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2534290 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3636, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "325905 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 714.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1672231 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 165.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7346440 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 222.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5207530 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 320.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3715033 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 298.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4133497 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 553.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2122632 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 52.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22653932 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 97.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12133880 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 67.52, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "17211380 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 64.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18370170 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 822.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1487332 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 92.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13190131 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 456.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2438218 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5206, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "220257 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 22.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51717260 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 223.2, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5412970 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 390.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2946514 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 507.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2371581 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 4252, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "263487 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 204.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5711617 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1832, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "642622 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 308.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3862819 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1025, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1236, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "873428 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1217, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "863076 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1152, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "943399 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 249.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4555714 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 7.622, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "158640867 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 70.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16727605 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 61.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19336448 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 131.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9224280 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 144.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8016578 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 51.89, "unit": "ns/op\t 77 B/op\t 0 allocs/op", "extra": "19327498 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 211.8, "unit": "ns/op\t 92 B/op\t 1 allocs/op", "extra": "5144068 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 67.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18739894 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 12.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 498.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2297085 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4787, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "253436 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3972, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "282463 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5159, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "222891 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5168, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "230496 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1764, "unit": "ns/op\t 807 B/op\t 8 allocs/op", "extra": "668326 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1263, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "910363 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 89.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13903088 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 18.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "68794814 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 227.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5351634 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6636, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "164122 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6732, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "175747 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 211.8, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "5650722 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 68.47, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "16604863 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 68.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14964756 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 5.472, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225870975 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.537, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "159555793 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 7.408, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "163597722 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 91.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13298133 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1152, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1143, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 228.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5238692 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 212.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5747902 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 750.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1588921 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 750.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1619256 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1043822, "unit": "ns/op\t 372850 B/op\t 5605 allocs/op", "extra": "1209 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 117.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10402104 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 35.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35218374 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.989, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "242626320 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.571, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "334900285 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 215.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5683437 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 283.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4131406 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 208.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5649450 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 317018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3723 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 288910, "unit": "ns/op\t 24574 B/op\t 1000 allocs/op", "extra": "4131 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 220306, "unit": "ns/op\t 741 B/op\t 0 allocs/op", "extra": "4942 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 643.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1769084 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 653.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1847870 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 516.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2298162 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1023, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 643.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1812105 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2739, "unit": "ns/op\t 333 B/op\t 7 allocs/op", "extra": "652479 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2865, "unit": "ns/op\t 603 B/op\t 7 allocs/op", "extra": "623716 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1770, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "738940 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2359, "unit": "ns/op\t 292 B/op\t 5 allocs/op", "extra": "586447 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2211, "unit": "ns/op\t 265 B/op\t 5 allocs/op", "extra": "715142 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 160.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7084996 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 142.9, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "7627408 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 65.23, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "18062053 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 25.06, "unit": "ns/op\t 518.77 MB/s\t 0 B/op\t 0 allocs/op", "extra": "46875390 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 56.03, "unit": "ns/op\t 232.02 MB/s\t 0 B/op\t 0 allocs/op", "extra": "21060134 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 850.8, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1300435 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 186.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6721294 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 621.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1980390 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 455.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2696736 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 483.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2535824 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1715, "unit": "ns/op\t 219 B/op\t 8 allocs/op", "extra": "586682 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 563, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2159810 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 924.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1275904 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 34281, "unit": "ns/op\t 8599 B/op\t 208 allocs/op", "extra": "35020 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 36584, "unit": "ns/op\t 8598 B/op\t 208 allocs/op", "extra": "35110 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17756094 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 196.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "5999736 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 65.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19129232 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 181, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6509952 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 25.46, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43368434 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 27.56, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "39460828 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 26.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "40770285 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 28.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "39144044 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 41.88, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "27850986 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 40.25, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29238313 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 121.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9672128 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 176.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6586612 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 84.68, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14067716 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 667.8, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1886960 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 45.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27164226 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.225, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "940004803 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 36.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31712954 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.427, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "842644135 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 42.21, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "27779743 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 108.6, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "10790166 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 115, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10052979 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 196.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5911496 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 95.63, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "12960180 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.584, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "122225373 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.305, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "906353809 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.504, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "263990919 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 33.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37489801 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 54.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21128811 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 114, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10674259 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 129.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9423063 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 120.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9758778 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 453.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2569765 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 119.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9683587 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 399.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3047598 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.937, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "396018168 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.554, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "220939546 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.539, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "342842878 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.241, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "196383619 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 10.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.644, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "138024369 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 102.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12296212 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 178.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6680588 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4502, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 61.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19156932 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "15129972357dc1fc75fe03db2723c9e10bed20e6", "message": "improve not found error", "timestamp": "2023-08-27T12:35:30+02:00", "tree_id": "eef11ca9fbafee70b8d413abf96574fe1f1e64de", "url": "https://github.com/gofiber/fiber/commit/15129972357dc1fc75fe03db2723c9e10bed20e6" }, "date": 1693132972565, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1955, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "658254 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6825, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "171628 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6866, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "170479 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 161.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7392781 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 218, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5467058 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 327.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3657859 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 272.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4417596 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 540.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2112938 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.403, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "499656033 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 21.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "55331460 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1241, "unit": "ns/op\t 129 B/op\t 6 allocs/op", "extra": "964904 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 977.5, "unit": "ns/op\t 112 B/op\t 3 allocs/op", "extra": "1242513 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 929.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1269718 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3364, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "318345 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1783, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "643598 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1611, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "682107 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 149.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8030976 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 235.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4972840 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 208.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5768060 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 450.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2621481 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3445, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "334780 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 657.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1823767 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 142.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8308834 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 195.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5818326 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 296.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4056700 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 259, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4424124 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 478, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2526008 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 48.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22684230 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 95.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12481183 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 64.56, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18458775 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 60.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19925091 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 797.1, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1508440 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 83.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14360892 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 406.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2853044 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5465, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "219756 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "65690673 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 198.2, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5838654 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 371.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3224926 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 498.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2406634 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3998, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "297063 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 170.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6662365 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1632, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "698953 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 303.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3988113 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 956.2, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1234519 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1041, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1098, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "999187 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1025, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 233.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5123559 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.494, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "185601628 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 67.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17653554 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 53.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22368114 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 124.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9539821 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 134.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8605765 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 71.24, "unit": "ns/op\t 76 B/op\t 0 allocs/op", "extra": "19664024 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 204.8, "unit": "ns/op\t 85 B/op\t 1 allocs/op", "extra": "5653748 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 62.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19211248 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 482.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2495065 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4991, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "229310 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4211, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "282282 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5400, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "218751 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5372, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "219229 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1612, "unit": "ns/op\t 802 B/op\t 8 allocs/op", "extra": "676726 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1214, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "973872 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 82.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14563274 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 17.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "68327005 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 199.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5989165 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6747, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "173554 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6840, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "160546 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 195.2, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6134254 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 59.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20040607 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 69.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16970880 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.698, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "255555907 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.425, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "186984171 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.848, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "176460892 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 81.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14408709 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1223, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "977408 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1203, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "888225 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 216.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5549134 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 198.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6019105 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 703.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1732044 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 709.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1721012 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 991113, "unit": "ns/op\t 372858 B/op\t 5605 allocs/op", "extra": "1224 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10396010 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 31.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37895644 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.419, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "271010977 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.416, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "351643418 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 203.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5932980 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 274.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4310677 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 202.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5986082 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 323146, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3648 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 254177, "unit": "ns/op\t 24553 B/op\t 1000 allocs/op", "extra": "4632 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 195543, "unit": "ns/op\t 708 B/op\t 0 allocs/op", "extra": "6054 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 629.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1888414 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 625.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1924484 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 512.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2348065 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1026, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 632.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1885374 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2401, "unit": "ns/op\t 320 B/op\t 7 allocs/op", "extra": "731809 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2550, "unit": "ns/op\t 573 B/op\t 7 allocs/op", "extra": "673974 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1698, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "771495 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1938, "unit": "ns/op\t 263 B/op\t 5 allocs/op", "extra": "730388 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2285, "unit": "ns/op\t 373 B/op\t 5 allocs/op", "extra": "792628 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 158.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7554626 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 137.1, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8538748 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 58.59, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19045166 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 23.29, "unit": "ns/op\t 558.19 MB/s\t 0 B/op\t 0 allocs/op", "extra": "51420270 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 52.64, "unit": "ns/op\t 246.95 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22530732 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 870, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1371133 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 169.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7027772 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 610.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1987570 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 415.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2895382 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 452.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2650046 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1615, "unit": "ns/op\t 208 B/op\t 8 allocs/op", "extra": "734038 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 518.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2345065 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 806.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1427083 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 29328, "unit": "ns/op\t 8598 B/op\t 208 allocs/op", "extra": "41445 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 28241, "unit": "ns/op\t 8598 B/op\t 208 allocs/op", "extra": "42704 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 73.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16389604 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 160.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7367233 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 60.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19435906 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 184.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6559644 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.18, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50252084 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 23.91, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45348150 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 22.65, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48512059 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 24.87, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44745993 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 34.77, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32351487 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 34.71, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32362219 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 103.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11564265 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 142.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8428017 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 79.85, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14538976 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 605.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1994888 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 38.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31206858 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.104, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 32.86, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33823159 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.299, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "919804202 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 38.87, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29173713 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 93.71, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12632349 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 112.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10623892 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 185.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6495595 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 81.83, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14073524 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.943, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "133896500 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "957950024 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.805, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "249908616 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 28.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "42561855 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 53.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22433101 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 104.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11536161 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 120.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9891591 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 116.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9975482 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 405.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2919181 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 102.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11539068 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 342.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3458083 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.213, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373458327 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.015, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238880701 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.604, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "332176350 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.798, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "206350046 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.361, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129186724 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.399, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "143095027 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 98.01, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12289548 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 141.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8429901 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.8007, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 66.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18310704 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "b84f8a64e3b795bb9c8407d9a36cb3989f0216f1", "message": "Update app.go\n\nprepare release v2.49.0", "timestamp": "2023-08-27T12:53:07+02:00", "tree_id": "62f422d77f1cdc924ecad78145c9c03daf3ab818", "url": "https://github.com/gofiber/fiber/commit/b84f8a64e3b795bb9c8407d9a36cb3989f0216f1" }, "date": 1693134010188, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1602, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "710554 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 4792, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "229239 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 4251, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "272170 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 121.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9919972 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 167.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7119687 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 251.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4767222 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 221, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5452297 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 427.1, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2779662 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.421, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "494863734 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 19.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "63045090 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1019, "unit": "ns/op\t 129 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 801.5, "unit": "ns/op\t 112 B/op\t 3 allocs/op", "extra": "1497486 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 802.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1504166 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2784, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "407667 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1363, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "810456 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1244, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "894583 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 115.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10240053 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 179.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6680941 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 153.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7818820 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 351.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3442962 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2616, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "438565 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 538.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2226234 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 110.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10756684 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 148.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "8024618 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 229.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5238528 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 207.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5910805 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 396.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3021840 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 37.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "32046486 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 79.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15254884 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 49.33, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24582927 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 47.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25151982 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 678.2, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1779166 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17117040 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 313.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3787215 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4227, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "277713 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "75645415 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 138.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8577295 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 283.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4217124 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 393, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3025294 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2896, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "404365 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 137, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8389345 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1338, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "836115 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 239, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5061218 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 791.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1518952 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 898.2, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1349426 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 929.1, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1276225 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 862.5, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1395495 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 186.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6431766 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.355, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224226624 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 54.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22214048 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 41.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28935530 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 101.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11827993 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 107.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11150886 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 42.47, "unit": "ns/op\t 69 B/op\t 0 allocs/op", "extra": "27083032 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 161.5, "unit": "ns/op\t 85 B/op\t 1 allocs/op", "extra": "7098126 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 48.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24912364 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "131141377 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 389.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3109147 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3882, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "302706 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3408, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "341872 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4202, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "279339 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4272, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "278131 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1214, "unit": "ns/op\t 804 B/op\t 8 allocs/op", "extra": "929430 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 851.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1416256 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 75.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15852194 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "87611883 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 178.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6701306 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 4424, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "272030 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 4456, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "264016 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 160.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7064516 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24148034 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 54.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22241212 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.016, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298430446 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.091, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "196502756 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.032, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198910569 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 65.62, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18026763 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1010, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 979, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1220514 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 169.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7154516 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 156, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7768768 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 661.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1820246 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 657.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1825462 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 758053, "unit": "ns/op\t 372865 B/op\t 5605 allocs/op", "extra": "1560 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 92.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12542162 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46446226 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.622, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330937432 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 4.016, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "424028232 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 156.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7516881 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 220.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5359646 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 155.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7633706 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 249771, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4696 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 215766, "unit": "ns/op\t 24622 B/op\t 1000 allocs/op", "extra": "5524 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177260, "unit": "ns/op\t 639 B/op\t 0 allocs/op", "extra": "6687 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 485.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2461239 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 482.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2486829 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 432.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2919934 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 830.4, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1503723 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 513.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2327884 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2098, "unit": "ns/op\t 411 B/op\t 7 allocs/op", "extra": "858904 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2250, "unit": "ns/op\t 662 B/op\t 7 allocs/op", "extra": "838453 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1471, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "812800 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1796, "unit": "ns/op\t 340 B/op\t 5 allocs/op", "extra": "913022 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1773, "unit": "ns/op\t 345 B/op\t 5 allocs/op", "extra": "891141 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 123.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9763878 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 110.9, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11187025 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 54.14, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "21569868 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 27.33, "unit": "ns/op\t 475.68 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61019352 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.68, "unit": "ns/op\t 297.60 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27195585 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 721, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1675521 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 132.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9010792 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 513.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2337544 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 357, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3353170 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 379.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3170546 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1368, "unit": "ns/op\t 207 B/op\t 7 allocs/op", "extra": "882495 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 423.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2845987 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 662.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1808912 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 22473, "unit": "ns/op\t 8598 B/op\t 208 allocs/op", "extra": "52585 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 22311, "unit": "ns/op\t 8598 B/op\t 208 allocs/op", "extra": "53278 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18325532 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 137.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8628217 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29100754 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 153.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7770529 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.09, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "60683082 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.75, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56191681 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.44, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59080790 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.66, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54011292 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 30.14, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37383862 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39371043 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 70.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16723069 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 149.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10326656 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 70.55, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "16133613 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 480.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2500801 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38444108 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.8845, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 24.57, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "45013576 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.059, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 29.73, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37432329 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 73.88, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15820729 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 87.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13747813 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 147.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8097441 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.58, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18233469 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.211, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "145725598 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "990047432 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.622, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331484355 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 24.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47527467 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 40.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29540532 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11175112 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 110.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11290406 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 101.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11782294 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 358.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3380854 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 79.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14201156 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 290.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4093762 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.213, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "374297553 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.622, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270488662 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.615, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331907727 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.622, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "213387189 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.553, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126409990 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.236, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129762721 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 95.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12511834 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10215062 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.8073, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21805882 times\n2 procs" } ] }, { "commit": { "author": { "email": "835733+gaby@users.noreply.github.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "8761d948ba5f492ecc40c060298f7db04fecbd9e", "message": "Rollback changes to go.mod file (#2614)\n\n* Rollback changes to go.mod file\n\n* Format workflow files with prettier, use go1.20 for go.mod file", "timestamp": "2023-09-02T07:41:54+02:00", "tree_id": "0249ba52a4cb3d2a4ab674b24ad9b17f95aaa1d3", "url": "https://github.com/gofiber/fiber/commit/8761d948ba5f492ecc40c060298f7db04fecbd9e" }, "date": 1693633736589, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1811, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5783, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "186063 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5318, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "215036 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 143.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8338592 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 197.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6044372 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 289.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4165663 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 251.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4803955 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 444.2, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2621586 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.177, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "551256852 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 19.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "61832275 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1126, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 927.5, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1292085 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 789.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1461452 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2980, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "384828 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1388, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "811622 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1254, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "865008 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 129.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9274438 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 202.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5931709 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 176.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6790507 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 383.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3125191 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2982, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "349521 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 584.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2052126 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 129.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9188260 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 175.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6769718 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 254, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4633180 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 227.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5248492 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 405.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2958141 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28038300 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 81.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14730223 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 43.32, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27114775 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 53.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22302883 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 679.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1761363 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 67.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17736906 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 344, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3498819 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4411, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "264512 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "73120038 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 167, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7054443 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 315.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3800290 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 423.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2811127 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3344, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "346548 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 150.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7589916 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1404, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "792544 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 256.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4674368 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 818.5, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1477765 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 921.3, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1256889 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 944.9, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1268678 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 867.6, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1376923 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 200, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5987149 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "227873037 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 61.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19382649 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 48.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24977446 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 110, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10873564 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 117.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10200912 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 55.98, "unit": "ns/op\t 76 B/op\t 0 allocs/op", "extra": "24440472 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 175.1, "unit": "ns/op\t 91 B/op\t 1 allocs/op", "extra": "6546661 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 54.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22049229 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 10.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 391.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3082887 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4015, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "291678 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3305, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "338866 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4307, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "268081 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4297, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "270024 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1436, "unit": "ns/op\t 803 B/op\t 8 allocs/op", "extra": "836932 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 987.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1215495 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 67.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17621166 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 13.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "86766609 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 170, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7052683 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5313, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "210374 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5402, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "215064 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 155.8, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7685947 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 51.25, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22992250 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20478256 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.722, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322526058 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.034, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238124937 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.714, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253335577 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 69.32, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17055308 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 989, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1212363 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1000, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 176.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6830690 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 166.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7193414 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 631.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1907610 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 635.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1887813 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 819492, "unit": "ns/op\t 373101 B/op\t 5606 allocs/op", "extra": "1454 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 95.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12674396 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46102988 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.362, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "356517975 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.692, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "437438000 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 168.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7079797 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 289.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4179860 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 167.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7034612 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 265650, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4447 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 209852, "unit": "ns/op\t 24554 B/op\t 1000 allocs/op", "extra": "5576 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 164411, "unit": "ns/op\t 663 B/op\t 0 allocs/op", "extra": "7100 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 527.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2292337 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 523.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2250274 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 435.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2762128 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 858.3, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1384039 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 531.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2261052 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2040, "unit": "ns/op\t 314 B/op\t 7 allocs/op", "extra": "803744 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2242, "unit": "ns/op\t 581 B/op\t 7 allocs/op", "extra": "778900 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1415, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "891822 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1940, "unit": "ns/op\t 354 B/op\t 5 allocs/op", "extra": "880062 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1951, "unit": "ns/op\t 341 B/op\t 5 allocs/op", "extra": "932103 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 131.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9118219 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 113.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10647698 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49.65, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23781703 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.21, "unit": "ns/op\t 676.64 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62383563 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.84, "unit": "ns/op\t 296.56 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27344373 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 739.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1607466 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 145.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8134074 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 512, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2358135 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 338.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3537496 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 385, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3114554 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1388, "unit": "ns/op\t 207 B/op\t 7 allocs/op", "extra": "839008 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 431.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2776286 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 786.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1552695 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 25143, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "47551 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 25022, "unit": "ns/op\t 8535 B/op\t 207 allocs/op", "extra": "48133 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19544890 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 138.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8981241 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 47.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24830260 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 146.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8123404 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57097064 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.75, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54609622 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.63, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57952144 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.01, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53790067 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 27.36, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40471353 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.86, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39374203 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12017427 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10877718 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 67.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17401021 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 522.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2281051 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38497675 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.088, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 28.42, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38972919 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 33.14, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33173044 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 85.67, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14019512 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 95.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12594253 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 152.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7919053 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17554362 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.033, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149101050 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.029, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "296827423 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47724770 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 63.18, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18538357 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 87.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13730965 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8342816 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 87.66, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13627982 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 343.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3502147 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 96.78, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12254514 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 301.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3943081 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.695, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325038590 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274667287 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.021, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397981107 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.192, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231012165 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.701, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155802913 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.704, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "139796996 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 82.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14676211 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 114.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10205060 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3791, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21177394 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "8bb5e21e39cf011b1125bbf4e8b84e93b4852a4e", "message": "build(deps): bump github.com/valyala/fasthttp from 1.48.0 to 1.49.0 (#2615)\n\nBumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp) from 1.48.0 to 1.49.0.\r\n- [Release notes](https://github.com/valyala/fasthttp/releases)\r\n- [Commits](https://github.com/valyala/fasthttp/compare/v1.48.0...v1.49.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: github.com/valyala/fasthttp\r\n dependency-type: direct:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", "timestamp": "2023-09-02T18:26:21+02:00", "tree_id": "5c296df9a3c2445ba83a9409fe0869eb44cb5cc6", "url": "https://github.com/gofiber/fiber/commit/8bb5e21e39cf011b1125bbf4e8b84e93b4852a4e" }, "date": 1693672411238, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1499, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "741632 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3674, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "311955 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3765, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "309094 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 128.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9402988 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 181.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6536688 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 271.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4453231 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 235, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5075865 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 424.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2617150 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.814, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "417433424 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 18.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "63994377 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1071, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 856.1, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1397850 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 800.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1466358 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2801, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "412678 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1430, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "773716 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1288, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "853015 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 116.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10293169 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 183.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6537832 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 156.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7660687 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 371.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3203522 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2659, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "434545 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 592.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2030293 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 135.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8853194 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 157.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7458846 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 238.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5031303 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 216.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5540324 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 424.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2806563 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27224582 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 86.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14004994 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 41.52, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27951042 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 51.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23042908 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 685.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1741849 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16655311 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 344.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3679676 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4472, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "260472 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 20.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77299286 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 164.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7249062 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 292.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3969696 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 402.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2928962 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2946, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "394288 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 138.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8303367 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1415, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "800386 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 243.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4926193 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 818.4, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1473181 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 934.4, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1285570 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 986.2, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1222232 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 924.7, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1298842 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 181, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6049351 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225787458 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 59.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20240419 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 45.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28185537 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 101.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11801854 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 112.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10612657 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 48.91, "unit": "ns/op\t 76 B/op\t 0 allocs/op", "extra": "30513614 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 154.4, "unit": "ns/op\t 82 B/op\t 1 allocs/op", "extra": "7418229 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21551758 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.472, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123170378 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 396.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2974938 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3950, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "297583 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3401, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "341440 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4275, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "273349 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4274, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "272143 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1230, "unit": "ns/op\t 804 B/op\t 8 allocs/op", "extra": "873894 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 885.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1350844 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 70.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16863745 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "86579923 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 181.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6617236 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3725, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "311236 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3807, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "307753 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 145.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8160988 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 47.95, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24621142 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 60.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20427040 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298498069 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.029, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199144138 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.818, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "208857339 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 60.57, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "19069798 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 976.7, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1231993 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 989.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1228680 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 165.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7250535 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 154.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7782380 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 648.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1850666 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 647.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1851960 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 748182, "unit": "ns/op\t 373112 B/op\t 5606 allocs/op", "extra": "1578 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 97.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12299889 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45664978 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.828, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331525140 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.697, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "443952162 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 154.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7773679 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 215.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5520723 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 156.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7611724 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 250283, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4740 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 220197, "unit": "ns/op\t 24561 B/op\t 1000 allocs/op", "extra": "5083 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177517, "unit": "ns/op\t 639 B/op\t 0 allocs/op", "extra": "6698 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 490.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2460223 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 490.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2441690 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 417.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2870931 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 825.1, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1454252 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 526.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2275813 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1921, "unit": "ns/op\t 342 B/op\t 7 allocs/op", "extra": "631114 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2292, "unit": "ns/op\t 565 B/op\t 7 allocs/op", "extra": "814611 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1438, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "763336 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1552, "unit": "ns/op\t 255 B/op\t 5 allocs/op", "extra": "823834 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1754, "unit": "ns/op\t 346 B/op\t 5 allocs/op", "extra": "914016 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 121.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9906057 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 105.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11374574 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.97, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24422014 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.27, "unit": "ns/op\t 674.71 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61972430 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.82, "unit": "ns/op\t 303.63 MB/s\t 0 B/op\t 0 allocs/op", "extra": "28030561 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 732.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1640532 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 137.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8763621 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 503.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2444161 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 328, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3659274 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 379.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3162908 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1371, "unit": "ns/op\t 216 B/op\t 8 allocs/op", "extra": "744747 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 424.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2831288 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 774.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1509373 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23510, "unit": "ns/op\t 8535 B/op\t 207 allocs/op", "extra": "50528 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23781, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50492 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18204559 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 137, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8715231 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29095707 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 152, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7775558 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.66, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56621482 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.82, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53434970 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.31, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57429289 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 23.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49692016 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40054065 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.83, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37727598 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12448402 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10263898 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 63.36, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18381058 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 477.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2549302 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38297284 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995506473 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44407863 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "992839845 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 30.35, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37277172 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 81.13, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15385711 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 86.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13941643 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 145.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8275206 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 62.19, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18808321 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "153415737 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995538072 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298529587 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45914872 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 66.24, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17577346 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 106.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11841627 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 139.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8511884 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 84.39, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14451502 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 368.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3290602 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 102.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11605575 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 310, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3862326 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.333, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "358050674 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.446, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270130848 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.631, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331825819 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.026, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199190342 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.033, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149078125 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.242, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "143704363 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12379737 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10329824 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4202, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21400437 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "b932bf12fc1265d73988e3aa817d9a3621a792d5", "message": "Update app.go\n\nprepare release v2.49.1", "timestamp": "2023-09-02T18:27:18+02:00", "tree_id": "31d93dd6ed7ab1d567ac604dd9f4528679600a60", "url": "https://github.com/gofiber/fiber/commit/b932bf12fc1265d73988e3aa817d9a3621a792d5" }, "date": 1693672597185, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2075, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "491845 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 9237, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "140767 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7411, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "157038 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 180.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6864568 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 240.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5123094 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 345.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3325563 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 294.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3950862 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 570.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2002537 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.558, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "328382560 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 27.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "48543834 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1312, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "942393 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1012, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 967.9, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1296186 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3591, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "330338 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1616, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "708500 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1555, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "773755 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 158.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7539432 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 239.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4901684 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 224.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5609770 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 462.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2677977 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3710, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "315393 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 702.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1707490 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 163.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7560453 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 226.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5174989 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 350, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3505266 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 301.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "3654594 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 532.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2205619 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 53.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21580527 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 106.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10961942 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 56.55, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19327394 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 62.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19881926 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 799.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1460898 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 89.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14084602 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 446.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2711244 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5154, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "228374 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 22.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "60741074 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 219, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5156320 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 394.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3224300 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 513.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2285806 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 4120, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "290634 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 184.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6258258 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1759, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "645000 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 289.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3840452 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 971.8, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1337605 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1024, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1082, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1042, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1131411 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 249.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4822321 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.659, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "180193569 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 72.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17021647 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 55.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20443254 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 123.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9949345 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 142.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7536996 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 41.41, "unit": "ns/op\t 65 B/op\t 0 allocs/op", "extra": "28682112 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 192.1, "unit": "ns/op\t 82 B/op\t 1 allocs/op", "extra": "5947866 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 67.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18332937 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 12.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 484.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2494573 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4691, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "253363 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3935, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "281972 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5119, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "241489 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5166, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "241030 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1799, "unit": "ns/op\t 816 B/op\t 8 allocs/op", "extra": "633393 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1248, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "920349 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 92.29, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12407691 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "68170126 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 218.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5221279 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6720, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "183199 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7029, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "173758 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 196.8, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6381250 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 64.75, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18507688 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 75.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16621263 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.923, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "246008424 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.159, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "191356731 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.336, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "289287525 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 90.21, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13426824 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1181, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1139, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 217.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5323588 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 196.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6172945 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 772.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1580761 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 781.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1604379 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1100879, "unit": "ns/op\t 373115 B/op\t 5606 allocs/op", "extra": "1146 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 123.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9787705 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 34.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36928461 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.289, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "280708696 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.448, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "319164627 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 209.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6218162 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 277, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4524241 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 196.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6019762 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 307916, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3772 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 273883, "unit": "ns/op\t 24594 B/op\t 1000 allocs/op", "extra": "3690 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 221560, "unit": "ns/op\t 683 B/op\t 0 allocs/op", "extra": "5060 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 600.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2039881 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 648.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1952388 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 502, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2318792 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 975.1, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1216194 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 615.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1973602 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2901, "unit": "ns/op\t 382 B/op\t 7 allocs/op", "extra": "504318 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 3338, "unit": "ns/op\t 632 B/op\t 7 allocs/op", "extra": "589214 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1645, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "637488 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2317, "unit": "ns/op\t 271 B/op\t 5 allocs/op", "extra": "701851 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2273, "unit": "ns/op\t 274 B/op\t 5 allocs/op", "extra": "683938 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 158.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7451691 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 128.3, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9177184 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 61.22, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "17281813 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 25.01, "unit": "ns/op\t 519.75 MB/s\t 0 B/op\t 0 allocs/op", "extra": "44315246 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 53.11, "unit": "ns/op\t 244.77 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22678227 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 862.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1355212 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 165.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6558042 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 589.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2139860 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 411.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2934675 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 464.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2718996 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1729, "unit": "ns/op\t 207 B/op\t 7 allocs/op", "extra": "672397 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 514.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2150017 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 970.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1284216 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 31637, "unit": "ns/op\t 8535 B/op\t 207 allocs/op", "extra": "33367 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 32812, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "38727 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 64.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19987820 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 201.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "5783743 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 62.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19297172 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 167.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7526019 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 23.44, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50728494 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 25.45, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46201899 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.68, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46146286 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 27.03, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "40349857 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 35.61, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33207034 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 34.79, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31110136 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 123.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10581348 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 130.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9030213 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 82.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13815897 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 647.1, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1893016 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 41.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29367202 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.338, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "914188234 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 32.43, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36058754 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.386, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "904008075 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.07, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29490372 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 101.4, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12320144 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 110, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11556013 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 193.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5863990 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 83.26, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15133846 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.638, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "120837144 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.446, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "851754916 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 6.064, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198702152 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 32.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37297395 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 86.81, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13970187 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 121.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9986731 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 188.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6534164 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 125.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8248980 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 475.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2546857 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 131.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9312019 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 394.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2930628 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.859, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "422387192 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.603, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "211296976 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.698, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "323694511 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.369, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "181365158 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 10.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 10.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 101.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12118053 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 130.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8395088 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4235, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 61.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17646937 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "b932bf12fc1265d73988e3aa817d9a3621a792d5", "message": "Update app.go\n\nprepare release v2.49.1", "timestamp": "2023-09-02T18:27:18+02:00", "tree_id": "31d93dd6ed7ab1d567ac604dd9f4528679600a60", "url": "https://github.com/gofiber/fiber/commit/b932bf12fc1265d73988e3aa817d9a3621a792d5" }, "date": 1693674949990, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2054, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "798538 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7498, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "149934 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6575, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "184270 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 167.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7148845 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 230.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5199627 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 340.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3548274 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 293.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4095236 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 547.2, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "1984238 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.218, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372238388 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 21.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "55736235 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1360, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "890016 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1108, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 955.2, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1253631 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3636, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "330039 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1719, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "666926 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1560, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "704832 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 150.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7762604 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 244.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4910083 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 218.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5491573 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 464.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2592536 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3626, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "334356 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 734.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1631353 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 160.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7428573 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 204.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5789755 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 292.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4136258 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 280.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4359984 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 483.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2481981 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 54.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22011888 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 101.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11807668 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 54.73, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21320536 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 66.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18077581 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 813.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1466835 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 90.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13685720 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 400.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2965819 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5401, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "221860 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "64876770 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 214.8, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5607350 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 383.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3138400 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 515.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2343350 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3938, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "286485 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 182.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6267528 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1705, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "617217 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 310.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3879718 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1000, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1085, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1131, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "987375 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1077, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 249.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4833842 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.484, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "182762179 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 73.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16304064 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 59.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20173579 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 133.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8942163 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 139.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8376205 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 67.57, "unit": "ns/op\t 77 B/op\t 0 allocs/op", "extra": "19289530 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 216.8, "unit": "ns/op\t 88 B/op\t 1 allocs/op", "extra": "5450116 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 66.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18027255 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 462.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2510689 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4870, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "244614 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4043, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "294280 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5294, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "227124 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5331, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "219852 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1736, "unit": "ns/op\t 806 B/op\t 8 allocs/op", "extra": "654274 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1216, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "969356 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 80.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14836975 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 17.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "69470056 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 206.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5809899 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6596, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "179560 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6529, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "180949 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 188.2, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6387549 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 62.09, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18660452 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 71.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16897404 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "268195864 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.039, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "204347179 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.702, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "211397246 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 82.26, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14405914 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1205, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1207, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 216.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5622434 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 196.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5792156 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 715.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1709989 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 712.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1691262 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 988962, "unit": "ns/op\t 373104 B/op\t 5606 allocs/op", "extra": "1208 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 117.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10269370 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 31.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38213318 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.048, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "296110383 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.272, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "370091358 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 199.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5988166 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 346.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3488804 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 197.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5971220 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 323496, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3646 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 253295, "unit": "ns/op\t 24566 B/op\t 1000 allocs/op", "extra": "4833 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 197657, "unit": "ns/op\t 696 B/op\t 0 allocs/op", "extra": "5869 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 660, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1864594 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 650.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1884102 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 520, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2266084 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1028, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 631.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1898907 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2549, "unit": "ns/op\t 329 B/op\t 7 allocs/op", "extra": "698408 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2627, "unit": "ns/op\t 585 B/op\t 7 allocs/op", "extra": "659246 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1657, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "641140 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2143, "unit": "ns/op\t 289 B/op\t 5 allocs/op", "extra": "614830 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2029, "unit": "ns/op\t 267 B/op\t 5 allocs/op", "extra": "726466 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 154.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7767170 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 132.3, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8884515 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 59.07, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "20477366 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 23.17, "unit": "ns/op\t 561.14 MB/s\t 0 B/op\t 0 allocs/op", "extra": "50943082 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 52.44, "unit": "ns/op\t 247.91 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22756953 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 893.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1349361 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 172.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6936243 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 606.4, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1975141 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 410.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2914932 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 468.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2578358 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1674, "unit": "ns/op\t 219 B/op\t 8 allocs/op", "extra": "609818 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 520.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2250186 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 941.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1275064 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 29993, "unit": "ns/op\t 8535 B/op\t 207 allocs/op", "extra": "39600 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 29856, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "39464 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 73.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16172154 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 168, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7316534 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 57.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20817057 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 178, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6729183 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 23.38, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48067125 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 24.31, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45722538 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.37, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47458957 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 26.13, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "42961842 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 33.26, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33479961 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 35.18, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32052543 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 119.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10002988 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 132.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9043213 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 80.49, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14531924 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 637, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1915879 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 37.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31804807 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.312, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "917624320 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 34.33, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32107692 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.407, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "852255367 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 40.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "27873360 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 103, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11565042 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 113.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10591188 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 193.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6192766 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 80.92, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13990252 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.632, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124559233 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.407, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "851637772 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.834, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "248743030 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 30.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39766051 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 76.33, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15513616 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 105.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11337322 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 176.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6805596 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 109.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10933071 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 422.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2593816 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 117, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10233409 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 368.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3250934 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.434, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270812908 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.241, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228676012 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.631, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331058733 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.238, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192546108 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.251, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128967912 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 10.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 99.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12116684 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 131.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9066526 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4512, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 66.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17911230 times\n2 procs" } ] }, { "commit": { "author": { "email": "55359898+11-aryan@users.noreply.github.com", "name": ")`(-@_.+_^*__*^", "username": "11-aryan" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "328411a06b674371bc2a732250f5ac5409446979", "message": "Replaced double quotes with backticks in all route parameter strings (#2591)\n\n* 11-aryan\r\n\r\n* Removed the backticks where no special characters is used\r\n\r\n* added backticks to path parameters where special characters are escaped\r\n\r\n* Replaced double quotes with backticks in all route parameter strings #2591\r\n\r\n* Replaced double quotes with backticks in all route parameter strings #2591\r\n\r\n---------\r\n\r\nCo-authored-by: René Werner ", "timestamp": "2023-09-04T05:40:44+02:00", "tree_id": "95851abbe94db0e31b046e1f9608a881d714a1e6", "url": "https://github.com/gofiber/fiber/commit/328411a06b674371bc2a732250f5ac5409446979" }, "date": 1693799253602, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1569, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "739002 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3691, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "325777 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3743, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "307418 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 127.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9399654 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 182.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6501639 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 268, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4412538 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 235.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5079582 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 430.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2557818 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.813, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426258026 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 18.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "64316119 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1066, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 866.5, "unit": "ns/op\t 128 B/op\t 4 allocs/op", "extra": "1363478 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 808.7, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1493448 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2842, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "420708 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1461, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "764026 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1313, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "784628 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 117, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10347841 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 183.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6539982 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 156.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7651088 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 371.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3211594 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2612, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "454968 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 592.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2029375 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 135.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8853006 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 159.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7420705 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 239.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4989136 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 216.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5505031 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 426.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2783216 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27401914 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 85.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14042796 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27629730 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 51.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23264446 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 691.1, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1738905 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16770153 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 329.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3697822 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4509, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "257528 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77248142 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 152.4, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7830430 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 293.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4077721 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 404.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2963396 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2945, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "393195 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 138.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8275825 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1414, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "805100 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 243.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4908073 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 820.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1474202 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 934.6, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1284547 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 976.3, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1226995 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 916.8, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1297184 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 181.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6571573 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.322, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224744167 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20542130 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 42.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27876394 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 103.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11753792 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 112.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10622817 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 43.77, "unit": "ns/op\t 73 B/op\t 0 allocs/op", "extra": "25529119 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 152.8, "unit": "ns/op\t 82 B/op\t 1 allocs/op", "extra": "7405207 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21569877 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127519676 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 367.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3297654 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3990, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "289575 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3438, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "338192 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4365, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "270168 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4361, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "262809 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1294, "unit": "ns/op\t 808 B/op\t 8 allocs/op", "extra": "867235 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 878.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1362103 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 70.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16647708 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "86349205 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 183.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6659778 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3818, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "307177 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3884, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "302935 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 153.1, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7836572 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 48.83, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23893028 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20586956 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298341403 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.028, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "189508702 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.794, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "204251588 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 62.53, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18898584 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 992.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1207539 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 992.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1216370 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 165.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7203692 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 155.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7775143 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 656.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1829316 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 655.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1827766 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 785842, "unit": "ns/op\t 373108 B/op\t 5606 allocs/op", "extra": "1496 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 96.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12167781 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44518807 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.622, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331464928 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.701, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "442301827 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 154.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7751726 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 222.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5404142 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 156.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7621486 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 250074, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4666 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 224875, "unit": "ns/op\t 24585 B/op\t 1000 allocs/op", "extra": "5278 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177485, "unit": "ns/op\t 692 B/op\t 0 allocs/op", "extra": "6728 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 496.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2424822 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 501.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2393820 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 421.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2858589 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 830, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1435219 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 530.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2232115 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1834, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "836863 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2079, "unit": "ns/op\t 565 B/op\t 7 allocs/op", "extra": "815290 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1441, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "782209 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1740, "unit": "ns/op\t 358 B/op\t 5 allocs/op", "extra": "863733 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1879, "unit": "ns/op\t 344 B/op\t 5 allocs/op", "extra": "920388 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 120.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9820741 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 107.7, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11351734 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49.06, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24171643 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.29, "unit": "ns/op\t 673.79 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61068577 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.84, "unit": "ns/op\t 303.45 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27979286 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 738.8, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1628610 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 137, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8733332 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 491.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2437770 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 330.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3635865 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 377.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3170808 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1384, "unit": "ns/op\t 216 B/op\t 8 allocs/op", "extra": "737887 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 425.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2814648 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 795.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1505180 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23934, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "46737 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23932, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49761 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18181533 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 138.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8702964 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29032496 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 152.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7775419 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.67, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55802172 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 21.47, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53413724 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.26, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57259447 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.85, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48782805 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.75, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39469120 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.93, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37977674 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12378519 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10269093 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 63.54, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18314452 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 472.1, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2536891 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38768685 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995112554 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.26, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44191200 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995447016 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 30.38, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36770104 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 77.37, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15140412 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 84.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14186800 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 185.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8429594 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.05, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17390521 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "152515947 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "994882514 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298599525 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45319401 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 66.52, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17629815 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11799802 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 139.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8486364 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 83.92, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14318072 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 364.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3282940 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 104.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11548110 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 312.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3777920 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.291, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "364275572 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.442, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270223956 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.625, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330124855 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.009, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200096865 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.036, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149141310 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.353, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "143270007 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12381024 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10312647 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4201, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 54.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21889405 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "d570d95e844252d390a7209c5e7a67dddb85e016", "message": "build(deps): bump golang.org/x/sys from 0.11.0 to 0.12.0 (#2617)\n\nBumps [golang.org/x/sys](https://github.com/golang/sys) from 0.11.0 to 0.12.0.\r\n- [Commits](https://github.com/golang/sys/compare/v0.11.0...v0.12.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: golang.org/x/sys\r\n dependency-type: direct:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", "timestamp": "2023-09-04T15:40:10+03:00", "tree_id": "cb1a4564f223e9baf1a78e0c368d51ffad9c39f2", "url": "https://github.com/gofiber/fiber/commit/d570d95e844252d390a7209c5e7a67dddb85e016" }, "date": 1693831820514, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1759, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "985454 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6851, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "162655 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6251, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "181756 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 160.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7486502 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 220, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5495792 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 333.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3572179 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 281, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4259035 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 518.4, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2201338 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.112, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "395255342 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 20.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "55797753 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1355, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "921496 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1080, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 928.2, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1335955 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3474, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "353722 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1594, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "689810 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1446, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "794820 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 141.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8140053 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 232, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5342626 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 204.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5889903 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 446.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2654468 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3253, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "308978 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 718.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1675987 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 155.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7688575 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 198.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5890192 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 285.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4247839 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 274.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4329172 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 479.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2517740 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 52.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21753160 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 98.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11832590 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 52.58, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22752453 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 61.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19263662 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 848, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1446820 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 86.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13882098 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 408.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2985804 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5477, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "219784 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "64668189 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 208.2, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5882767 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 382.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3184328 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 514, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2239104 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3688, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "309042 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 180.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6359227 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1644, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "668871 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 313.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3969865 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 954.7, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1203334 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1101, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1126, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "941892 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1034, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 248.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4824460 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.244, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "186770536 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 72.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16741671 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 55.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21497764 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 131.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9117662 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 136.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8550691 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 60.87, "unit": "ns/op\t 73 B/op\t 0 allocs/op", "extra": "16457556 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 217.9, "unit": "ns/op\t 86 B/op\t 1 allocs/op", "extra": "5569339 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 64.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17613490 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 10.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "105488498 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 441.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2799380 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4695, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "250466 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3839, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "318746 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5082, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "226478 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5072, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "231408 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1608, "unit": "ns/op\t 801 B/op\t 8 allocs/op", "extra": "668935 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1204, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "956608 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 79.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14815786 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 17.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "69677322 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 202.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5912322 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6331, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "190236 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6119, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "185233 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 178.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6701966 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 59.74, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19987650 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 69.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16945194 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.317, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "276658413 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.844, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "206211115 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "213958690 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 79.39, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14784450 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1182, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1190, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 212.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5556819 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 193.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6158736 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 688.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1720561 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 702.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1733439 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 951049, "unit": "ns/op\t 373120 B/op\t 5606 allocs/op", "extra": "1254 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 114.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10389128 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 31.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39494144 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.987, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "299986670 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.177, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "371082727 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 196, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6123876 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 341.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3277854 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 199.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6094023 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 320728, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3667 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 255713, "unit": "ns/op\t 24604 B/op\t 1000 allocs/op", "extra": "4230 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 194352, "unit": "ns/op\t 665 B/op\t 0 allocs/op", "extra": "6141 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 646, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1854693 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 656.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1876702 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 516, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2359387 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1038, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 628.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1912140 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2411, "unit": "ns/op\t 330 B/op\t 7 allocs/op", "extra": "694864 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2540, "unit": "ns/op\t 582 B/op\t 7 allocs/op", "extra": "681928 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1608, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "718990 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1955, "unit": "ns/op\t 270 B/op\t 5 allocs/op", "extra": "707703 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1932, "unit": "ns/op\t 258 B/op\t 5 allocs/op", "extra": "791346 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 150.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7791355 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 132.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "9598670 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 56.09, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "21576739 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 22.38, "unit": "ns/op\t 580.89 MB/s\t 0 B/op\t 0 allocs/op", "extra": "54271684 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 51.67, "unit": "ns/op\t 251.62 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22452009 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 846.4, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1400563 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 165.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7031121 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 628.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1945632 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 404.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2939152 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 468.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2619588 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1689, "unit": "ns/op\t 219 B/op\t 8 allocs/op", "extra": "627078 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 511.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2349499 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 955.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1280977 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 29192, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "40992 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 30240, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "40195 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 72.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16657902 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 155.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7628071 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 56.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20878982 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 171.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6917794 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 23.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47631364 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 25.87, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43871528 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 24.17, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47049219 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 27.51, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "41299227 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 32.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34470793 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 35.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32793162 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 119.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9915375 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 128.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9200192 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 78.47, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14709768 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 626.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1924729 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 37.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31889278 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.293, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "919040588 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 33.21, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32579880 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.382, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "853027006 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 38.84, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "27835680 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 97.18, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11927161 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 112.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10571551 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 175.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6692185 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 78.68, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14596262 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.357, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126411933 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.373, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "886333490 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.636, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254879563 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 29.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38180512 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 74.41, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16310979 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 102.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11982064 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 180.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6959230 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 101.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11459750 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 404.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2924823 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 114.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10352224 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 362.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3290550 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.318, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "276711444 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.169, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "235922118 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.572, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "335506234 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.116, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "193319614 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.083, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "134538414 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.797, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "120106993 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12667978 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 130.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8880163 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4371, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 65.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18357351 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "committer": { "email": "rene@gofiber.io", "name": "René Werner", "username": "ReneWerner87" }, "distinct": true, "id": "b8c9ede6efa231116c4bd8bb9d5e03eac1cb76dc", "message": "IsFromLocal corrected", "timestamp": "2023-09-06T13:20:33+02:00", "tree_id": "91a05f79eb3c324fe4a6b0980558293057f43860", "url": "https://github.com/gofiber/fiber/commit/b8c9ede6efa231116c4bd8bb9d5e03eac1cb76dc" }, "date": 1693999650954, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1800, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "603212 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6807, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "149811 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5277, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "222859 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 141.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8442615 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 194.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6156397 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 284.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4212866 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 244.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4904107 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 443.9, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2491906 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.681, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447824863 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 17.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "66211956 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1129, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "973378 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 919.9, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1288732 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 789.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1527990 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2874, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "394380 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1386, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "804602 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1246, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "853704 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 125.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9559908 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 198.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6037280 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 180.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6637050 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 382.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3098751 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2909, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "390386 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 603.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1986622 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 134.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8947299 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 167.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7123857 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 240.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5010732 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 226.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5329480 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 406.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2936274 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 45.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26330160 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 84.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14128192 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 43.68, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26630824 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 52.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22878361 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 682.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1766324 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 72.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16315668 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 342, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3433846 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4415, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "265660 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77591080 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 173.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6958353 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 324.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3697947 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 427, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2784784 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3240, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "364609 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 152, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7550140 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1399, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "791922 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 255.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4691886 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 801, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1471651 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 896.1, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1341968 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 931.8, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1277330 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 879.2, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1373083 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 198.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6063254 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.259, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228007395 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 61.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19475492 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 46.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25992763 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 111.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10794568 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 116, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10328733 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 56.65, "unit": "ns/op\t 75 B/op\t 0 allocs/op", "extra": "24836168 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 185.2, "unit": "ns/op\t 89 B/op\t 1 allocs/op", "extra": "6690751 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21629690 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.768, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125405900 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 372, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3222552 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3979, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "296001 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3327, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "346782 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4264, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "270200 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4238, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "262183 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1379, "unit": "ns/op\t 795 B/op\t 8 allocs/op", "extra": "752274 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1006, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 66.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17933482 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 13.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "89621614 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 171.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7009738 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5232, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "223347 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5355, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "220310 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 148.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7932327 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 50.29, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23403294 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20450322 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.719, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322683168 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238116168 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.719, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253807752 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 66.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17506428 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1002, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 986.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1213644 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 177.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6787861 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 164.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7322844 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 632.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1909370 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 631.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1888881 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 804359, "unit": "ns/op\t 373104 B/op\t 5606 allocs/op", "extra": "1474 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 96.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12410433 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45458898 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.361, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "357012608 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.692, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446080326 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 165.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7170468 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 290.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4099597 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 166.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7294328 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 268410, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4408 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 208566, "unit": "ns/op\t 24535 B/op\t 1000 allocs/op", "extra": "5778 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 164734, "unit": "ns/op\t 712 B/op\t 0 allocs/op", "extra": "7070 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 527.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2274189 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 524.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2246248 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 432.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2763685 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 858, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1316971 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 527.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2280997 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2075, "unit": "ns/op\t 320 B/op\t 7 allocs/op", "extra": "753976 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2264, "unit": "ns/op\t 598 B/op\t 7 allocs/op", "extra": "743346 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1356, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "801142 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1651, "unit": "ns/op\t 258 B/op\t 5 allocs/op", "extra": "795718 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1819, "unit": "ns/op\t 351 B/op\t 5 allocs/op", "extra": "892333 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 128.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9297129 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 111.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10715252 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.65, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24168987 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 20.34, "unit": "ns/op\t 639.18 MB/s\t 0 B/op\t 0 allocs/op", "extra": "58882050 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.68, "unit": "ns/op\t 297.63 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26964369 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 778.7, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1590621 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 143.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8384665 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 500.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2346102 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 339.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3534892 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 387.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3104637 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1371, "unit": "ns/op\t 207 B/op\t 7 allocs/op", "extra": "871272 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 431.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2785972 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 795.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1468143 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24884, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48045 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24646, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48320 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19534052 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 131.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9062922 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 47.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24988911 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 148.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8143746 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.08, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57901284 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.94, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55409502 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.65, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56234184 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.46, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49221986 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 27.69, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40076703 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.32, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39693324 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12012504 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10834326 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.76, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17409642 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 522, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2302231 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38406168 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.088, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 27.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38734567 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 33.07, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33727754 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 82, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14331708 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 95.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12568710 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 150.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7968976 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.33, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17811178 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.019, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149072714 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.019, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298172960 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47354359 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 62.75, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18340994 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 87.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13689840 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8226434 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 86.96, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13506889 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 340.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3526452 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 97.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12234313 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 305.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3943147 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.706, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324592420 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275093707 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "398284914 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.197, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231277065 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.702, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155774554 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.341, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "140289894 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14555190 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 115.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10931949 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3764, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21517504 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "fe65ff8dff718db4dfb6921108371c9e248ee208", "message": "build(deps): bump actions/checkout from 3 to 4 (#2618)\n\nBumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.\r\n- [Release notes](https://github.com/actions/checkout/releases)\r\n- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)\r\n- [Commits](https://github.com/actions/checkout/compare/v3...v4)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: actions/checkout\r\n dependency-type: direct:production\r\n update-type: version-update:semver-major\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", "timestamp": "2023-09-06T13:24:24+02:00", "tree_id": "7bc94915724d92a787520d2ef31b330c11622167", "url": "https://github.com/gofiber/fiber/commit/fe65ff8dff718db4dfb6921108371c9e248ee208" }, "date": 1693999965700, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1582, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3688, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "295688 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3920, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "306472 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 126.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9375892 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 181.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6612973 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 265.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4443686 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 235.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5071215 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 429.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2742757 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.814, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "425731734 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 18.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "64452981 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1059, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 862, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1393704 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 798.5, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1500236 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2828, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "406178 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1432, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "787339 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1286, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "846835 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 114.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10380052 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 185.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6481808 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 157.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7531465 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 369.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3196344 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2612, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "445436 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 597.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2017126 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 135.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8843936 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 157.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7585664 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 239.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5040829 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 216, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5534301 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 428.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2798076 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 43.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27387798 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 86.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14047377 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 41.77, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27550868 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 51.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23114496 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 678.2, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1763929 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 71.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16685216 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 327.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3606429 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4515, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "258093 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77374946 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 150, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "8014110 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 293, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4086438 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 403.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2985579 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2934, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "400674 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 138.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8321150 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1456, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "803575 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 240.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4967498 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 809.7, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1482092 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 926.6, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1300495 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 972.8, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1220605 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 906.1, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1336273 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 181.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6596070 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.323, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225081308 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 59.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20387877 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 42.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27963516 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 102.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11550817 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 115.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10286836 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 42.31, "unit": "ns/op\t 70 B/op\t 0 allocs/op", "extra": "26607962 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 158.1, "unit": "ns/op\t 96 B/op\t 1 allocs/op", "extra": "7690105 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21482808 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.388, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127351904 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 371.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3221942 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3953, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "287660 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3419, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "340833 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4285, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269989 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4261, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "270693 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1279, "unit": "ns/op\t 810 B/op\t 8 allocs/op", "extra": "878785 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 920.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1299600 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 70.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17292585 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "81878398 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 181.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6607506 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3792, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "310316 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3870, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "302643 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 151, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7933330 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 48.19, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24344356 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20772808 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298280986 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.089, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "167083015 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.998, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "203854824 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 61.86, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "19104469 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 973, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1228831 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 971.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1230837 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 173.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6898201 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 161.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7457356 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 646.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1850406 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 645.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1850932 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 770349, "unit": "ns/op\t 373113 B/op\t 5606 allocs/op", "extra": "1526 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12748968 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44831540 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.617, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331865311 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.698, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "443681769 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 160.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7456960 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 216.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5427195 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 161.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7473476 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 254351, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4558 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 221284, "unit": "ns/op\t 24561 B/op\t 1000 allocs/op", "extra": "5084 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 178702, "unit": "ns/op\t 643 B/op\t 0 allocs/op", "extra": "6673 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 494.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2440455 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 494.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2422792 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 419.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2858594 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 829.9, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1450110 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 528.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2270026 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1825, "unit": "ns/op\t 309 B/op\t 7 allocs/op", "extra": "850653 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2146, "unit": "ns/op\t 572 B/op\t 7 allocs/op", "extra": "798823 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1443, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "767577 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1828, "unit": "ns/op\t 343 B/op\t 5 allocs/op", "extra": "925868 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1925, "unit": "ns/op\t 348 B/op\t 5 allocs/op", "extra": "904888 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 118.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10097320 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 105.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11359514 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.95, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24244082 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.65, "unit": "ns/op\t 661.64 MB/s\t 0 B/op\t 0 allocs/op", "extra": "60912762 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 58.08, "unit": "ns/op\t 223.84 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27984087 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 740.5, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1614170 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 138.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8677555 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 492.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2443586 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 330.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3622404 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 386.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3110071 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1392, "unit": "ns/op\t 217 B/op\t 8 allocs/op", "extra": "731618 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 431.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2766831 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 771.3, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1470888 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23951, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49696 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23850, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50414 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18178111 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 138, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8633061 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 41.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29040309 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 152.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7789806 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55714306 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 21.28, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52931862 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.89, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57443233 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48361185 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.67, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39751046 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.93, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37683254 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12424364 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10273794 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 63.91, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18428505 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 472.3, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2537660 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 30.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39059949 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995548900 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.14, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43835220 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995219883 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 30.31, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36951571 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 80.28, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15255267 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 87.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13623957 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 144.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8288097 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 62.45, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18679927 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.861, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "152838868 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.206, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995308472 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.018, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298465520 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44516517 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 66.07, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17723853 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 104.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11681676 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 139.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8495259 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 85.55, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14043584 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 362.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3284510 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 105.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11667730 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 310.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3809785 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.304, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "368567510 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.435, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270248818 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.626, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "330085881 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.026, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199236342 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.038, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149348787 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.345, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "143619495 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12379446 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9989973 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4258, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 64.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21858892 times\n2 procs" } ] }, { "commit": { "author": { "email": "46246540+AKARSHITJOSHI@users.noreply.github.com", "name": "Akarshit Joshi", "username": "AKARSHITJOSHI" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "6d34e23815eb6cf8cb4d0a1748a1c033e592df32", "message": "[Bug]: Logger Middleware: Enabling color changes padding for some fields #2604 (#2616)\n\n:bug: Removes extra padding for response code, method", "timestamp": "2023-09-11T08:45:00+02:00", "tree_id": "d8f844f780786f017397b83d0305782c33e1555e", "url": "https://github.com/gofiber/fiber/commit/6d34e23815eb6cf8cb4d0a1748a1c033e592df32" }, "date": 1694415121354, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1728, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "796528 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5957, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "180955 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5281, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "223764 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 141, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8476668 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 195, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6180458 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 283.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4221439 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 245.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4884765 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 455.3, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2563202 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.682, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447091021 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 18.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "67178476 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1118, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 915, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1313541 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 812.7, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1523490 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2923, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "404083 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1371, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "807318 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1246, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "873202 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 125.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9566959 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 199.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5920525 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 180.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6590541 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 385.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3079992 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2847, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "391311 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 603.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1988132 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 134.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8940266 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 168.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7062632 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 245.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5008298 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 226.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5250978 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 406.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2961253 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 45.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26271228 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 84.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14211094 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 43.95, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26279991 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 54.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22055382 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 682.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1770874 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 72.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16431358 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 332.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3499686 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4349, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "259857 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77277055 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 173.4, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7039210 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 313.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3798279 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 424.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2815088 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3282, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "362092 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 152, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7447088 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1389, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "793684 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 256, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4689584 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 797.8, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1501436 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 913.9, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1336196 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 940.5, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1270984 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 869.9, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1367952 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 197.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6042270 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.259, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228209186 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 61.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19549460 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 48.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24832974 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 112.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10625342 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 117.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10314846 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 54.2, "unit": "ns/op\t 75 B/op\t 0 allocs/op", "extra": "20036282 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 185.6, "unit": "ns/op\t 90 B/op\t 1 allocs/op", "extra": "6640522 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21277946 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.716, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124556484 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 370.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3213204 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3970, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "295022 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3288, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "353235 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4348, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271231 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4241, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "273543 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1401, "unit": "ns/op\t 798 B/op\t 8 allocs/op", "extra": "823556 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1030, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 66.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17901039 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 13.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "87464672 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 171.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7000951 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5252, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "218312 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5346, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "218764 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 146.8, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8009211 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 50.44, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23723964 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20485702 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.719, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322469322 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.044, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238326741 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.715, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253883278 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 67.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17261480 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 989.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1200166 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 989, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1207275 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 182.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6749654 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 165.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7244646 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 628.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1927341 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 626.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1888260 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 785308, "unit": "ns/op\t 373111 B/op\t 5606 allocs/op", "extra": "1498 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 97.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11754337 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46443321 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.361, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "357687394 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.697, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "445779553 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 170, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7118302 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 288, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4154762 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 168.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7107300 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 270416, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4394 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 211525, "unit": "ns/op\t 24594 B/op\t 1000 allocs/op", "extra": "5786 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 164061, "unit": "ns/op\t 676 B/op\t 0 allocs/op", "extra": "7260 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 532.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2308765 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 530.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2279673 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 429.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2767989 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 851.6, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1416736 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 525.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2268894 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2265, "unit": "ns/op\t 417 B/op\t 7 allocs/op", "extra": "858998 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2491, "unit": "ns/op\t 562 B/op\t 7 allocs/op", "extra": "821313 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1371, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "791464 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1804, "unit": "ns/op\t 359 B/op\t 5 allocs/op", "extra": "861590 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1906, "unit": "ns/op\t 351 B/op\t 5 allocs/op", "extra": "891514 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 128.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9245754 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 109.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10860717 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.65, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23882703 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.48, "unit": "ns/op\t 667.48 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62371426 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.63, "unit": "ns/op\t 297.99 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26831101 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 736.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1411254 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 143.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8398852 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 505.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2389176 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 339.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3515599 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 386.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3106924 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1375, "unit": "ns/op\t 207 B/op\t 7 allocs/op", "extra": "860335 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 432.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2775954 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 781.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1489465 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24497, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "47530 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24548, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "47942 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19553344 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 133.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8985152 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 47.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24983838 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 149, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8100396 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.85, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56926544 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.74, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "55994437 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58535170 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.98, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52079446 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 27.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "41339714 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.28, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39071794 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12020355 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 110, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10815471 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 66.37, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17268556 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 518.8, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2316496 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38125005 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.088, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 28.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39412755 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.56, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34110444 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 82.73, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14345095 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 93.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12759091 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 152.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7832026 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.53, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17230300 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.047, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "149061175 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.171, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298459100 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46203708 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 63.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16862017 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 87.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13601320 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 142.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8340813 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 85.77, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13865778 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 342.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3504625 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 96.65, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12471094 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 300.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3973912 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.691, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325138351 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274678683 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.014, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "397230210 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.202, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231139873 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.712, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "155608354 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.709, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "141724690 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 82.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14643169 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10862407 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3732, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20354176 times\n2 procs" } ] }, { "commit": { "author": { "email": "rene@gofiber.io", "name": "RW", "username": "ReneWerner87" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "2af907d98d949f710553ebed3d3f9da37bd94966", "message": "Update app.go\n\nprepare release v2.49.2", "timestamp": "2023-09-14T08:00:10+02:00", "tree_id": "f1805ea56a5a7c6d54754e45feb2f68b449c6c7c", "url": "https://github.com/gofiber/fiber/commit/2af907d98d949f710553ebed3d3f9da37bd94966" }, "date": 1694671624323, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1711, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "837925 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5751, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "179397 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5487, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "217078 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 141.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8500945 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 193.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6160570 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 285.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4227846 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 246.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4881547 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 440.2, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2682633 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.681, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "448082683 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 17.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "66793491 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1116, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 910.2, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1313366 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 781.7, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1533121 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2840, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "404655 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1376, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "802466 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1252, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "856580 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 125.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9556189 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 198.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6049872 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 180.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6629124 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 383.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3093442 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2837, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "402608 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 604.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1978291 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 134.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8901074 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 167.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6962241 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 240.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4964281 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 226.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5251956 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 403, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2977478 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 46.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25949268 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 84.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14125479 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 44.09, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "25916593 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 52.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22639902 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 674.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1778586 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 72.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16347009 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 335.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3544824 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4388, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "267524 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77408896 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 168.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7047674 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 312.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3839304 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 419.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2862068 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3207, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "356554 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 151.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7549197 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1386, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "797628 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 255.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4672771 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 799, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1502060 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 897.5, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1341609 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 929.4, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1283774 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 880.6, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1381626 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 198.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6007018 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.261, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228241965 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 61.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19213132 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 46.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25903170 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 112.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10753459 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10276255 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 57.21, "unit": "ns/op\t 66 B/op\t 0 allocs/op", "extra": "22641453 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 187.9, "unit": "ns/op\t 91 B/op\t 1 allocs/op", "extra": "6553312 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21587824 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.766, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123955345 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 374.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3080299 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3920, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "293565 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3293, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "347449 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4255, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271737 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4214, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "275365 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1339, "unit": "ns/op\t 798 B/op\t 8 allocs/op", "extra": "810230 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1007, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 66.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17801346 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 13.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "79927611 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 171.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7016594 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5242, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "220587 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5296, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "218898 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 147.2, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8121850 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.56, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23549310 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20458021 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.741, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322103878 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.033, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238429088 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.717, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253479386 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 66.36, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17779666 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 997.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1207746 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 981.4, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1220930 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 176.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6794362 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 166.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7213095 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 637.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1938559 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 620.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1903933 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 789335, "unit": "ns/op\t 373114 B/op\t 5606 allocs/op", "extra": "1488 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 98.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12257374 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45281931 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.355, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "357604600 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.682, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "443568104 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 164.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7255234 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 290.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4138944 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 163.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7358487 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 268147, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4384 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 209867, "unit": "ns/op\t 24535 B/op\t 1000 allocs/op", "extra": "5772 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163683, "unit": "ns/op\t 675 B/op\t 0 allocs/op", "extra": "7242 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 525.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2296452 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 535.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2276434 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 430.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2775486 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 845, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1412875 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 525.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2279550 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2013, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "831670 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2286, "unit": "ns/op\t 591 B/op\t 7 allocs/op", "extra": "758083 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1383, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "842124 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1942, "unit": "ns/op\t 352 B/op\t 5 allocs/op", "extra": "887346 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1965, "unit": "ns/op\t 358 B/op\t 5 allocs/op", "extra": "865983 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 128.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9301690 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 109.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10996124 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.49, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24278811 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.18, "unit": "ns/op\t 677.78 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62692531 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.66, "unit": "ns/op\t 297.73 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26756894 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 728.9, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1645076 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 144.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8314050 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 500.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2404932 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 340, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3526894 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 390.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3077752 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1374, "unit": "ns/op\t 207 B/op\t 7 allocs/op", "extra": "863480 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 431.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2763193 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 763.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1569145 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24575, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48157 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24829, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48688 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19556916 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 131, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9110431 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 47.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25064490 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 145.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8088888 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.58, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56618541 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 20.81, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52762814 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.79, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58934580 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 21.45, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56411786 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 27.43, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "40679929 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.87, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39191619 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12012052 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10924387 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 65.95, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17594054 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 518.2, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2310487 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37352106 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.088, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 27.96, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39577869 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.68, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33644978 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 82.3, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14414617 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 95.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12647170 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 154.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7759621 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 65.28, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17372482 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.056, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "150870193 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298475036 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 25.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47197984 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 62.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18626714 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 87.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13607864 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 141.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8367238 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 86.36, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13747706 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 338, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3498680 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 95.81, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12408640 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 297.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4023529 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.694, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "325296631 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.362, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275042550 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.014, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "396337135 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.188, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231059306 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "154894188 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8.285, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "145808690 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14652264 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 113.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10299992 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3729, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21340278 times\n2 procs" } ] }, { "commit": { "author": { "email": "i@cuipeiyu.com", "name": "CuiPeiyu", "username": "cuipeiyu" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "d0d5e9ee995a9ae84dc44d931bc8e4d4f2849484", "message": "[middleware/filesystem]: Set response code (#2632)\n\nSpecified response code", "timestamp": "2023-09-14T14:46:34+02:00", "tree_id": "5f703e503d1cd43d26a87fc2c6f84825fe8ede3d", "url": "https://github.com/gofiber/fiber/commit/d0d5e9ee995a9ae84dc44d931bc8e4d4f2849484" }, "date": 1694696047928, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1953, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "568584 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6740, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "169162 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6902, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "179302 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 188.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6899732 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 237.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5042550 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 345.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3459614 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 300.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3782722 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 571.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "1928599 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.615, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "458311706 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 23.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "47804203 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1429, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "859081 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1129, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 1066, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3808, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "334192 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1810, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "619252 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1607, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "724614 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 150.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7950052 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 245.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4855633 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 212.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5494856 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 479.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2358190 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3587, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "329329 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 713, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1682408 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 162.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7459525 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 222.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5602982 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 308.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3844728 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 283.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4119572 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 510.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2289375 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 51.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23406537 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 100.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11852874 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 53.21, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22594789 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 67.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17418249 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 827.1, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1438975 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 81.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14782969 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 421.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2649121 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5462, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "213475 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 20.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "59390630 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 216.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5297311 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 400, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3097263 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 508.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2329395 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3965, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "297046 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 184.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6144177 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1794, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "666612 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 327.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3485196 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1037, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1139774 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1097, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "996292 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1147, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "899649 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1134, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "988980 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 246.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4983532 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.319, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "189962596 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 70.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17038180 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 61.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18432080 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 133.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8986365 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 137.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8739025 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 65.85, "unit": "ns/op\t 74 B/op\t 0 allocs/op", "extra": "20065728 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 216.9, "unit": "ns/op\t 89 B/op\t 1 allocs/op", "extra": "5385975 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 68.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16276738 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 12.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "93714907 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 459.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2486191 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 5196, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "233650 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4337, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "284784 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5544, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "208236 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5648, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "190822 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1686, "unit": "ns/op\t 798 B/op\t 8 allocs/op", "extra": "681747 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1203, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "970110 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 80.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14366274 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "73150694 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 204.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5644645 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 7219, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "155048 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6851, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "174639 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 195.9, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6050530 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 65.71, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18368863 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 73.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16766433 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "268454127 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.041, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198696570 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "210282057 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 82.14, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14652615 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1248, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1344, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "878475 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 212.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5648250 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 198, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5604236 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 737.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1609105 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 734.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1583133 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1072146, "unit": "ns/op\t 373126 B/op\t 5606 allocs/op", "extra": "1128 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 119.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10373811 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 33.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37879003 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.255, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "293306482 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.237, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "370610797 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 199.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6036897 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 300, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3996472 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 199.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6036093 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 318690, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3709 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 261625, "unit": "ns/op\t 24543 B/op\t 1000 allocs/op", "extra": "4075 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 197792, "unit": "ns/op\t 762 B/op\t 0 allocs/op", "extra": "5580 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 652.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1802332 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 654.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1815153 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 552.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2135066 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1083, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 671.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1786262 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2573, "unit": "ns/op\t 332 B/op\t 7 allocs/op", "extra": "679124 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2833, "unit": "ns/op\t 595 B/op\t 7 allocs/op", "extra": "642124 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1677, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "743858 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2209, "unit": "ns/op\t 278 B/op\t 5 allocs/op", "extra": "664032 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2144, "unit": "ns/op\t 261 B/op\t 5 allocs/op", "extra": "768188 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 155.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7182121 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 134, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8983002 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 63.13, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "18459480 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 24.42, "unit": "ns/op\t 532.41 MB/s\t 0 B/op\t 0 allocs/op", "extra": "49199169 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 52.4, "unit": "ns/op\t 248.07 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22880713 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 940.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1288278 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 164.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7284579 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 622.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1887700 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 409.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2945918 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 464.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2573126 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1713, "unit": "ns/op\t 219 B/op\t 8 allocs/op", "extra": "614694 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 525.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2292844 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 983.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1257728 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 33103, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "37812 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 33177, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "39187 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 57.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20659411 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 168.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7462287 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 73.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14423520 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 206, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "5803202 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 23.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48249709 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 25.71, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45947784 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.04, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48279885 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 26.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44261623 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 35.64, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32152497 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 35.95, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31693428 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 120.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9993982 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 132.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9017646 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 89.51, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13158574 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 661.2, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1789722 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 39.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31124667 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.331, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "804569234 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 36.05, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32640476 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.408, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "851597654 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 41.12, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "28597921 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 107.2, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "10785975 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 115, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10112007 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 186.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5900768 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 90.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13737758 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "120226300 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.415, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "798017808 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.824, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "233425951 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 28.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "42649297 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 88.35, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13966647 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 100.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11923440 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 183.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6579711 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 125.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9989782 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 444.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2665015 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 112.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10662578 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 361.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3283152 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.457, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "269307694 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "223336299 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.421, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "350796067 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.261, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192337114 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.983, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "133702982 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.541, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124768966 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 100, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11348996 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 133.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9124659 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4609, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 67.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17498216 times\n2 procs" } ] }, { "commit": { "author": { "email": "49699333+dependabot[bot]@users.noreply.github.com", "name": "dependabot[bot]", "username": "dependabot[bot]" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "52f1eb9ddfa7bba9c36f6bc764ab6b5d48470003", "message": "build(deps): bump github.com/valyala/fasthttp from 1.49.0 to 1.50.0 (#2634)\n\nBumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp) from 1.49.0 to 1.50.0.\r\n- [Release notes](https://github.com/valyala/fasthttp/releases)\r\n- [Commits](https://github.com/valyala/fasthttp/compare/v1.49.0...v1.50.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: github.com/valyala/fasthttp\r\n dependency-type: direct:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", "timestamp": "2023-09-14T14:53:16+02:00", "tree_id": "b9993e9a3e2aec96bb12a0e045f9b73f4d4e55aa", "url": "https://github.com/gofiber/fiber/commit/52f1eb9ddfa7bba9c36f6bc764ab6b5d48470003" }, "date": 1694696438457, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2014, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "781942 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7833, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "142844 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6650, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "176907 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 182.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6590893 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 245.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4726401 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 350.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3401241 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 288.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4224265 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 541.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2143014 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "375866686 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 20.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "57301286 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1389, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "884352 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1107, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 967.7, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1205526 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3491, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "323516 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1694, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "667348 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1572, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "696649 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 154.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7734088 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 242.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4914824 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 214.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5562981 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 469.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2618814 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3621, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "302792 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 749.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1608908 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 168.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7193442 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 214.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5630570 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 305.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3935157 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 284.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4233253 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 503.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2308444 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 54.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21984669 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 112.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10630785 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 54.03, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22468882 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 64.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18599340 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 832.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1466474 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 86.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13722290 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 428.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2740269 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5361, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "222734 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 18.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "64861351 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 207.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5629675 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 389.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3105986 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 518.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2325774 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 4068, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "277383 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 182.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6352765 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1681, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "681249 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 309.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3913780 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 988.7, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1223257 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1087, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "968100 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1134, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "938942 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1057, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 243.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4745989 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "191905036 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 72.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16413129 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 57.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20954751 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 132.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9080778 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 137.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8757499 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 67.26, "unit": "ns/op\t 79 B/op\t 0 allocs/op", "extra": "18924087 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 206.2, "unit": "ns/op\t 87 B/op\t 1 allocs/op", "extra": "5502325 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 66.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18153404 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 454.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2497851 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4835, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "232508 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4080, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "287950 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5340, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "210472 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5273, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "208183 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1708, "unit": "ns/op\t 801 B/op\t 8 allocs/op", "extra": "647064 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1189, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "971263 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 80.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14690920 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.31, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "72935660 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5834161 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6564, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "169218 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6640, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "178705 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 186, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6585205 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 64, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18017250 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 70.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16193269 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.417, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "265900238 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.987, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "201887556 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.722, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "211572958 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 81.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14483953 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1207, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "987241 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1190, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "989553 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 217.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5569126 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 199, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5913058 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 714.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1694680 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 713.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1700701 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 951379, "unit": "ns/op\t 373100 B/op\t 5606 allocs/op", "extra": "1178 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 117.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10183725 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 32.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38431549 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.016, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "296765427 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.226, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373870346 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 201, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5991146 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 305.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4080642 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 201.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6008377 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 314054, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3688 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 261043, "unit": "ns/op\t 24526 B/op\t 1000 allocs/op", "extra": "4206 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 194640, "unit": "ns/op\t 662 B/op\t 0 allocs/op", "extra": "6166 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 670.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1827081 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 654, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1821297 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 529, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2267281 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1038, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 634.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1869346 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2444, "unit": "ns/op\t 329 B/op\t 7 allocs/op", "extra": "695696 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 3035, "unit": "ns/op\t 599 B/op\t 7 allocs/op", "extra": "741867 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1635, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "752144 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2068, "unit": "ns/op\t 274 B/op\t 5 allocs/op", "extra": "683184 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2015, "unit": "ns/op\t 263 B/op\t 5 allocs/op", "extra": "755221 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 154.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7786970 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 134.4, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8889364 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 60.08, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "20067309 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 22.88, "unit": "ns/op\t 568.06 MB/s\t 0 B/op\t 0 allocs/op", "extra": "52434316 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 52.26, "unit": "ns/op\t 248.78 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23041165 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 879.2, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1372922 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 163, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7364281 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 610.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1975470 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 415.4, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2914682 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 465.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2600463 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1694, "unit": "ns/op\t 219 B/op\t 8 allocs/op", "extra": "620334 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 520.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2344105 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 912.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1266381 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 29746, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "40050 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 31198, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "39403 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 57.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20646438 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 157.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7645311 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 72.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16312267 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 195, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6212594 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.89, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47317562 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 24.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44290116 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 22.99, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47834188 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 25.88, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43246224 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 34.53, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33206251 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 34.88, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30503841 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 119.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10072519 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 131.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9118812 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 81.24, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14537318 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 637.2, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1913019 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 38.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31399635 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.299, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "919296661 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 33.15, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33840590 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.397, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "853221906 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.09, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29192443 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 101.6, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12204259 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 112.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10648476 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 182.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6558150 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 82.25, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14242549 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "120452751 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.398, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "857098360 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.785, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "250354603 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "42546558 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 85.15, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13964042 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 99.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12159055 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 177.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6513249 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 121.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10259559 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 428.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2805381 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 101.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11468389 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 348.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3342604 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.451, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "271296919 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.229, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "230762658 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.394, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "346600123 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.193, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "193797966 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.887, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "135085291 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125223896 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12378771 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 130.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9176106 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4451, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 66.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17999910 times\n2 procs" } ] }, { "commit": { "author": { "email": "835733+gaby@users.noreply.github.com", "name": "Juan Calderon-Perez", "username": "gaby" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "5d6552e42d211ee251533b76e2eb8f779f230bc4", "message": "🐛 fix(middleware/adaptor): Reduce memory usage by replacing io.ReadAll() with io.Copy() (#2637)\n\n* Replace io.ReadAll with io.Copy for Adaptor Middleware\n\n* Add nolint to Close() during benchmark", "timestamp": "2023-09-19T08:08:51+02:00", "tree_id": "d18859749db16c2cae9e6235a365babb48c3958c", "url": "https://github.com/gofiber/fiber/commit/5d6552e42d211ee251533b76e2eb8f779f230bc4" }, "date": 1695104256377, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1655, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "737853 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 4398, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "233842 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3896, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "305551 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 140.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8555882 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 186.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6438925 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 272.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4446595 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 237.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5052139 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 412.2, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2563942 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.813, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426474895 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 18.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "64073179 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1071, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 877.6, "unit": "ns/op\t 128 B/op\t 4 allocs/op", "extra": "1368433 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 804.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1483130 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2781, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "405915 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1437, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "773720 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1281, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "852286 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 113.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10539994 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 185.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6498385 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 170, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7067047 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 373.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3200058 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2576, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "447244 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 601.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1988840 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 141.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7915587 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 153.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7791145 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 236.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5010934 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 215.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5578200 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 427, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2815806 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 45.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26053269 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 88.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13506388 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.89, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27549174 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 48.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24794262 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 687.9, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1741201 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 75.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16002218 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 345, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3569983 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4361, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "265035 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77648662 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 155.8, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7654819 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 292, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4091749 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 407.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2936377 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2945, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "391663 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 136.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8362778 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1389, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "786954 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 243.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4876449 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 803, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1496661 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 913.1, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1288395 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 974.3, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1237304 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 900.7, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1327454 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 183.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6557462 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.326, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225496190 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.08, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20769772 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 44.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28438688 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 102.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11694261 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 111.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10671176 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 41.94, "unit": "ns/op\t 69 B/op\t 0 allocs/op", "extra": "27163135 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 154.4, "unit": "ns/op\t 96 B/op\t 1 allocs/op", "extra": "7672982 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 56.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21172935 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.501, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125868571 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 368.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3271206 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3922, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "294747 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3400, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "307532 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4262, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271700 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4239, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "268754 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1258, "unit": "ns/op\t 804 B/op\t 8 allocs/op", "extra": "850086 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 886.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1357315 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 73.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16454698 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82811053 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 181.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6661990 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3751, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "309682 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3806, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "307465 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 147.3, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8120041 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 51.66, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23008353 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 56.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21069680 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298344699 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.328, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "164321473 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.781, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "203844530 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 65.82, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17769906 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 995, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1211359 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 998.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1207597 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 178.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6709640 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 166.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7209020 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 664.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1794814 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 660.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1807192 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 744376, "unit": "ns/op\t 373125 B/op\t 5606 allocs/op", "extra": "1590 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 96.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12589743 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 27.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "43914460 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.625, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "328701494 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.699, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "444765003 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 166.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7224102 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 224.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5305789 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 166.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7188955 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 252128, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4682 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 228442, "unit": "ns/op\t 24578 B/op\t 1000 allocs/op", "extra": "5347 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 178044, "unit": "ns/op\t 704 B/op\t 0 allocs/op", "extra": "6686 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_1MB", "value": 2226, "unit": "ns/op\t 1863 B/op\t 13 allocs/op", "extra": "514615 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_10MB", "value": 2075, "unit": "ns/op\t 1907 B/op\t 13 allocs/op", "extra": "582939 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_50MB", "value": 1927, "unit": "ns/op\t 2051 B/op\t 13 allocs/op", "extra": "583147 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 496.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2443338 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 493.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2419819 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 434.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2762316 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 832.4, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1441233 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 546.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2188647 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1869, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "834606 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2117, "unit": "ns/op\t 571 B/op\t 7 allocs/op", "extra": "800221 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1474, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "806996 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1810, "unit": "ns/op\t 358 B/op\t 5 allocs/op", "extra": "865730 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1880, "unit": "ns/op\t 348 B/op\t 5 allocs/op", "extra": "901561 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 122.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9663141 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 105.8, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11335687 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.9, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "21607202 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.3, "unit": "ns/op\t 673.41 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62157334 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.99, "unit": "ns/op\t 302.41 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27763249 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 734.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1606320 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 132.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9007666 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 513.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2342986 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 349.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3451495 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 387.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3059376 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1362, "unit": "ns/op\t 216 B/op\t 8 allocs/op", "extra": "747037 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 435.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2751712 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 814.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1453368 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23533, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50698 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23443, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50492 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 41.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28997768 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 138.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8648846 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 73.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16398625 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 160, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7412500 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.24, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57219020 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 21.05, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53391826 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.31, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57096505 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.87, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49859449 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 29.18, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39458277 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 31.95, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31801485 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12445716 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 124.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10226589 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 62.58, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18764968 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 465.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2580198 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37717616 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.134, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.13, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "44285242 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 30.43, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36982278 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 78.79, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15032302 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 86.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13773139 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 143.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8375283 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 62.91, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18423882 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.085, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "148151758 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995546778 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.094, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298185808 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45188611 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 69.98, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16763014 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 99.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12090420 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 159.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7739235 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 104.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11032366 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 357.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3350731 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 82.11, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14052949 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 301.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3962138 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.879, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "245228480 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.753, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253640570 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.214, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373303039 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.232, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228839052 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.579, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "157730510 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.757, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "122961716 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12475274 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 125.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10333912 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4225, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21796365 times\n2 procs" } ] }, { "commit": { "author": { "email": "aandz0710@gmail.com", "name": "huykn", "username": "huykn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "59d3eb0762cb44f40897f6b061d11221c499cfc1", "message": ":bug: fix bug parse custom header (#2638)\n\n* :bug: fix bug parse custom header\r\n\r\n* :rotating_light: fix lint when request merge https://github.com/gofiber/fiber/pull/2638\r\n\r\n---------\r\n\r\nCo-authored-by: Khúc Ngọc Huy ", "timestamp": "2023-09-19T18:00:26+02:00", "tree_id": "a663f4f9298fac1d7c7b97dccfcad2a203ace05f", "url": "https://github.com/gofiber/fiber/commit/59d3eb0762cb44f40897f6b061d11221c499cfc1" }, "date": 1695139623906, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1575, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "718389 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6892, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "150428 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5424, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "215191 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 153.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7821824 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 201.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5958572 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 295.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4091484 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 241.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4972150 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 449.4, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2579785 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.681, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447485532 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 18.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "66074480 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1149, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 922, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1297698 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 818.3, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1437710 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2876, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "389892 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1401, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "802370 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1257, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "856018 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 129.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9266592 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 210.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5662794 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 181.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6500820 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 388.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3098046 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2927, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "351567 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 623.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1917556 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 146.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8212207 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 177.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "6646377 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 259.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4639917 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 234.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5094016 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 419.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2859069 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26418643 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 90.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13303189 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 43.38, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26933452 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 55.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21612199 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 684.2, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1758157 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 67.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17617095 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 348.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3534229 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4428, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "263875 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "74495265 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 171.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6807913 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 316.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3802538 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 427.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2852486 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3328, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "359421 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 152.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7530742 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1401, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "778936 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 256.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4653836 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 800.8, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1493805 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 896.4, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1349882 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 938.1, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1286896 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 891.4, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1360543 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 202.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5875886 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228012456 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 60.76, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19458212 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 50.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23704513 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 113, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10622486 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 115.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10418653 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 39.74, "unit": "ns/op\t 69 B/op\t 0 allocs/op", "extra": "26985954 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 174.9, "unit": "ns/op\t 93 B/op\t 1 allocs/op", "extra": "6350906 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21042583 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.422, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127145340 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 374, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3160321 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3958, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "290968 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3279, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "348488 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4286, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271552 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4329, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "261810 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1518, "unit": "ns/op\t 801 B/op\t 8 allocs/op", "extra": "740392 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1029, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 67.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17829068 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 13.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "89564523 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 172.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6964624 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5445, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "214652 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5457, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "209198 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 151.2, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7944554 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 53.21, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22120780 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20242747 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.721, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322492806 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.033, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238364791 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.735, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253984074 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 67.03, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17744013 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 994.3, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1205088 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 995.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1209285 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 180.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6657002 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 170.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7079768 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 635.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1881645 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 637, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1873746 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 797680, "unit": "ns/op\t 373108 B/op\t 5606 allocs/op", "extra": "1492 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 98.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12185977 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46544780 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.407, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "351961610 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.681, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447047133 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 167, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7186845 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 246.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4773964 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 167, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7199826 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 267152, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4399 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 210197, "unit": "ns/op\t 24562 B/op\t 1000 allocs/op", "extra": "5787 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 164351, "unit": "ns/op\t 654 B/op\t 0 allocs/op", "extra": "7210 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_1MB", "value": 1988, "unit": "ns/op\t 1862 B/op\t 13 allocs/op", "extra": "541394 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_10MB", "value": 2112, "unit": "ns/op\t 1903 B/op\t 13 allocs/op", "extra": "598212 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_50MB", "value": 1901, "unit": "ns/op\t 2045 B/op\t 13 allocs/op", "extra": "595862 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 525.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2295030 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 527.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2288278 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 440.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2729289 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 858.2, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1398579 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 541.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2228905 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2088, "unit": "ns/op\t 311 B/op\t 7 allocs/op", "extra": "830662 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2345, "unit": "ns/op\t 590 B/op\t 7 allocs/op", "extra": "760238 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1385, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "859033 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1682, "unit": "ns/op\t 255 B/op\t 5 allocs/op", "extra": "818180 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1802, "unit": "ns/op\t 252 B/op\t 5 allocs/op", "extra": "848566 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 129, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9305944 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 111.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10795668 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49.05, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23580762 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.15, "unit": "ns/op\t 678.73 MB/s\t 0 B/op\t 0 allocs/op", "extra": "62000947 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.78, "unit": "ns/op\t 296.95 MB/s\t 0 B/op\t 0 allocs/op", "extra": "26828674 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 729.5, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1624850 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 137.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8755996 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 507.8, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2370250 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 343, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3485763 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 386.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3104986 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1375, "unit": "ns/op\t 207 B/op\t 7 allocs/op", "extra": "857542 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 434.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2765515 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 823.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1386487 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 25020, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "47653 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 24593, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48048 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24964320 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 131.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9142978 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19596006 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 159.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7469104 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59889949 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.81, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54823874 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59265831 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "54381624 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.19, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39618892 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37848326 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11985681 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10917708 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 67.36, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17374718 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 515.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2308194 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37348501 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 27.18, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39748158 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 32.53, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33751432 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 81.27, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14394678 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 97.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12257902 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 155.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7722760 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.68, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17566419 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.512, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "141279332 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298435578 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "48563709 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 70.04, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16732900 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 83.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14392848 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 146.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8139585 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 96.62, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12275709 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 354.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3411075 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 86.55, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13886656 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 294.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4165527 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.732, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "321773559 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.372, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274758577 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.849, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "419250782 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231007045 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.466, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "160759576 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "150528705 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 82.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14524938 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10854818 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3735, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21515325 times\n2 procs" } ] }, { "commit": { "author": { "email": "aandz0710@gmail.com", "name": "huykn", "username": "huykn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "640fd1f7c7555e9cad20782369c6ab00aba7bc55", "message": ":bug: fix parse ips return invalid in abnormal case (#2642)\n\n* :bug: fix parse ips return invalid in abnormal case\r\n\r\n* :recycle: change benchmark to test cases\r\n\r\n---------\r\n\r\nCo-authored-by: Khúc Ngọc Huy ", "timestamp": "2023-09-21T11:06:02+02:00", "tree_id": "af8ef751eef4c6fe190dcc809f81927900b86ae3", "url": "https://github.com/gofiber/fiber/commit/640fd1f7c7555e9cad20782369c6ab00aba7bc55" }, "date": 1695287593975, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2143, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "474574 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 8361, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "148914 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6844, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "177814 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 183.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6321333 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 242, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4967247 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 361.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3354260 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 289.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4147749 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 539.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2076590 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.218, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "366980198 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 22.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "51009418 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1443, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "837247 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1132, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 1012, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3740, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "333775 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1726, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "709212 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1544, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "701770 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 155.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7698154 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 249.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4883708 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 215.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5345378 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 475.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2605384 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3670, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "335203 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 750.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1547510 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 175.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6728974 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 227.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5334523 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 327.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3716923 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 296.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4069410 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 530.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2293455 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 53.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20086412 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 109.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11009310 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 53.82, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22604842 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 64.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17929966 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 846.8, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1348527 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 83.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13760100 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 435.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2755381 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5538, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "190174 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 19.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "60099229 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 217, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5479551 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 401.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2963250 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 516.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2338837 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3902, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "297519 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 182.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6180630 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1699, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "629239 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 322.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3667712 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1026, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "996594 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1087, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1052148 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1173, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "970462 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1091, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "980750 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 251.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4701480 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.314, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "189728678 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 73.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16305972 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 60.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21060000 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 131.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9112550 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 138.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8078996 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 70.06, "unit": "ns/op\t 78 B/op\t 0 allocs/op", "extra": "19097364 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 226.5, "unit": "ns/op\t 88 B/op\t 1 allocs/op", "extra": "5424398 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 70.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18122602 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 475.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2584980 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4967, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "239371 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4074, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "285159 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5390, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "221323 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5359, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "210630 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1679, "unit": "ns/op\t 803 B/op\t 8 allocs/op", "extra": "647044 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1214, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "975793 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 81.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14503394 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 17.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "65674714 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 206.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5812387 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6699, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "159796 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6910, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "179695 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 187.5, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6490288 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 66.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18641541 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 70.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17080081 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "268920885 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.035, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200996920 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.085, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "206736048 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 83.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14537877 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1190, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "864946 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1210, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "998946 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 219.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5574771 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 202.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5434962 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 721.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1590714 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 714.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1630466 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1025618, "unit": "ns/op\t 373102 B/op\t 5606 allocs/op", "extra": "1190 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 117.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10201964 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 31.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35738948 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.038, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "278141653 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.224, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "370655988 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 200.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5714870 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 295.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3998648 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 198.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6046615 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 320950, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3686 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 253708, "unit": "ns/op\t 24605 B/op\t 1000 allocs/op", "extra": "4814 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 199367, "unit": "ns/op\t 699 B/op\t 0 allocs/op", "extra": "5551 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_1MB", "value": 2483, "unit": "ns/op\t 1864 B/op\t 13 allocs/op", "extra": "415771 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_10MB", "value": 2518, "unit": "ns/op\t 1909 B/op\t 13 allocs/op", "extra": "481144 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_50MB", "value": 2435, "unit": "ns/op\t 2077 B/op\t 13 allocs/op", "extra": "489726 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 644.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1831850 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 652.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1832191 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 539.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2171890 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1030, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 656.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1845696 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2602, "unit": "ns/op\t 330 B/op\t 7 allocs/op", "extra": "694509 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2790, "unit": "ns/op\t 610 B/op\t 7 allocs/op", "extra": "619996 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1710, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "698622 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2024, "unit": "ns/op\t 268 B/op\t 5 allocs/op", "extra": "716407 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2003, "unit": "ns/op\t 261 B/op\t 5 allocs/op", "extra": "766951 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 155.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7699200 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 143.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8589451 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 63.33, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "18386996 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 23.02, "unit": "ns/op\t 564.70 MB/s\t 0 B/op\t 0 allocs/op", "extra": "52166073 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 54.27, "unit": "ns/op\t 239.54 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22858500 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 892.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1333790 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 168.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6845791 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 644.1, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1875550 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 425.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2777047 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 468.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2551392 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1696, "unit": "ns/op\t 208 B/op\t 8 allocs/op", "extra": "680583 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 536, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2175663 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 937.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1260696 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 30865, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "39398 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 31019, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "39111 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 57.49, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20819296 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 169.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7284085 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 73.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16250556 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 203.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6036344 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 23.58, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48613728 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 24.91, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44823366 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.01, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52237442 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 26.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "40639864 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 35.25, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29421063 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 36.43, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33009010 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 120.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9065457 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 131.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8537928 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 85.19, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13859348 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 636.1, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1842094 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 38.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30688489 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.477, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "918424185 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 34.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31354402 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.409, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "852767017 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.77, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "27647890 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 104.3, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12017786 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 119.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10509512 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 190.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6325075 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 85.28, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13647051 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 10, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.423, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "839500766 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.832, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "248788029 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 28.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37458825 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 88.53, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "12905040 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 100.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11736231 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 181.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6669241 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 122.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9675186 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 439.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2763068 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 112.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10163973 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 366.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3364494 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.479, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "246780780 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "229011525 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.434, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "322418151 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.228, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192464948 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "134045308 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.619, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123589497 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 98.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12137864 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 131.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9127929 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4455, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 72.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17945359 times\n2 procs" } ] }, { "commit": { "author": { "email": "51401608+dairlair@users.noreply.github.com", "name": "dairlair", "username": "dairlair" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "c89184c155fbaa2bbb6589bb8d20332e4dddd5b0", "message": "♻️ Refactor Ctx.Method func to improve code readability (#2647)\n\n* Refactor Ctx.Method func to improve code readability\n\n* Fix the lint issue with extra tab on blank line", "timestamp": "2023-09-26T08:15:33+02:00", "tree_id": "c9366e40fd433c75434685c8536fbd136b4db560", "url": "https://github.com/gofiber/fiber/commit/c89184c155fbaa2bbb6589bb8d20332e4dddd5b0" }, "date": 1695709357995, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1908, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "581066 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6643, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "180573 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6703, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "173238 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 183.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6528547 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 241.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4946629 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 353.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3377962 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 289.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4152073 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 541.6, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2042962 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.218, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "372868687 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 21.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "55303154 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1399, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "856539 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1109, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 1004, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1214364 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3407, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "326761 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1701, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "617851 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1573, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "711541 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 160.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7692969 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 251.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4773403 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 215.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5559133 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 466.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2533378 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3540, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "325898 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 766.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1601853 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 175.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6868173 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 219.9, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5571968 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 314.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3837520 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 287.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4133278 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 511.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2354668 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 54.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22193224 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 108.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11062212 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 54.07, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21478494 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 66.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17829832 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 829.2, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1459221 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 83.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14672924 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 418.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2871211 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5474, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "221564 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 19.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "61047924 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 210.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5652577 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 385.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3075970 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 518.4, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2290441 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3893, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "282574 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 185.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6095454 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1699, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "657492 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 310.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3906820 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 978.5, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1220169 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1064, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "942705 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1110, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "972693 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1040, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 245.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4841144 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.44, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "189738313 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 73.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16409077 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 59.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19541098 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 135.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8954919 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 138.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8649318 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 67.24, "unit": "ns/op\t 77 B/op\t 0 allocs/op", "extra": "19495424 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 212.1, "unit": "ns/op\t 86 B/op\t 1 allocs/op", "extra": "5609373 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 66.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17804560 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 450.2, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2532396 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4841, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "240067 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3979, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "294990 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5215, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "226660 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5217, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "227992 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1661, "unit": "ns/op\t 807 B/op\t 8 allocs/op", "extra": "662409 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1233, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "959832 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 81.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14926981 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 17.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "69118060 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 206.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5818856 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6473, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "178808 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6571, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "176714 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 182, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6482474 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 62.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "17562055 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 70.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16980298 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.452, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "269368334 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.039, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "198707010 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.689, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "211245367 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 81.38, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14277097 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1190, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "945246 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1218, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 218.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5528094 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 207.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5907022 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 711.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1698613 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 716.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1682023 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 956925, "unit": "ns/op\t 373094 B/op\t 5606 allocs/op", "extra": "1219 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 118.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10108080 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 31.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36864931 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.037, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297484011 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "360459300 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 199.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5950129 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 302.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4020969 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 198.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6046358 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 318977, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3661 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 252392, "unit": "ns/op\t 24565 B/op\t 1000 allocs/op", "extra": "4848 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 197786, "unit": "ns/op\t 666 B/op\t 0 allocs/op", "extra": "6024 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_1MB", "value": 2486, "unit": "ns/op\t 1868 B/op\t 13 allocs/op", "extra": "487292 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_10MB", "value": 2463, "unit": "ns/op\t 1904 B/op\t 13 allocs/op", "extra": "496242 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_50MB", "value": 2338, "unit": "ns/op\t 2062 B/op\t 13 allocs/op", "extra": "515805 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 655.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1816419 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 642.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1865374 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 527.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2225991 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1029, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 647.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1865372 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2492, "unit": "ns/op\t 331 B/op\t 7 allocs/op", "extra": "684954 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2600, "unit": "ns/op\t 583 B/op\t 7 allocs/op", "extra": "663189 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1677, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "752902 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2083, "unit": "ns/op\t 271 B/op\t 5 allocs/op", "extra": "702908 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2198, "unit": "ns/op\t 279 B/op\t 5 allocs/op", "extra": "658952 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 155.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7725950 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 142.1, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8830609 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 60.13, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "19236009 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 23.18, "unit": "ns/op\t 560.93 MB/s\t 0 B/op\t 0 allocs/op", "extra": "51519579 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 52.4, "unit": "ns/op\t 248.11 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22882154 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 874.6, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1351963 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 168.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7277053 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 612.5, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1949049 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 410.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2953203 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 464, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2581532 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1706, "unit": "ns/op\t 219 B/op\t 8 allocs/op", "extra": "614660 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 518.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2314191 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 992.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1283929 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 29959, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "40003 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 29664, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "40528 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 57.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20814549 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 160, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7638824 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 73.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16272177 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 193, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6016504 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.26, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48934027 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 25.34, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45768007 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.1, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48030237 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 25.65, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43988920 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 33.69, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32456739 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 34.72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33337788 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 119.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10014690 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 131.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9087757 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 82.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13814919 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 639.8, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1906750 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 38.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30783547 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.307, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "914123706 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 32.82, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33643598 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.407, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "853187618 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.51, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "28619467 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 100.5, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11761784 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 117.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9986362 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 188.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6326101 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 85.61, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14288469 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 10.11, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.407, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "852230877 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.829, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "242552629 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 28.12, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "42709221 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 84.41, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13531087 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 100.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11997079 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 180.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6516427 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 117.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9946665 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 436.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2788381 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 103.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11557796 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 351.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3466096 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.558, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "263158950 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.256, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "223310011 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "351198486 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.239, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192546254 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.123, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "134159690 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.615, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123776824 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 98.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12133306 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 132.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8836130 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.447, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 66.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15469336 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "M. Efe Çetin", "username": "efectn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "e6d6fbe5a83262d4a7262f03a1bbceca9105a80d", "message": ":sparkles: middleware: cors: allow disabling caching in preflight requests (#2649)", "timestamp": "2023-09-27T15:06:24+02:00", "tree_id": "95185414bc50ea0338ef2c7f069b5d53a5a29a71", "url": "https://github.com/gofiber/fiber/commit/e6d6fbe5a83262d4a7262f03a1bbceca9105a80d" }, "date": 1695820404973, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1935, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "604124 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7147, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "161371 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6326, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "169947 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 181.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6648144 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 243.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5000245 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 345.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3309172 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 288, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4293886 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 553.9, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2059348 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.379, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "337540854 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 25.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "49701724 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1348, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "854756 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1113, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 957, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1309305 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3416, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "325796 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1623, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "640375 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1468, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "778755 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 150, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7987422 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 235.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4830860 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 204.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5772016 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 441.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2796225 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3416, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "351549 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 656.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1817739 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 148.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8078665 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 207.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5749075 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 305.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3915517 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 265.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4233226 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 516.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2339086 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 51.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24365721 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 110, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10532560 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 55.39, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22070005 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 63.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18511923 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 849.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1395034 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 90.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12625716 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 425.5, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2699379 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5031, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "236290 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 22.33, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "56739967 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 216.3, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5621863 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 389.3, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3148255 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 496.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2442308 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3917, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "303883 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 183.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6324286 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1739, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "654146 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 330.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3940389 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1046, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1158972 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1105, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1136, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "943924 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1052, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "996340 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 244.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5040057 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.567, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "193581835 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 70.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16656838 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 58.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20743406 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 129.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9364020 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 143.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7742323 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 44.44, "unit": "ns/op\t 78 B/op\t 0 allocs/op", "extra": "24070693 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 213.7, "unit": "ns/op\t 86 B/op\t 1 allocs/op", "extra": "5563977 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 66.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17459362 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 12.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "98579971 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 512.3, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2446766 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4922, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "245355 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4034, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "279674 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5316, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "226448 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5321, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "240271 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1739, "unit": "ns/op\t 810 B/op\t 8 allocs/op", "extra": "657408 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1239, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "956551 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 93.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12384256 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "71943787 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 215.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5475074 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6439, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "165044 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6332, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "196587 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 184.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6986358 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 60.94, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "19675670 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 74.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16947578 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.852, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "246098734 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.346, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "188513241 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.361, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275306709 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 80.56, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14462442 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1137, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1087982 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1126, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 212.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5520447 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 201.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5987889 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 751.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1599223 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 772, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1561352 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 979371, "unit": "ns/op\t 373093 B/op\t 5606 allocs/op", "extra": "1326 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 124.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9508891 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 33.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35933010 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.273, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "292017076 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.548, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "329943327 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 202, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5707398 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 280, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4352856 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 218, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5592806 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 327228, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3531 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 272445, "unit": "ns/op\t 24600 B/op\t 1000 allocs/op", "extra": "4266 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 214604, "unit": "ns/op\t 665 B/op\t 0 allocs/op", "extra": "5828 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_1MB", "value": 2264, "unit": "ns/op\t 1866 B/op\t 13 allocs/op", "extra": "495906 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_10MB", "value": 2330, "unit": "ns/op\t 1897 B/op\t 13 allocs/op", "extra": "523599 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_50MB", "value": 2306, "unit": "ns/op\t 2069 B/op\t 13 allocs/op", "extra": "502384 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 650, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1856481 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 646.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1868750 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 531.4, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2312893 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1021, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 631.8, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1869774 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2594, "unit": "ns/op\t 335 B/op\t 7 allocs/op", "extra": "667059 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2827, "unit": "ns/op\t 601 B/op\t 7 allocs/op", "extra": "633308 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1737, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "698685 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2357, "unit": "ns/op\t 278 B/op\t 5 allocs/op", "extra": "661714 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2208, "unit": "ns/op\t 266 B/op\t 5 allocs/op", "extra": "734911 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 171.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7206380 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 150, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8003516 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 60.96, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "20335359 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 28.58, "unit": "ns/op\t 454.86 MB/s\t 0 B/op\t 0 allocs/op", "extra": "43270458 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 53.71, "unit": "ns/op\t 242.04 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22227002 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 892.7, "unit": "ns/op\t 432 B/op\t 5 allocs/op", "extra": "1330813 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 180.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6928288 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 606.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1961881 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 428.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2744818 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 458.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2648260 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1525, "unit": "ns/op\t 206 B/op\t 7 allocs/op", "extra": "764782 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 504.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2343492 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 888.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1232232 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 31104, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "40341 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 33764, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "38782 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 63.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19133528 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 187.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6232020 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 64.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18815548 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 170.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6977676 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 23.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44589704 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 26.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "42054870 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 24.73, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44773710 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 28.28, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44223255 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 37.05, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30950166 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 35.04, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30688250 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 123.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9693508 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 138.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8969974 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 82.48, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "12793598 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 621.2, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1878522 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 40.62, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "30831200 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.352, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "882861715 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 32.88, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34269081 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "854220501 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 40.86, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30233794 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 100.1, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11373710 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 107.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10372042 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 194.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6035097 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 85.72, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13965375 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.937, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123771811 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.358, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "908944513 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.793, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "211051880 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 32.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "40074181 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 86.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14392429 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 121.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10120802 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 184.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6621346 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 121.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9662256 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 468, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2450674 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 123.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9907587 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 425.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2829722 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.924, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "417204344 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.677, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "221118518 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.514, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "338107390 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.446, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192630862 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.759, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128000011 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.273, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "120395433 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 95.81, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13374082 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 135.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9316090 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4203, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 60.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19248927 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "M. Efe Çetin", "username": "efectn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "a9447a5b49fce63e77370ccfe65f50ffe8921a4d", "message": "ctx: change signatures of GetReqHeaders and GetRespHeaders (#2650)\n\n* ctx: change signatures of GetReqHeaders and GetRespHeaders\r\n\r\n* fix middlewares", "timestamp": "2023-09-28T08:31:31+02:00", "tree_id": "92b7c18258256a17781e0b55ddc240e7bf58b5e3", "url": "https://github.com/gofiber/fiber/commit/a9447a5b49fce63e77370ccfe65f50ffe8921a4d" }, "date": 1695883130216, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1618, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "782488 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3681, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "279852 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3744, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "307873 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 132.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9096966 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 179.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6673668 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 270.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4360910 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 238.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5036110 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 413.5, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2656663 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.815, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "426335025 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 18.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "63959229 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1069, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 869.8, "unit": "ns/op\t 128 B/op\t 4 allocs/op", "extra": "1382103 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 806, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1496388 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2827, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "410312 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1442, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "771675 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1311, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "845822 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 112.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10718574 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 196.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6156309 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 160.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7458595 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 374.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3198884 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2636, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "436970 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 617.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1959951 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 140.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8544482 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 159.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7444538 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 244.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4929378 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 207.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5649415 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 414.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2845136 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 45.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "26793262 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 84.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13859830 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 41.2, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27934772 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 50.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23768290 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 683.6, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1755144 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 69.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17620791 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 336.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3508288 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4394, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "263072 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 16.79, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "74157610 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 153.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7739822 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 289.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4097984 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 408.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2943423 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2941, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "387914 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 138.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8357047 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1389, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "811302 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 242.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4938902 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 808.7, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1484956 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 919.1, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1299126 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 975.9, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1235103 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 895.7, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1302008 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 182.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6477722 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.316, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "225745358 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 57.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20156371 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27830499 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 102.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11661469 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 111.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10756126 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 42.8, "unit": "ns/op\t 72 B/op\t 0 allocs/op", "extra": "26078022 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 152.2, "unit": "ns/op\t 95 B/op\t 1 allocs/op", "extra": "7704877 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21199134 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.516, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128129012 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 372.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3204570 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3929, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "299439 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3385, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "341821 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4264, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269259 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4232, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "273715 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1251, "unit": "ns/op\t 802 B/op\t 8 allocs/op", "extra": "863721 times\n2 procs" }, { "name": "Benchmark_Ctx_GetRespHeaders", "value": 474.9, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "2521839 times\n2 procs" }, { "name": "Benchmark_Ctx_GetReqHeaders", "value": 485.5, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "2466493 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 902.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1325775 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 70.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16643305 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 13.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82305920 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 182.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6531150 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3755, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "309538 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3861, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "305234 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 148.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7127180 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 52, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22440102 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 58.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20574823 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298375107 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.035, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "187021206 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.231, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "192730525 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 80.32, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "19526826 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 968.5, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1235595 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 965.8, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1215730 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 165.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7192243 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 153.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7755702 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 646.7, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1849315 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 650.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1843778 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 765726, "unit": "ns/op\t 373096 B/op\t 5606 allocs/op", "extra": "1564 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12606160 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45143163 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.624, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331750032 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.706, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "443875640 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 157.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7785116 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 228.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5336332 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 154.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7770411 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 254547, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4664 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 222580, "unit": "ns/op\t 24624 B/op\t 1000 allocs/op", "extra": "5450 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 178113, "unit": "ns/op\t 665 B/op\t 0 allocs/op", "extra": "6692 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_1MB", "value": 2029, "unit": "ns/op\t 1861 B/op\t 13 allocs/op", "extra": "548666 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_10MB", "value": 1998, "unit": "ns/op\t 1906 B/op\t 13 allocs/op", "extra": "588390 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_50MB", "value": 1898, "unit": "ns/op\t 2053 B/op\t 13 allocs/op", "extra": "577699 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 486.8, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2461912 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 509.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2434854 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 437.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2674508 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 830.2, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1443870 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 546.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2198756 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1874, "unit": "ns/op\t 314 B/op\t 7 allocs/op", "extra": "804884 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2137, "unit": "ns/op\t 574 B/op\t 7 allocs/op", "extra": "793332 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1493, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "831032 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1652, "unit": "ns/op\t 257 B/op\t 5 allocs/op", "extra": "799064 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1805, "unit": "ns/op\t 349 B/op\t 5 allocs/op", "extra": "898920 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 149.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9685483 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 113.1, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10194560 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 49.4, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "23078131 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 19.77, "unit": "ns/op\t 657.43 MB/s\t 0 B/op\t 0 allocs/op", "extra": "59421610 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.92, "unit": "ns/op\t 302.88 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27913951 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 749.1, "unit": "ns/op\t 512 B/op\t 6 allocs/op", "extra": "1595200 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 129.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9174922 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 511.6, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2350582 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 348.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3338019 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 386.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3119530 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1357, "unit": "ns/op\t 216 B/op\t 8 allocs/op", "extra": "754414 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 439.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2728748 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 803.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1454500 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23459, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50557 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23463, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "51061 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 41.28, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28985401 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 143.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8678364 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 73.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16406852 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 159.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7484941 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.15, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57481224 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 21.11, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52287806 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.42, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56885848 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.61, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "49220492 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.57, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39614274 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 31.95, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35975727 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12404042 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9976592 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 63.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17625945 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 465.5, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2567720 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37666654 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.152, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.28, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43742296 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.133, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 30.57, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37018502 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 78.62, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14844189 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 84.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14206761 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 144.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8345593 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 62.62, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18704511 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.145, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146861764 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.205, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "995879894 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.017, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298635067 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "43802167 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 69.47, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16891731 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 99.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12065967 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 154.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7795950 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 102.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11628765 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 362.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3339552 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 84.77, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14087182 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 301, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3946437 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.993, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "247008950 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.562, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "266488462 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.215, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373044283 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.367, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "222627544 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.724, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "157504682 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.716, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "123875790 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12469932 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 116.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10329488 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4261, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18538758 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "M. Efe Çetin", "username": "efectn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "6e443f60267108577ef5e191b3e60fa964d5c8b6", "message": "refactor: use utils.AssertEqual instead of t.Fatal on some tests (#2653)", "timestamp": "2023-09-28T14:40:42+02:00", "tree_id": "2486d3f22a1cf7c211014a6918be0c7ccbd32ecc", "url": "https://github.com/gofiber/fiber/commit/6e443f60267108577ef5e191b3e60fa964d5c8b6" }, "date": 1695905251070, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1701, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "863706 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 3730, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "289321 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 3770, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "306049 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 132, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9024715 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 178.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6706532 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 273.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4413728 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 238, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5053862 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 418.2, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2798492 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.813, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "425139013 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 18.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "64516898 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1077, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 880.3, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1339173 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 810.6, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1481455 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2807, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "412317 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1443, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "765994 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1294, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "841726 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 111.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10518775 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 198.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6010017 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 162, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7193179 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 375.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3174028 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2722, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "440172 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 611.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1959765 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 140.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8555998 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 158.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7488208 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 244.9, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4796815 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 210.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5592561 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 417.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2827077 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 45.24, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25996240 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 86.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14137908 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 41.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "27917276 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 49.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24354604 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 683.5, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1761320 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 70.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16849848 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 331, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3611829 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4398, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "265020 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "76192885 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 152.7, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7547568 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 295, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "4148222 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 408.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2937301 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 2966, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "366409 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 140.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8144942 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1391, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "794706 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 242.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4857266 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 811.1, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1494307 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 907.9, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1319176 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 982.4, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1230343 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 894, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1343252 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 181.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6632142 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.335, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224838397 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 58.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20136793 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 44.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27493292 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 102.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11676682 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 111.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10746788 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 42, "unit": "ns/op\t 72 B/op\t 0 allocs/op", "extra": "25834184 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 151.1, "unit": "ns/op\t 84 B/op\t 1 allocs/op", "extra": "7182699 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 55.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21463362 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.305, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "126226099 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 382.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3119982 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3956, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "293431 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3436, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "343398 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4279, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "269196 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4312, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "271441 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1262, "unit": "ns/op\t 806 B/op\t 8 allocs/op", "extra": "881146 times\n2 procs" }, { "name": "Benchmark_Ctx_GetRespHeaders", "value": 473.8, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "2439080 times\n2 procs" }, { "name": "Benchmark_Ctx_GetReqHeaders", "value": 486.4, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "2461984 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 889, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1347219 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 73.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17043608 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "82913302 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 181.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6639261 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 3788, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "305295 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 3816, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "306961 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 148.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "8017928 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 51.32, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22921082 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 59.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20750220 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.023, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298164430 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 7.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "175436313 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.779, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "206770245 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 60.11, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "19009426 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 974.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1225932 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 978.2, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1221963 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 169.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7103899 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 157.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7583112 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 666.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1752127 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 645.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1848696 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 763929, "unit": "ns/op\t 373119 B/op\t 5606 allocs/op", "extra": "1555 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 94.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12643822 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44508520 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.148, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "331710895 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.702, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "443616716 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 157.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7587114 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 226.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5276892 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 158.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7554331 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 253724, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4514 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 220520, "unit": "ns/op\t 24605 B/op\t 1000 allocs/op", "extra": "5397 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 177598, "unit": "ns/op\t 708 B/op\t 0 allocs/op", "extra": "6656 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_1MB", "value": 1974, "unit": "ns/op\t 1871 B/op\t 13 allocs/op", "extra": "603692 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_10MB", "value": 1938, "unit": "ns/op\t 1904 B/op\t 13 allocs/op", "extra": "596286 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_50MB", "value": 1837, "unit": "ns/op\t 2044 B/op\t 13 allocs/op", "extra": "596616 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 490.1, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2445679 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 494.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2449390 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 439.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2764470 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 837, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1433886 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 545.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2192733 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 1921, "unit": "ns/op\t 312 B/op\t 7 allocs/op", "extra": "826268 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2150, "unit": "ns/op\t 580 B/op\t 7 allocs/op", "extra": "781503 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1486, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "840312 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1687, "unit": "ns/op\t 255 B/op\t 5 allocs/op", "extra": "823406 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1846, "unit": "ns/op\t 349 B/op\t 5 allocs/op", "extra": "900723 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 122.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9268537 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 106, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "11299816 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 48.39, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24293178 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 20.11, "unit": "ns/op\t 646.31 MB/s\t 0 B/op\t 0 allocs/op", "extra": "61037720 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 42.9, "unit": "ns/op\t 303.06 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27933204 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 750.9, "unit": "ns/op\t 512 B/op\t 6 allocs/op", "extra": "1572789 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 129.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9266510 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 514.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2347842 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 342.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3477794 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 384.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3025011 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1365, "unit": "ns/op\t 216 B/op\t 8 allocs/op", "extra": "746096 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 443.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2732443 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 859.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1503850 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 23849, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49039 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 23576, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "50200 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 41.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28986744 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 144.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8622175 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 73.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16211631 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 160.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7513596 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 19.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "57592162 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 21.22, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52669334 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 19.51, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "56411744 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 22.99, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47943153 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.93, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38955465 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 32.12, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "35338616 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 96.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12240205 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 116.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9883520 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 63.59, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "18507270 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 467.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2536088 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 31.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37642932 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.143, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 26.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "43632350 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.131, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 30.78, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36628916 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 78.84, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14843362 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 82.98, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14480931 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 144.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8346938 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 64.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18427918 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.188, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "146318072 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.207, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "994633652 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "297554464 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 26.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45188328 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 70.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16735482 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 99.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11835476 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 153.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7736119 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 102.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11503633 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 360.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3341065 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 85.47, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13958510 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 304.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3863048 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.828, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "248469597 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.523, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "262552450 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.216, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "349835818 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224330788 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.551, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "158494732 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.794, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "122959978 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 96.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12443576 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 118.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10331923 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4204, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.18, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21793354 times\n2 procs" } ] }, { "commit": { "author": { "email": "efectn@protonmail.com", "name": "M. Efe Çetin", "username": "efectn" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "fa887332189ea9dc0bec8c33be5cefe9e7c817ae", "message": ":bug: bug: fix PassLocalsToView when bind parameter is nil (#2651)\n\n* :bug: bug: fix PassLocalsToView when bind parameter is nil\r\n\r\n* fix linter", "timestamp": "2023-09-28T14:40:59+02:00", "tree_id": "80801d387dbfac91ef88742bdc1d4d741fc70650", "url": "https://github.com/gofiber/fiber/commit/fa887332189ea9dc0bec8c33be5cefe9e7c817ae" }, "date": 1695905326316, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1856, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "830912 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7907, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "145026 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 7031, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "173250 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 184.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6454496 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 243.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4874612 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 369.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3210938 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 315.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3857556 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 573.1, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2011537 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.618, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "327181132 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 27.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "39156097 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1397, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "845502 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1109, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 964.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1204670 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3579, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "317546 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1709, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "708276 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1538, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "690936 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 161, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7512777 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 262.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4660216 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 226.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5207680 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 489.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2427051 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3574, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "331108 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 722.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1649287 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 162.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7411597 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 217.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5604493 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 322.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3640873 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 295.3, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "3882099 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 529.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1926548 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 55.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22399340 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 109.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10743358 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 56.16, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20955459 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 69.67, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16993450 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 820.1, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1463486 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 90.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13347001 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 450.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2650693 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5337, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "221274 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 23.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "52427710 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 222.3, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5422816 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 400.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2977135 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 510.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2154050 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 4120, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "299678 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 195.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5881068 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1889, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "558192 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 319, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3599709 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1039, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1120, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1164, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "955203 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1092, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 256.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4708378 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.604, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "181024671 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 73.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16396956 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 62.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19061026 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 135.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8725222 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 149.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8156859 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 57.62, "unit": "ns/op\t 79 B/op\t 0 allocs/op", "extra": "23613499 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 206.1, "unit": "ns/op\t 85 B/op\t 1 allocs/op", "extra": "5656927 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 73.34, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16423515 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 13.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "95006400 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 516.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2128502 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4988, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "236074 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4181, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "282494 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5496, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "203622 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5525, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "216490 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1745, "unit": "ns/op\t 809 B/op\t 8 allocs/op", "extra": "638089 times\n2 procs" }, { "name": "Benchmark_Ctx_GetRespHeaders", "value": 673.2, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "1803122 times\n2 procs" }, { "name": "Benchmark_Ctx_GetReqHeaders", "value": 672.9, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "1764747 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1288, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "935006 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 95.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12909580 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 17.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "70218390 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 232, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5128208 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6833, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "173128 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7108, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "163051 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 211.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "5858485 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 64.43, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18447673 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 74.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16042570 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.964, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231828144 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.436, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "188179446 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.411, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "271236925 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 86.27, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13673502 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1177, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1226, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "986979 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 234.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4944757 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 216.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5589248 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 781.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1525243 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 788.8, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1568940 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1052502, "unit": "ns/op\t 373111 B/op\t 5606 allocs/op", "extra": "1167 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 124.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9257991 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 34.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "34341403 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.461, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "270942541 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.625, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "338479131 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 215.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5328454 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 278.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4230830 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 217.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5561937 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 334936, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3543 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 295364, "unit": "ns/op\t 24580 B/op\t 1000 allocs/op", "extra": "3814 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 225404, "unit": "ns/op\t 662 B/op\t 0 allocs/op", "extra": "5157 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_1MB", "value": 2495, "unit": "ns/op\t 1866 B/op\t 13 allocs/op", "extra": "497432 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_10MB", "value": 2438, "unit": "ns/op\t 1906 B/op\t 13 allocs/op", "extra": "488632 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_50MB", "value": 2378, "unit": "ns/op\t 2070 B/op\t 13 allocs/op", "extra": "500736 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 659.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1839422 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 650.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1804376 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 531.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2232157 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1017, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 643.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1788387 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2632, "unit": "ns/op\t 331 B/op\t 7 allocs/op", "extra": "688921 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 3046, "unit": "ns/op\t 644 B/op\t 7 allocs/op", "extra": "573900 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1732, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "669286 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2177, "unit": "ns/op\t 272 B/op\t 5 allocs/op", "extra": "694724 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2158, "unit": "ns/op\t 267 B/op\t 5 allocs/op", "extra": "729344 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 171.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6815505 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 147.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "7844288 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 68.82, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "17344140 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 27.79, "unit": "ns/op\t 467.81 MB/s\t 0 B/op\t 0 allocs/op", "extra": "40919940 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 54.44, "unit": "ns/op\t 238.79 MB/s\t 0 B/op\t 0 allocs/op", "extra": "21384462 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 994.4, "unit": "ns/op\t 512 B/op\t 6 allocs/op", "extra": "1291546 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 188.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6298227 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 612.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1896255 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 432.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2838942 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 470.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2518958 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1678, "unit": "ns/op\t 219 B/op\t 8 allocs/op", "extra": "612502 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 524.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2305768 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 1075, "unit": "ns/op\t 144 B/op\t 1 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 31063, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "38776 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 30632, "unit": "ns/op\t 8535 B/op\t 207 allocs/op", "extra": "38186 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 65.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18016186 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 194.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6079639 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 65.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18535834 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 169.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6953810 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 24.91, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44388120 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 29.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "41335033 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 25.05, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44622338 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 27.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "40075252 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 36.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "29377425 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 38.09, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "26300850 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 125.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9730396 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 134.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9062656 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 87.43, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13286152 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 632.1, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1908922 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 42.26, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28969419 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.416, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "829820346 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 35.39, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30843513 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.434, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "819825153 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 40.66, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "26756995 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 103, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11637051 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 120.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10393442 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 203.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5986166 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 80.83, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14476676 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.891, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "120219358 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.424, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "857457316 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 6.04, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "199400168 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 33.32, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "35872978 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 87.78, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13773763 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 121.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9877386 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 180.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6037228 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 121.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10127546 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 479.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2470689 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 123.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9535468 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 417.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2891827 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.878, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "418619335 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.655, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "207241740 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.656, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "333715028 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.459, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "181774590 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 10.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 10.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 102.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11221018 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 133.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8502762 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4212, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 62.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19346010 times\n2 procs" } ] }, { "commit": { "author": { "email": "Kaptinlin@gmail.com", "name": "KaptinLin", "username": "KaptinLin" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "d86c257c89fc320fdb95e4e2d0b9f35842106dda", "message": "✨ feat: add Delete method to Store struct in session middleware (#2655)\n\n* ✨ feat: add Delete method to Store struct in session middleware\r\n\r\n* ♻ refactor: enhance Delete method and test cases in session middleware", "timestamp": "2023-10-02T15:19:18+02:00", "tree_id": "60a6fb6d00996da4efba768c9eb46baf5c53ce63", "url": "https://github.com/gofiber/fiber/commit/d86c257c89fc320fdb95e4e2d0b9f35842106dda" }, "date": 1696253163163, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1576, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "847807 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5949, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "178941 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5481, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "207693 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 130, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8102936 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 172.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6987174 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 255.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4697889 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 217.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5414404 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 394.2, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2760297 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.366, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "507384020 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 15.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "78033127 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1021, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 842.3, "unit": "ns/op\t 128 B/op\t 4 allocs/op", "extra": "1467166 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 757.6, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1513254 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2692, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "428630 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1287, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "879884 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1272, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "969038 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 131.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9126994 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 193.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5860647 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 159.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7496691 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 377.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3184333 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2861, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "419776 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 630.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1897975 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 145, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8295198 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 167.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7174215 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 226.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "5245524 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 248.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5549434 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 377.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3153370 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 40.96, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25927188 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 77.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "15414622 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 39.76, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "29303222 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 52.99, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22664808 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 628.8, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1847904 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 60.39, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19818493 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 328.7, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3615822 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4280, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "280532 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "76161510 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 168.9, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "6880898 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 313.1, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3696871 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 418.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2852186 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3311, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "354530 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 146.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7495279 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1482, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "773883 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 253.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4672278 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 773.2, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1578823 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 804.9, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1354430 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 870.9, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1273310 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 824.8, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1460716 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 192.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6490479 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 4.648, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "258004084 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 54.23, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22286798 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 43.93, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "27131092 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 97.63, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12152028 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 115.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10342422 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 51.31, "unit": "ns/op\t 78 B/op\t 0 allocs/op", "extra": "24075532 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 159.3, "unit": "ns/op\t 83 B/op\t 1 allocs/op", "extra": "7341278 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 59.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19592215 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 8.292, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "144651226 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 374.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3201387 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3933, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "295742 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3278, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "350240 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4048, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "267660 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4202, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "306181 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1351, "unit": "ns/op\t 793 B/op\t 8 allocs/op", "extra": "787867 times\n2 procs" }, { "name": "Benchmark_Ctx_GetRespHeaders", "value": 489.9, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "2470438 times\n2 procs" }, { "name": "Benchmark_Ctx_GetReqHeaders", "value": 475.4, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "2402030 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1022, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 69.42, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17544298 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "87121047 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 150.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7055250 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5042, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "244035 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5370, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "240250 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 147.5, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7989661 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 49.94, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "24448129 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 51.83, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23108216 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.274, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "366416838 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 4.445, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "269596807 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.207, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "254155934 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 58.86, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "19965438 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 993.6, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1210576 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1005, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1213389 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 179.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6607359 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 167.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7207891 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 622.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1911380 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 640.9, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "2062278 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 769914, "unit": "ns/op\t 373104 B/op\t 5606 allocs/op", "extra": "1472 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 96.13, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14409472 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 25.69, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46723822 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.361, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "357959853 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "447215068 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 171.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7054998 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 220.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5481354 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 150.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7983315 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 267953, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4424 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 198067, "unit": "ns/op\t 24591 B/op\t 1000 allocs/op", "extra": "6415 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 150341, "unit": "ns/op\t 718 B/op\t 0 allocs/op", "extra": "6852 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_1MB", "value": 1960, "unit": "ns/op\t 1873 B/op\t 13 allocs/op", "extra": "590952 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_10MB", "value": 1942, "unit": "ns/op\t 1899 B/op\t 13 allocs/op", "extra": "619478 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_50MB", "value": 1868, "unit": "ns/op\t 2029 B/op\t 13 allocs/op", "extra": "632670 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 524.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2287350 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 525.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2284284 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 412.7, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2753170 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 767.9, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1548464 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 535.2, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2534214 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2300, "unit": "ns/op\t 396 B/op\t 7 allocs/op", "extra": "942135 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2380, "unit": "ns/op\t 574 B/op\t 7 allocs/op", "extra": "794302 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1332, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "773251 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1793, "unit": "ns/op\t 351 B/op\t 5 allocs/op", "extra": "891355 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1855, "unit": "ns/op\t 327 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 131.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9181048 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 108.2, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10347507 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 51.06, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "24460142 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 17.89, "unit": "ns/op\t 726.74 MB/s\t 0 B/op\t 0 allocs/op", "extra": "67425817 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.72, "unit": "ns/op\t 297.35 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27007142 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 718.5, "unit": "ns/op\t 512 B/op\t 6 allocs/op", "extra": "1755532 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 126.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8421170 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 468.7, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2555418 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 331, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3942060 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 387.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3081955 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1386, "unit": "ns/op\t 216 B/op\t 8 allocs/op", "extra": "731720 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 435.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2721906 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 796.1, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1508067 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24132, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "47696 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 22534, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "53316 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 42.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "28273311 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 119.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10192076 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 54.35, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22193436 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 143.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "8442522 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 16.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "68634850 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 17.84, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "63128768 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 16.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "64187055 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 19.9, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59148561 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 27.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "45364761 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 28.68, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "38380143 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.92, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12019994 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 97.06, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12168060 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 63.38, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "19639095 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 458.7, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2562403 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 28.25, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37361884 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 0.9607, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 25.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "49114644 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.036, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 29.74, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37991668 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 75.36, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "15300614 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 96.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14058849 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 137.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8772387 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 62.18, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18419232 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 7.404, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "161725398 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.035, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 3.557, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "337838119 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "57956152 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 65.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "18072988 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 73.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16242705 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 136.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "9035833 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 91.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13523018 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 347.6, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3476170 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 85.23, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "14182657 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 280.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4243430 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.776, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "319297874 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.369, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275030846 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.517, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "421728915 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 4.585, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "261749820 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 6.575, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "182328720 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 6.968, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "171492478 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 72.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16613094 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 96.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12320695 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3287, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 53.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23453182 times\n2 procs" } ] }, { "commit": { "author": { "email": "Kaptinlin@gmail.com", "name": "KaptinLin", "username": "KaptinLin" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "d00f0b834830f7d57f194e59519f3604201e5068", "message": "✨ feat: add Reset method to Session struct in session middleware (#2654)", "timestamp": "2023-10-02T15:19:35+02:00", "tree_id": "c57314ab068bbe8521c844a1942aa43818a0e7cf", "url": "https://github.com/gofiber/fiber/commit/d00f0b834830f7d57f194e59519f3604201e5068" }, "date": 1696253274135, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1963, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "609712 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7083, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "142402 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6711, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "173126 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 176.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6801306 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 237.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4961385 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 348.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3297813 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 303.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3999135 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 554.1, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2158446 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.251, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373364668 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 21.57, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "56459904 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1424, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "834283 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1100, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 1012, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3497, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "337838 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1749, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "634885 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1556, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "797550 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 164.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7343282 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 255.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4550558 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 221.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5190777 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 474.5, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2561121 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3523, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "330813 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 759.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1582106 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 172.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6921568 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 202, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5784976 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 298.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3880077 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 284.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4174010 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 533.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2375947 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 58.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21520922 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 107.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11258143 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 53.13, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21798061 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 65.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17984920 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 862.2, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1410966 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 81.88, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13883500 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 425, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2797204 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5428, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "218570 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 19.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "62080455 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 217.1, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5516437 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 403.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3080511 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 534.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2241886 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3858, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "298440 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 183.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6238768 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1663, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "667054 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 321.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3774331 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1008, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1215050 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1176, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "954271 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1149, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "921882 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1080, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1145848 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 257.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4872387 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.575, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "181747153 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 74.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16391690 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 61.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19370542 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 142.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8827165 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 147.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7922427 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 70.61, "unit": "ns/op\t 81 B/op\t 0 allocs/op", "extra": "18531810 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 208.5, "unit": "ns/op\t 84 B/op\t 1 allocs/op", "extra": "5747865 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 75.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16131195 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 477.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2427444 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 5140, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "234376 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4051, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "292881 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5356, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "202532 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5284, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "223651 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1705, "unit": "ns/op\t 811 B/op\t 8 allocs/op", "extra": "672903 times\n2 procs" }, { "name": "Benchmark_Ctx_GetRespHeaders", "value": 644.8, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "1968482 times\n2 procs" }, { "name": "Benchmark_Ctx_GetReqHeaders", "value": 655.4, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "1832626 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1221, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "976546 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 85.95, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13703882 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 17.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "71344308 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 205.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5767364 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6702, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "179878 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6858, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "173809 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 195.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6110454 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 65.94, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "17734656 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 70.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16988521 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.586, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "256899928 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.373, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "191290858 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.727, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "205481180 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 82.21, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13297089 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1239, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1270, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 229.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5359994 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 199.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5979990 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 750, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1656460 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 735.3, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1636753 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1009092, "unit": "ns/op\t 373108 B/op\t 5606 allocs/op", "extra": "1197 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 120.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10291944 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 32.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37802352 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.077, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "291456050 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.343, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "373266295 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 212.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5957050 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 308.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3980912 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 201, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5874622 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 335340, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3651 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 265488, "unit": "ns/op\t 24555 B/op\t 1000 allocs/op", "extra": "4622 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 205238, "unit": "ns/op\t 688 B/op\t 0 allocs/op", "extra": "5926 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_1MB", "value": 2485, "unit": "ns/op\t 1861 B/op\t 13 allocs/op", "extra": "427976 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_10MB", "value": 2492, "unit": "ns/op\t 1912 B/op\t 13 allocs/op", "extra": "469963 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_50MB", "value": 2391, "unit": "ns/op\t 2076 B/op\t 13 allocs/op", "extra": "492216 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 660.4, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1829233 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 668.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1820035 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 547.3, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2243011 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1089, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 674.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1817360 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2643, "unit": "ns/op\t 332 B/op\t 7 allocs/op", "extra": "683442 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2853, "unit": "ns/op\t 591 B/op\t 7 allocs/op", "extra": "648793 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1725, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "737362 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2216, "unit": "ns/op\t 273 B/op\t 5 allocs/op", "extra": "689748 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2271, "unit": "ns/op\t 264 B/op\t 5 allocs/op", "extra": "748830 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 154.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7371003 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 143.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8572759 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 64.4, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "17617868 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 24.17, "unit": "ns/op\t 537.92 MB/s\t 0 B/op\t 0 allocs/op", "extra": "49675093 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 53.15, "unit": "ns/op\t 244.58 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22911390 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 899.2, "unit": "ns/op\t 512 B/op\t 6 allocs/op", "extra": "1299912 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 169.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6730122 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 652.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "1900812 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 430.6, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2697672 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 484.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2493151 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1764, "unit": "ns/op\t 219 B/op\t 8 allocs/op", "extra": "586201 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 523.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2246911 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 1004, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 30853, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "38833 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 31089, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "39310 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 57.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20799801 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 163.9, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7282212 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 73.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16107133 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 204.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "5639412 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 22.74, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47628844 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 25.06, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44325775 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 22.84, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48203020 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 25.89, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44613018 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 34.46, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32931273 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 36.01, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32047650 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 119.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10012882 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 138.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9102484 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 86.55, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "12571891 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 662.4, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1825558 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 38.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31154602 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.336, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "918872965 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 33.84, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32606226 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.407, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "852667448 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 39.33, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "28438528 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 98.47, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11189410 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 118.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10450000 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 192.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6157371 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 84.22, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14079832 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 10.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.409, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "827575682 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.842, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "239011753 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 29.16, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "40490922 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 90.37, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13326555 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 107.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11465539 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 182.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6365046 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 122, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9741169 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 444.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2733302 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 109.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11367115 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 360.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3281972 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.785, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "266095887 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.457, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "218987991 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.509, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "343184832 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "182535908 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.394, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128359515 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.532, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125050476 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 98.46, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12178282 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 131.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9136610 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4496, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 66.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17687989 times\n2 procs" } ] }, { "commit": { "author": { "email": "tiago.peczenyj@gmail.com", "name": "Tiago Peczenyj", "username": "peczenyj" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "9230be3649d0e0c8612cf907b92901541467a1a4", "message": "Fix jsonp ignoring custom json encoder (#2658)\n\n* add unit test to trigger the bug #2675\r\n\r\n* implement solution", "timestamp": "2023-10-05T10:09:29+02:00", "tree_id": "403f7a9816bab2ffd0ed11bb7214b08a1682ab81", "url": "https://github.com/gofiber/fiber/commit/9230be3649d0e0c8612cf907b92901541467a1a4" }, "date": 1696493809899, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 2188, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "534526 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 8272, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "146378 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6611, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "188245 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 175.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6764695 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 232.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5050474 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 355, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3457762 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 297.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4062787 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 576.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2129172 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.466, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "349463593 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 26.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "46882174 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1315, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "913119 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1117, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 938.2, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1268721 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3437, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "331765 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1797, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "673864 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1518, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "744242 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 153.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7718300 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 249.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4835187 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 214.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5630482 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 466.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2558281 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3320, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "348198 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 680.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1767103 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 157.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7546580 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 223.6, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5680633 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 307.5, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3734143 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 280.5, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4321648 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 516, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2326468 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 54.82, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "22608708 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 101.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11916997 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 53.79, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "21715407 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 63.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19342718 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 803.1, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1523548 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 90.66, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13455369 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 421, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2878902 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5150, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "221911 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 21.84, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "56876433 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 224, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5726017 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 377.2, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3013524 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 503.6, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2375398 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3759, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "321050 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 180.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6495900 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1714, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "680163 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 310.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3885232 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1003, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1076, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1312, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "917370 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1056, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 242.7, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5065195 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.531, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "179590594 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 72.51, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16885974 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 55.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21905416 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 122.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9870804 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 141.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8407156 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 42.43, "unit": "ns/op\t 72 B/op\t 0 allocs/op", "extra": "32319046 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 190.8, "unit": "ns/op\t 81 B/op\t 1 allocs/op", "extra": "6020244 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 70.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17250496 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 12.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "98779959 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 472.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2413428 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 5058, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "250603 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3942, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "286897 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5120, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "221620 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5193, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "228596 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1668, "unit": "ns/op\t 807 B/op\t 8 allocs/op", "extra": "681744 times\n2 procs" }, { "name": "Benchmark_Ctx_GetRespHeaders", "value": 630, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "1908072 times\n2 procs" }, { "name": "Benchmark_Ctx_GetReqHeaders", "value": 641.8, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "1853602 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1198, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 90.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13203370 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77332636 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 226.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5428674 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6474, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "174193 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6573, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "181819 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 209.6, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "5727340 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 65.63, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "17891944 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 71.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16581535 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.932, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "239902670 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.139, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "193478200 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 6.625, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "181595582 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 88.62, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13636263 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1160, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1167, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "991815 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 216.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5475006 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 199.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5706087 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 757.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1574630 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 755.2, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1607094 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 981132, "unit": "ns/op\t 373114 B/op\t 5606 allocs/op", "extra": "1236 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 119.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10040604 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 33.14, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37325252 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.269, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "284357623 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.437, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "348952563 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 198.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6026358 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 275.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4307887 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 199.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6062977 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 320633, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3626 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 258199, "unit": "ns/op\t 24573 B/op\t 1000 allocs/op", "extra": "4717 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 201240, "unit": "ns/op\t 704 B/op\t 0 allocs/op", "extra": "6103 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_1MB", "value": 2349, "unit": "ns/op\t 1872 B/op\t 13 allocs/op", "extra": "469479 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_10MB", "value": 2283, "unit": "ns/op\t 1901 B/op\t 13 allocs/op", "extra": "507836 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_50MB", "value": 2220, "unit": "ns/op\t 2073 B/op\t 13 allocs/op", "extra": "497294 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 610.7, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1849201 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 625.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1844527 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 517.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2387877 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1038, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1235236 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 616.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1932325 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2540, "unit": "ns/op\t 327 B/op\t 7 allocs/op", "extra": "711825 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2880, "unit": "ns/op\t 590 B/op\t 7 allocs/op", "extra": "649809 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1646, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "706316 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2215, "unit": "ns/op\t 275 B/op\t 5 allocs/op", "extra": "680029 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2137, "unit": "ns/op\t 261 B/op\t 5 allocs/op", "extra": "769354 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 164, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7309333 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 140.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "7804947 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 69.79, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "17730052 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 27.13, "unit": "ns/op\t 479.21 MB/s\t 0 B/op\t 0 allocs/op", "extra": "45968719 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 51.99, "unit": "ns/op\t 250.06 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23190513 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 897.8, "unit": "ns/op\t 512 B/op\t 6 allocs/op", "extra": "1341016 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 176.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6922990 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 593.9, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2078700 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 400.5, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2967307 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 458.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2613994 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1573, "unit": "ns/op\t 218 B/op\t 8 allocs/op", "extra": "644836 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 514.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2249179 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 889.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1382709 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 33482, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "32881 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 36316, "unit": "ns/op\t 8535 B/op\t 207 allocs/op", "extra": "34076 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 63.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18260011 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 184.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6225376 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 62.86, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19378621 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 164.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6703057 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 24.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "46515062 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 26.88, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "43718907 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 24.78, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47847349 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 27.79, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "38943151 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 35.09, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34014608 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 37.64, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31911934 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 120.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9619087 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 129.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8972216 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 81.13, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14760913 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 634.6, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1933112 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 40.02, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "29552479 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.316, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "914361202 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 32.36, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "36009577 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.364, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "880115641 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 43.09, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "25267638 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 99.73, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11872189 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 114.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10675422 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 191.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6379305 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 80.28, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14495913 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 10.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "100000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.349, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "898349533 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.786, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "210123973 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 31.89, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37112055 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 87.38, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13833568 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 115, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10599870 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 183.8, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6542850 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 114.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10461189 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 467.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2563347 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 126.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9959262 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 399, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3025996 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "427371456 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.511, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "218366013 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.435, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "347876601 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.196, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "195931548 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.794, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "133934893 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.68, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "125835944 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 101.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12330588 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 131.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9326094 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4307, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 60.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20345174 times\n2 procs" } ] }, { "commit": { "author": { "email": "tpeczenyj@weborama.com", "name": "Tiago Peczenyj", "username": "peczenyj" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "d25dfa4ce7ff547da20cba4c8fe12dcf0e68f93d", "message": "apply go fix ./... with latest version of go in repository (#2661)\n\napply go fix ./...", "timestamp": "2023-10-05T12:24:59+02:00", "tree_id": "c8555647f9a716495b3facfc5e29630cefc1a7dd", "url": "https://github.com/gofiber/fiber/commit/d25dfa4ce7ff547da20cba4c8fe12dcf0e68f93d" }, "date": 1696501912457, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1690, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "758148 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 5389, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "202296 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 5558, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "212384 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 146.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7924090 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 195, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6077018 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 290.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4102264 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 242.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4927081 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 444.8, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2497558 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 2.681, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446944374 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 17.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "64042206 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1142, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 934.4, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1313103 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 804.4, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1494157 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 2834, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "397030 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1385, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "800317 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1266, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "939098 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 131.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9120322 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 210.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5688055 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 180.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6659440 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 394.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3082666 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 2832, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "400346 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 632.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1896199 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 140.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8595592 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 170.1, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "7070944 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 242.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4968397 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 235.7, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5107785 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 419.6, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2939289 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 46.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "25905334 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 87.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13690184 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 42.29, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "26745247 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 52.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "23158657 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 676.3, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1738749 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 73.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16328949 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 341.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3475921 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 4342, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "269101 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 15.71, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "77462268 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 173.6, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "7010256 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 311.8, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3790716 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 422.9, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2813250 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3445, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "359251 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 152.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7556541 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1397, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "784328 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 256.3, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4670745 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 810.9, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1493245 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 889.3, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1265412 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 930.4, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1290943 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 901.6, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1375604 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 202.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "5973789 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 5.277, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "228169129 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 61.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19617793 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 48.53, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24452923 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 110.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10908501 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 115.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10406190 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 41.04, "unit": "ns/op\t 70 B/op\t 0 allocs/op", "extra": "26654804 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 170.9, "unit": "ns/op\t 87 B/op\t 1 allocs/op", "extra": "6908618 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 59.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19655654 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 9.725, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "122890078 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 372.8, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "3129348 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 3973, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "296649 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3443, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "353299 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 4297, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "270315 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 4279, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "264908 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1447, "unit": "ns/op\t 807 B/op\t 8 allocs/op", "extra": "782542 times\n2 procs" }, { "name": "Benchmark_Ctx_GetRespHeaders", "value": 500.8, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "2365861 times\n2 procs" }, { "name": "Benchmark_Ctx_GetReqHeaders", "value": 538.9, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "1910930 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1028, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 66.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17912904 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 14.61, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "80750972 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 171.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6978324 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 5504, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "214621 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 5711, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "213020 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 156.7, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "7598253 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 53.26, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "22337251 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 57.74, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20894722 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 3.694, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "324612146 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 4.955, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "238021611 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253969616 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 71.04, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17266546 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1011, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1001, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1202355 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 178, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6730994 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 163.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7310174 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 647.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1866564 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 654.4, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1880298 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 826927, "unit": "ns/op\t 373116 B/op\t 5606 allocs/op", "extra": "1418 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 97.58, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12380382 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 26.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45640153 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.37, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "357453817 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 2.686, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "446831613 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 163.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7352012 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 245.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4797384 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 166.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7226486 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 266395, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4435 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 213306, "unit": "ns/op\t 24607 B/op\t 1000 allocs/op", "extra": "5608 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 163853, "unit": "ns/op\t 639 B/op\t 0 allocs/op", "extra": "7050 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_1MB", "value": 2032, "unit": "ns/op\t 1876 B/op\t 13 allocs/op", "extra": "576109 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_10MB", "value": 2010, "unit": "ns/op\t 1906 B/op\t 13 allocs/op", "extra": "588541 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_50MB", "value": 1979, "unit": "ns/op\t 2060 B/op\t 13 allocs/op", "extra": "518708 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 528.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2284886 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 527.5, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "2287723 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 440.5, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2703682 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 855.5, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1394176 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 537.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2237809 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2142, "unit": "ns/op\t 316 B/op\t 7 allocs/op", "extra": "790341 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2370, "unit": "ns/op\t 591 B/op\t 7 allocs/op", "extra": "756744 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1408, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "900523 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1724, "unit": "ns/op\t 253 B/op\t 5 allocs/op", "extra": "841302 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1929, "unit": "ns/op\t 358 B/op\t 5 allocs/op", "extra": "866264 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 131, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9145998 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 111.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "10609150 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 53.83, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "22924436 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 20.28, "unit": "ns/op\t 640.91 MB/s\t 0 B/op\t 0 allocs/op", "extra": "59757190 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 43.67, "unit": "ns/op\t 297.68 MB/s\t 0 B/op\t 0 allocs/op", "extra": "27481855 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 754, "unit": "ns/op\t 512 B/op\t 6 allocs/op", "extra": "1621500 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 142.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8434898 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 502.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2225653 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 339.3, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "3508448 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 389.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3066524 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1408, "unit": "ns/op\t 207 B/op\t 7 allocs/op", "extra": "866940 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 434.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2753232 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 784, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1461260 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 24439, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "48812 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 25201, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "49255 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 47.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "24794444 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 131.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9108820 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.54, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19535317 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 166, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7401877 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 18.12, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "59472578 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 19.94, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "53076447 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 18.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "58869216 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 20.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "52825738 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 28.27, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39877315 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 29.96, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39848049 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 99.85, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12012382 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 109.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10883044 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 68.43, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "17062364 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 533.4, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2304037 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 32.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37574654 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.09, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 27.21, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "39667326 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.172, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 33.17, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33192656 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 80.75, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "14484673 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 100.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11955224 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 158.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7535596 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 66.06, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "17367337 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 8.482, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "141444924 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.173, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.027, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "298701946 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 23.43, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "50910860 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 71.52, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "16857973 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 83.22, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14225222 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 146, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "8111481 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 96.09, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "12063162 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 349.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3432727 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 92.98, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "13563926 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 288.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "4232319 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 3.853, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "316915765 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 4.365, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "274639300 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 2.853, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "421327388 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 5.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "231076578 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 7.454, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "161338116 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 7.972, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "150564482 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 81.97, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14602221 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 109.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10941958 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3719, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 55.65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21552118 times\n2 procs" } ] }, { "commit": { "author": { "email": "tpeczenyj@weborama.com", "name": "Tiago Peczenyj", "username": "peczenyj" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "ab4e73160777e133d4307c6804011fc3ce9b4b12", "message": "Run gofumpt and goimports (#2662)\n\n* run goimports -w -local github.com/gofiber/fiber .\r\n\r\n* run gofumpt -w -extra .", "timestamp": "2023-10-05T13:14:30+02:00", "tree_id": "6d5d06484e45bcca743486b85682776092c4139e", "url": "https://github.com/gofiber/fiber/commit/ab4e73160777e133d4307c6804011fc3ce9b4b12" }, "date": 1696504894146, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1796, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "600020 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 7162, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "146407 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6462, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "183381 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 173.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6650251 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 224.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5159482 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 356.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3417675 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 290.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4055113 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 548.4, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2017147 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.398, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "354117416 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 25.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "45606012 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1312, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "917412 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1037, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 1002, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3852, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "320599 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1709, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "766033 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1435, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "807940 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 154.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7863753 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 249.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4935063 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 228.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5149453 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 470.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2425867 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 4118, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "319512 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 723.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1630464 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 173.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7385104 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 230.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4940055 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 335.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "3381214 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 294.8, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4097655 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 569.4, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2217415 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 57.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20411199 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 109, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11188232 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 60.13, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "20129482 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 71.03, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16264237 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 831.1, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1392998 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 94.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12747040 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 471.9, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2495853 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5717, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "195798 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 22.77, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "50127204 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 240, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "4898398 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 415.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2870572 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 525, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2233881 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 4255, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "240670 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 192.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6076413 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1732, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "645442 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 317.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3710931 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 1070, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1166, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1097058 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1200, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "976687 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1091, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 260.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4843191 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.472, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "178581226 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 72.59, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16466175 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 61.17, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19476050 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 135.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8484639 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 154.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8332219 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 51.49, "unit": "ns/op\t 80 B/op\t 0 allocs/op", "extra": "23214865 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 217.5, "unit": "ns/op\t 90 B/op\t 1 allocs/op", "extra": "5312575 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 76.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16042118 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 13.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "93122643 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 546.4, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2229505 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 5139, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "217118 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 4269, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "284122 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5529, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "217904 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5509, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "221506 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1780, "unit": "ns/op\t 810 B/op\t 8 allocs/op", "extra": "621808 times\n2 procs" }, { "name": "Benchmark_Ctx_GetRespHeaders", "value": 669.5, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "1721164 times\n2 procs" }, { "name": "Benchmark_Ctx_GetReqHeaders", "value": 660.6, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "1817635 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1290, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "947340 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 91.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "13153375 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 16.94, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "63526788 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 231.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5078758 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6908, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "168050 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 7128, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "167589 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 199.8, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6047112 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 64.37, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18534132 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 73.36, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16646798 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.892, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "232726569 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 6.75, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "176772483 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 4.497, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "271350340 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 88.53, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "13491483 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1255, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1250, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "964006 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 236.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5133592 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 206.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5929020 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 769.5, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1578972 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 758.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1553030 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 1088904, "unit": "ns/op\t 373121 B/op\t 5606 allocs/op", "extra": "1212 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 117.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10071110 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 33.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "37123650 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 4.363, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "287791794 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.547, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "351253359 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 197.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5997764 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 268.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4348534 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 201.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6100930 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 328423, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3459 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 269883, "unit": "ns/op\t 24556 B/op\t 1000 allocs/op", "extra": "4603 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 215384, "unit": "ns/op\t 646 B/op\t 0 allocs/op", "extra": "5680 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_1MB", "value": 2303, "unit": "ns/op\t 1859 B/op\t 13 allocs/op", "extra": "437043 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_10MB", "value": 2447, "unit": "ns/op\t 1893 B/op\t 13 allocs/op", "extra": "557971 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_50MB", "value": 2276, "unit": "ns/op\t 2053 B/op\t 13 allocs/op", "extra": "537796 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 587.9, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1993490 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 601.6, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1962106 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 515.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2354167 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1010, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1201326 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 644.1, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1925742 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2689, "unit": "ns/op\t 357 B/op\t 7 allocs/op", "extra": "577520 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2856, "unit": "ns/op\t 612 B/op\t 7 allocs/op", "extra": "616147 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1630, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "686755 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 2208, "unit": "ns/op\t 272 B/op\t 5 allocs/op", "extra": "696740 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 2322, "unit": "ns/op\t 269 B/op\t 5 allocs/op", "extra": "712501 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 173.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7211929 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 145.5, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "7967474 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 65.66, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "17863282 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 26.4, "unit": "ns/op\t 492.42 MB/s\t 0 B/op\t 0 allocs/op", "extra": "45980643 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 50.28, "unit": "ns/op\t 258.55 MB/s\t 0 B/op\t 0 allocs/op", "extra": "23392963 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 914.4, "unit": "ns/op\t 512 B/op\t 6 allocs/op", "extra": "1408424 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 175.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6781980 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 583.3, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2113952 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 397.8, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2967256 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 446.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2686429 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1593, "unit": "ns/op\t 207 B/op\t 7 allocs/op", "extra": "771788 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 528.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2302152 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 923.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1343478 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 32599, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "38514 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 31872, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "40054 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 61.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19473322 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 173.8, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6902042 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 61.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20664584 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 162.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7439126 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 23.17, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47075120 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 24.86, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "47574548 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 23.11, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "48281829 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 26.22, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "45854251 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 33.83, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32887611 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 33.52, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "33192619 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 115.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10288923 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 122, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9863116 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 79.21, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "13895566 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 589, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "2015299 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 39.15, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31220306 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.318, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "946220269 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 30.87, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "37208617 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.313, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "947623543 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 37.03, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "30397898 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 93.74, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "12471474 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 106.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11248466 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 182.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6811146 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 77.02, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "15582084 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.586, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "124389345 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.381, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "879181494 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 5.945, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "200727703 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 30.78, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "36535018 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 86.76, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14569764 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 114.6, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9932823 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 165.4, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "6877357 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 117.1, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "9876488 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 445.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2584004 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 116.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10529990 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 375.7, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3151063 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 2.674, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "445694638 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.313, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "224563687 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.462, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "352865588 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.059, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "204292748 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 9.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "127984609 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.194, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "128842897 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 97.48, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12452529 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 124.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9308851 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.3782, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 56.52, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "20750920 times\n2 procs" } ] }, { "commit": { "author": { "email": "tpeczenyj@weborama.com", "name": "Tiago Peczenyj", "username": "peczenyj" }, "committer": { "email": "noreply@github.com", "name": "GitHub", "username": "web-flow" }, "distinct": true, "id": "0d3354675bbd9e47e5023a1b905d0c35315a8205", "message": "Fix loop variable captured by func literal (#2660)\n\n* fix loop variable xxx captured by func literal\r\n\r\n* fix middleware/pprof tests", "timestamp": "2023-10-05T13:49:57+02:00", "tree_id": "1b450872bf0d8e7ae122ce5d510fbcdedf969b43", "url": "https://github.com/gofiber/fiber/commit/0d3354675bbd9e47e5023a1b905d0c35315a8205" }, "date": 1696507033824, "tool": "go", "benches": [ { "name": "Benchmark_AcquireCtx", "value": 1830, "unit": "ns/op\t 1568 B/op\t 5 allocs/op", "extra": "891568 times\n2 procs" }, { "name": "Benchmark_App_ETag", "value": 6933, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "150064 times\n2 procs" }, { "name": "Benchmark_App_ETag_Weak", "value": 6482, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "182997 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsCharsets", "value": 176.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6741718 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsEncodings", "value": 237.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5119575 times\n2 procs" }, { "name": "Benchmark_Ctx_AcceptsLanguages", "value": 349.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3384986 times\n2 procs" }, { "name": "Benchmark_Ctx_Append", "value": 288.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4026142 times\n2 procs" }, { "name": "Benchmark_Ctx_Attachment", "value": 544.9, "unit": "ns/op\t 104 B/op\t 2 allocs/op", "extra": "2160560 times\n2 procs" }, { "name": "Benchmark_Ctx_BaseURL", "value": 3.201, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "374219680 times\n2 procs" }, { "name": "Benchmark_Ctx_Body", "value": 21.47, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "55938878 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/gzip", "value": 1358, "unit": "ns/op\t 145 B/op\t 7 allocs/op", "extra": "873577 times\n2 procs" }, { "name": "Benchmark_Ctx_Body_With_Compression/deflate", "value": 1096, "unit": "ns/op\t 129 B/op\t 4 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_JSON", "value": 949.1, "unit": "ns/op\t 240 B/op\t 6 allocs/op", "extra": "1237794 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_XML", "value": 3359, "unit": "ns/op\t 1160 B/op\t 24 allocs/op", "extra": "339426 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_Form", "value": 1655, "unit": "ns/op\t 360 B/op\t 13 allocs/op", "extra": "673707 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyParser_MultipartForm", "value": 1493, "unit": "ns/op\t 328 B/op\t 12 allocs/op", "extra": "739656 times\n2 procs" }, { "name": "Benchmark_Ctx_Cookie", "value": 155.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7716332 times\n2 procs" }, { "name": "Benchmark_Ctx_Format", "value": 246.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "4899786 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_HTML", "value": 212, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5603928 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_JSON", "value": 463.6, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "2555950 times\n2 procs" }, { "name": "Benchmark_Ctx_Format_XML", "value": 3402, "unit": "ns/op\t 4480 B/op\t 7 allocs/op", "extra": "305695 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_StaleEtag", "value": 742, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1608586 times\n2 procs" }, { "name": "Benchmark_Ctx_Fresh_WithNoCache", "value": 164.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7192730 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs", "value": 201.2, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "5487762 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6", "value": 287.2, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "4209708 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_With_IP_Validation", "value": 277.4, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "4317267 times\n2 procs" }, { "name": "Benchmark_Ctx_IPs_v6_With_IP_Validation", "value": 496.7, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "2503294 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader", "value": 55.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21412369 times\n2 procs" }, { "name": "Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation", "value": 103.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "11625961 times\n2 procs" }, { "name": "Benchmark_Ctx_IP", "value": 50.62, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "23331081 times\n2 procs" }, { "name": "Benchmark_Ctx_Is", "value": 63.64, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18620746 times\n2 procs" }, { "name": "Benchmark_Ctx_MultipartForm", "value": 799.4, "unit": "ns/op\t 48 B/op\t 4 allocs/op", "extra": "1496852 times\n2 procs" }, { "name": "Benchmark_Ctx_Params", "value": 86.27, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14192782 times\n2 procs" }, { "name": "Benchmark_Ctx_AllParams", "value": 407.1, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2949114 times\n2 procs" }, { "name": "Benchmark_Ctx_ParamsParse", "value": 5237, "unit": "ns/op\t 816 B/op\t 39 allocs/op", "extra": "229154 times\n2 procs" }, { "name": "Benchmark_Ctx_Protocol", "value": 19.05, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "63526821 times\n2 procs" }, { "name": "Benchmark_Ctx_Subdomains", "value": 205.5, "unit": "ns/op\t 64 B/op\t 1 allocs/op", "extra": "5880088 times\n2 procs" }, { "name": "Benchmark_Ctx_JSON", "value": 375.7, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "3223790 times\n2 procs" }, { "name": "Benchmark_Ctx_JSONP", "value": 509.5, "unit": "ns/op\t 56 B/op\t 2 allocs/op", "extra": "2408538 times\n2 procs" }, { "name": "Benchmark_Ctx_XML", "value": 3882, "unit": "ns/op\t 4600 B/op\t 10 allocs/op", "extra": "262146 times\n2 procs" }, { "name": "Benchmark_Ctx_Links", "value": 193.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5872647 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderWithLocalsAndBinding", "value": 1650, "unit": "ns/op\t 464 B/op\t 8 allocs/op", "extra": "664100 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRoute", "value": 305.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "3932252 times\n2 procs" }, { "name": "Benchmark_Ctx_RedirectToRouteWithQueries", "value": 997.6, "unit": "ns/op\t 376 B/op\t 4 allocs/op", "extra": "1227097 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderLocals", "value": 1165, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_RenderBind", "value": 1124, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "905242 times\n2 procs" }, { "name": "Benchmark_Ctx_Render_Engine", "value": 1034, "unit": "ns/op\t 432 B/op\t 6 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Ctx_Get_Location_From_Route", "value": 244.2, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "4914544 times\n2 procs" }, { "name": "Benchmark_Ctx_Send", "value": 6.246, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "190622109 times\n2 procs" }, { "name": "Benchmark_Ctx_Set", "value": 73.07, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16296886 times\n2 procs" }, { "name": "Benchmark_Ctx_Type", "value": 60.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "19520544 times\n2 procs" }, { "name": "Benchmark_Ctx_Type_Charset", "value": 132.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9097078 times\n2 procs" }, { "name": "Benchmark_Ctx_Vary", "value": 136.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "8948754 times\n2 procs" }, { "name": "Benchmark_Ctx_Write", "value": 65.7, "unit": "ns/op\t 75 B/op\t 0 allocs/op", "extra": "19838850 times\n2 procs" }, { "name": "Benchmark_Ctx_Writef", "value": 197.4, "unit": "ns/op\t 84 B/op\t 1 allocs/op", "extra": "5772451 times\n2 procs" }, { "name": "Benchmark_Ctx_XHR", "value": 69.56, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "17407892 times\n2 procs" }, { "name": "Benchmark_Ctx_SendString_B", "value": 11.38, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "96285783 times\n2 procs" }, { "name": "Benchmark_Ctx_Queries", "value": 432.6, "unit": "ns/op\t 336 B/op\t 2 allocs/op", "extra": "2735430 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser", "value": 4710, "unit": "ns/op\t 856 B/op\t 38 allocs/op", "extra": "254232 times\n2 procs" }, { "name": "Benchmark_Ctx_parseQuery", "value": 3841, "unit": "ns/op\t 752 B/op\t 29 allocs/op", "extra": "288165 times\n2 procs" }, { "name": "Benchmark_Ctx_QueryParser_Comma", "value": 5082, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "226924 times\n2 procs" }, { "name": "Benchmark_Ctx_ReqHeaderParser", "value": 5030, "unit": "ns/op\t 928 B/op\t 44 allocs/op", "extra": "227630 times\n2 procs" }, { "name": "Benchmark_Ctx_BodyStreamWriter", "value": 1576, "unit": "ns/op\t 800 B/op\t 8 allocs/op", "extra": "689803 times\n2 procs" }, { "name": "Benchmark_Ctx_GetRespHeaders", "value": 584.4, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "2004496 times\n2 procs" }, { "name": "Benchmark_Ctx_GetReqHeaders", "value": 596.9, "unit": "ns/op\t 448 B/op\t 5 allocs/op", "extra": "2024544 times\n2 procs" }, { "name": "Benchmark_Utils_GetOffer", "value": 1198, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "999402 times\n2 procs" }, { "name": "Benchmark_Utils_GetSplicedStrList", "value": 79.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "14986564 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Sorted", "value": 17.21, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "68838474 times\n2 procs" }, { "name": "Benchmark_Utils_SortAcceptedTypes_Unsorted", "value": 200.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6019028 times\n2 procs" }, { "name": "Benchmark_Utils_ETag", "value": 6402, "unit": "ns/op\t 1044 B/op\t 3 allocs/op", "extra": "182330 times\n2 procs" }, { "name": "Benchmark_Utils_ETag_Weak", "value": 6327, "unit": "ns/op\t 1068 B/op\t 4 allocs/op", "extra": "186075 times\n2 procs" }, { "name": "Benchmark_Utils_getGroupPath", "value": 176.4, "unit": "ns/op\t 96 B/op\t 2 allocs/op", "extra": "6736170 times\n2 procs" }, { "name": "Benchmark_Utils_Unescape", "value": 61.93, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "18801912 times\n2 procs" }, { "name": "Benchmark_Utils_IsNoCache", "value": 67.91, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16875132 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/indexBytes", "value": 4.337, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "272082109 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/forEach", "value": 5.917, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "203165730 times\n2 procs" }, { "name": "Benchmark_SlashRecognition/IndexRune", "value": 5.704, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "211125310 times\n2 procs" }, { "name": "Benchmark_Utils_RemoveEscapeChar", "value": 82.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14079655 times\n2 procs" }, { "name": "Benchmark_App_MethodNotAllowed", "value": 1165, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_NotFound", "value": 1161, "unit": "ns/op\t 80 B/op\t 3 allocs/op", "extra": "1000000 times\n2 procs" }, { "name": "Benchmark_Router_Handler", "value": 210.7, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5596402 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Strict_Case", "value": 193.2, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6305713 times\n2 procs" }, { "name": "Benchmark_Router_Chain", "value": 702.1, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1734859 times\n2 procs" }, { "name": "Benchmark_Router_WithCompression", "value": 695.6, "unit": "ns/op\t 48 B/op\t 3 allocs/op", "extra": "1747965 times\n2 procs" }, { "name": "Benchmark_Startup_Process", "value": 943879, "unit": "ns/op\t 373104 B/op\t 5606 allocs/op", "extra": "1254 times\n2 procs" }, { "name": "Benchmark_Router_Next", "value": 114.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9934083 times\n2 procs" }, { "name": "Benchmark_Route_Match", "value": 30.9, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "38318402 times\n2 procs" }, { "name": "Benchmark_Route_Match_Star", "value": 3.996, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "299861365 times\n2 procs" }, { "name": "Benchmark_Route_Match_Root", "value": 3.19, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "378175971 times\n2 procs" }, { "name": "Benchmark_Router_Handler_CaseSensitive", "value": 198.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "5939479 times\n2 procs" }, { "name": "Benchmark_Router_Handler_Unescape", "value": 303, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3983197 times\n2 procs" }, { "name": "Benchmark_Router_Handler_StrictRouting", "value": 193.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6168525 times\n2 procs" }, { "name": "Benchmark_Router_Github_API", "value": 311869, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "3537 times\n2 procs" }, { "name": "Benchmark_Memory/fiber_memory", "value": 251964, "unit": "ns/op\t 24557 B/op\t 1000 allocs/op", "extra": "4916 times\n2 procs" }, { "name": "Benchmark_Storage_Memory/fiber_memory", "value": 192859, "unit": "ns/op\t 696 B/op\t 0 allocs/op", "extra": "6147 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_1MB", "value": 2402, "unit": "ns/op\t 1869 B/op\t 13 allocs/op", "extra": "481238 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_10MB", "value": 2335, "unit": "ns/op\t 1898 B/op\t 13 allocs/op", "extra": "519956 times\n2 procs" }, { "name": "Benchmark_FiberHandlerFunc_50MB", "value": 2266, "unit": "ns/op\t 2059 B/op\t 13 allocs/op", "extra": "526910 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth", "value": 620.3, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1917222 times\n2 procs" }, { "name": "Benchmark_Middleware_BasicAuth_Upper", "value": 618.2, "unit": "ns/op\t 80 B/op\t 5 allocs/op", "extra": "1922174 times\n2 procs" }, { "name": "Benchmark_Cache", "value": 516.6, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "2334872 times\n2 procs" }, { "name": "Benchmark_Cache_Storage", "value": 1002, "unit": "ns/op\t 176 B/op\t 5 allocs/op", "extra": "1202304 times\n2 procs" }, { "name": "Benchmark_Cache_AdditionalHeaders", "value": 629.9, "unit": "ns/op\t 16 B/op\t 2 allocs/op", "extra": "1916431 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Disabled", "value": 2350, "unit": "ns/op\t 327 B/op\t 7 allocs/op", "extra": "707206 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/Unlim", "value": 2560, "unit": "ns/op\t 583 B/op\t 7 allocs/op", "extra": "662805 times\n2 procs" }, { "name": "Benchmark_Cache_MaxSize/LowBounded", "value": 1635, "unit": "ns/op\t 231 B/op\t 7 allocs/op", "extra": "691098 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_Check", "value": 1960, "unit": "ns/op\t 274 B/op\t 5 allocs/op", "extra": "683126 times\n2 procs" }, { "name": "Benchmark_Middleware_CSRF_GenerateToken", "value": 1883, "unit": "ns/op\t 259 B/op\t 5 allocs/op", "extra": "784170 times\n2 procs" }, { "name": "Benchmark_Etag", "value": 150.8, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "7813953 times\n2 procs" }, { "name": "Benchmark_Middleware_Favicon", "value": 135.3, "unit": "ns/op\t 3 B/op\t 1 allocs/op", "extra": "8884490 times\n2 procs" }, { "name": "BenchmarkMarshalMsgresponse", "value": 60.79, "unit": "ns/op\t 32 B/op\t 1 allocs/op", "extra": "18168698 times\n2 procs" }, { "name": "BenchmarkAppendMsgresponse", "value": 24.02, "unit": "ns/op\t 541.15 MB/s\t 0 B/op\t 0 allocs/op", "extra": "49785726 times\n2 procs" }, { "name": "BenchmarkUnmarshalresponse", "value": 51.75, "unit": "ns/op\t 251.20 MB/s\t 0 B/op\t 0 allocs/op", "extra": "22820157 times\n2 procs" }, { "name": "Benchmark_Idempotency/hit", "value": 861.1, "unit": "ns/op\t 512 B/op\t 6 allocs/op", "extra": "1381260 times\n2 procs" }, { "name": "Benchmark_Idempotency/skip", "value": 173.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6904405 times\n2 procs" }, { "name": "Benchmark_Limiter_Custom_Store", "value": 603.4, "unit": "ns/op\t 72 B/op\t 2 allocs/op", "extra": "2026454 times\n2 procs" }, { "name": "Benchmark_Limiter", "value": 403.7, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "2970829 times\n2 procs" }, { "name": "Benchmark_Logger/Base", "value": 455, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2660782 times\n2 procs" }, { "name": "Benchmark_Logger/DefaultFormat", "value": 1617, "unit": "ns/op\t 219 B/op\t 8 allocs/op", "extra": "626172 times\n2 procs" }, { "name": "Benchmark_Logger/WithTagParameter", "value": 510.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "2389486 times\n2 procs" }, { "name": "Benchmark_Monitor", "value": 950.8, "unit": "ns/op\t 128 B/op\t 1 allocs/op", "extra": "1226642 times\n2 procs" }, { "name": "Benchmark_Session/default", "value": 28599, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "41869 times\n2 procs" }, { "name": "Benchmark_Session/storage", "value": 28460, "unit": "ns/op\t 8534 B/op\t 207 allocs/op", "extra": "36757 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/fiber", "value": 56.41, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "21387578 times\n2 procs" }, { "name": "Benchmark_ToLowerBytes/default", "value": 154.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "7488427 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/fiber", "value": 71.72, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "16755487 times\n2 procs" }, { "name": "Benchmark_ToUpperBytes/default", "value": 188.3, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "6275568 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/fiber", "value": 21.48, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "51466719 times\n2 procs" }, { "name": "Benchmark_TrimRightBytes/default", "value": 23.73, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44998740 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/fiber", "value": 22.35, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "50190740 times\n2 procs" }, { "name": "Benchmark_TrimLeftBytes/default", "value": 25.29, "unit": "ns/op\t 8 B/op\t 1 allocs/op", "extra": "44432404 times\n2 procs" }, { "name": "Benchmark_TrimBytes/fiber", "value": 33.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34354442 times\n2 procs" }, { "name": "Benchmark_TrimBytes/default", "value": 33.9, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "32731800 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/fiber", "value": 118.4, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10083258 times\n2 procs" }, { "name": "Benchmark_EqualFoldBytes/default", "value": 130.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9068998 times\n2 procs" }, { "name": "Benchmark_UUID/fiber", "value": 80.43, "unit": "ns/op\t 48 B/op\t 1 allocs/op", "extra": "14614680 times\n2 procs" }, { "name": "Benchmark_UUID/default", "value": 616.1, "unit": "ns/op\t 168 B/op\t 6 allocs/op", "extra": "1930754 times\n2 procs" }, { "name": "Benchmark_ConvertToBytes/fiber", "value": 38.55, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "31361734 times\n2 procs" }, { "name": "Benchmark_UnsafeString/unsafe", "value": 1.287, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "921850294 times\n2 procs" }, { "name": "Benchmark_UnsafeString/default", "value": 34.56, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "34130407 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/unsafe", "value": 1.397, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "863686179 times\n2 procs" }, { "name": "Benchmark_UnsafeBytes/default", "value": 38.23, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "31230276 times\n2 procs" }, { "name": "Benchmark_ToString", "value": 94.28, "unit": "ns/op\t 40 B/op\t 2 allocs/op", "extra": "11970568 times\n2 procs" }, { "name": "Benchmark_GetMIME/fiber", "value": 112.1, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "10701428 times\n2 procs" }, { "name": "Benchmark_GetMIME/default", "value": 182.3, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "6563923 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/vendorContentType", "value": 80.76, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14471390 times\n2 procs" }, { "name": "Benchmark_ParseVendorSpecificContentType/defaultContentType", "value": 9.938, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "120659862 times\n2 procs" }, { "name": "Benchmark_StatusMessage/fiber", "value": 1.393, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "865130632 times\n2 procs" }, { "name": "Benchmark_StatusMessage/default", "value": 4.87, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "253263630 times\n2 procs" }, { "name": "Benchmark_IsIPv4/fiber", "value": 27.5, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "44272584 times\n2 procs" }, { "name": "Benchmark_IsIPv4/default", "value": 83.11, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "14160200 times\n2 procs" }, { "name": "Benchmark_IsIPv6/fiber", "value": 97.73, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12257355 times\n2 procs" }, { "name": "Benchmark_IsIPv6/default", "value": 170.1, "unit": "ns/op\t 16 B/op\t 1 allocs/op", "extra": "7010338 times\n2 procs" }, { "name": "Benchmark_ToUpper/fiber", "value": 114.2, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "10137128 times\n2 procs" }, { "name": "Benchmark_ToUpper/default", "value": 414, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "2862148 times\n2 procs" }, { "name": "Benchmark_ToLower/fiber", "value": 100.5, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "11666737 times\n2 procs" }, { "name": "Benchmark_ToLower/default", "value": 337.4, "unit": "ns/op\t 80 B/op\t 1 allocs/op", "extra": "3597612 times\n2 procs" }, { "name": "Benchmark_TrimRight/fiber", "value": 4.452, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "275216058 times\n2 procs" }, { "name": "Benchmark_TrimRight/default", "value": 5.082, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "233638550 times\n2 procs" }, { "name": "Benchmark_TrimLeft/fiber", "value": 3.332, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "355048270 times\n2 procs" }, { "name": "Benchmark_TrimLeft/default", "value": 6.078, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "197817711 times\n2 procs" }, { "name": "Benchmark_Trim/fiber", "value": 8.735, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "137459476 times\n2 procs" }, { "name": "Benchmark_Trim/default", "value": 9.309, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "129252602 times\n2 procs" }, { "name": "Benchmark_EqualFold/fiber", "value": 95.45, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "12528147 times\n2 procs" }, { "name": "Benchmark_EqualFold/default", "value": 129, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "9253802 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/fiber", "value": 0.4338, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "1000000000 times\n2 procs" }, { "name": "Benchmark_CalculateTimestamp/default", "value": 65, "unit": "ns/op\t 0 B/op\t 0 allocs/op", "extra": "18459811 times\n2 procs" } ] } ] } }