window.BENCHMARK_DATA = { "lastUpdate": 1686676259066, "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" } ] } ] } }