-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #746 from ReneWerner87/master
🦟 Fix star routes
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29e8f12
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.Benchmark_Ctx_Accepts
713
ns/op 0 B/op 0 allocs/op187
ns/op 0 B/op 0 allocs/op3.81
Benchmark_Ctx_AcceptsCharsets
422
ns/op 0 B/op 0 allocs/op80.1
ns/op 0 B/op 0 allocs/op5.27
Benchmark_Ctx_AcceptsEncodings
415
ns/op 0 B/op 0 allocs/op106
ns/op 0 B/op 0 allocs/op3.92
Benchmark_Ctx_AcceptsLanguages
193
ns/op 0 B/op 0 allocs/op80.3
ns/op 0 B/op 0 allocs/op2.40
Benchmark_Ctx_Append
1075
ns/op 0 B/op 0 allocs/op280
ns/op 0 B/op 0 allocs/op3.84
Benchmark_Ctx_Attachment
4435
ns/op 147 B/op 2 allocs/op375
ns/op 128 B/op 2 allocs/op11.83
Benchmark_Ctx_BaseURL
454
ns/op 32 B/op 1 allocs/op92.4
ns/op 32 B/op 1 allocs/op4.91
Benchmark_Ctx_BodyParser_JSON
2763
ns/op 208 B/op 4 allocs/op722
ns/op 208 B/op 4 allocs/op3.83
Benchmark_Ctx_BodyParser_XML
12475
ns/op 1152 B/op 23 allocs/op3044
ns/op 1152 B/op 23 allocs/op4.10
Benchmark_Ctx_BodyParser_Form
3614
ns/op 312 B/op 12 allocs/op1365
ns/op 312 B/op 12 allocs/op2.65
Benchmark_Ctx_BodyParser_MultipartForm
5367
ns/op 296 B/op 11 allocs/op1203
ns/op 296 B/op 11 allocs/op4.46
Benchmark_Ctx_Cookie
407
ns/op 0 B/op 0 allocs/op153
ns/op 0 B/op 0 allocs/op2.66
Benchmark_Ctx_Format
490
ns/op 0 B/op 0 allocs/op177
ns/op 0 B/op 0 allocs/op2.77
Benchmark_Ctx_Format_HTML
770
ns/op 0 B/op 0 allocs/op165
ns/op 0 B/op 0 allocs/op4.67
Benchmark_Ctx_Format_JSON
1002
ns/op 16 B/op 1 allocs/op420
ns/op 16 B/op 1 allocs/op2.39
Benchmark_Ctx_Format_XML
8704
ns/op 4464 B/op 7 allocs/op2132
ns/op 4464 B/op 7 allocs/op4.08
Benchmark_Ctx_Fresh_StaleEtag
2278
ns/op 0 B/op 0 allocs/op558
ns/op 0 B/op 0 allocs/op4.08
Benchmark_Ctx_Fresh_WithNoCache
416
ns/op 0 B/op 0 allocs/op145
ns/op 0 B/op 0 allocs/op2.87
Benchmark_Ctx_IPs
870
ns/op 48 B/op 1 allocs/op208
ns/op 48 B/op 1 allocs/op4.18
Benchmark_Ctx_Is
203
ns/op 0 B/op 0 allocs/op75
ns/op 0 B/op 0 allocs/op2.71
Benchmark_Ctx_Params
193
ns/op 0 B/op 0 allocs/op68.3
ns/op 0 B/op 0 allocs/op2.83
Benchmark_Ctx_Protocol
55.3
ns/op 0 B/op 0 allocs/op17.6
ns/op 0 B/op 0 allocs/op3.14
Benchmark_Ctx_Subdomains
750
ns/op 64 B/op 1 allocs/op163
ns/op 64 B/op 1 allocs/op4.60
Benchmark_Ctx_JSON
1384
ns/op 64 B/op 2 allocs/op369
ns/op 64 B/op 2 allocs/op3.75
Benchmark_Ctx_JSONP
1283
ns/op 64 B/op 2 allocs/op511
ns/op 64 B/op 2 allocs/op2.51
Benchmark_Ctx_Links
1071
ns/op 0 B/op 0 allocs/op178
ns/op 0 B/op 0 allocs/op6.02
Benchmark_Ctx_Render_Engine
5487
ns/op 416 B/op 5 allocs/op842
ns/op 416 B/op 5 allocs/op6.52
Benchmark_Ctx_Send
832
ns/op 64 B/op 4 allocs/op6.81
ns/op 0 B/op 0 allocs/op122.17
Benchmark_Ctx_Type
223
ns/op 0 B/op 0 allocs/op70.4
ns/op 0 B/op 0 allocs/op3.17
Benchmark_Ctx_Type_Charset
465
ns/op 0 B/op 0 allocs/op159
ns/op 0 B/op 0 allocs/op2.92
Benchmark_Ctx_Vary
424
ns/op 0 B/op 0 allocs/op133
ns/op 0 B/op 0 allocs/op3.19
Benchmark_Ctx_Write
743
ns/op 240 B/op 4 allocs/op36.6
ns/op 75 B/op 0 allocs/op20.30
Benchmark_Ctx_SendString_B
37.7
ns/op 0 B/op 0 allocs/op12.7
ns/op 0 B/op 0 allocs/op2.97
Benchmark_Ctx_QueryParser
11067
ns/op 912 B/op 39 allocs/op4232
ns/op 904 B/op 38 allocs/op2.62
Benchmark_Router_NotFound
1311
ns/op 80 B/op 2 allocs/op635
ns/op 48 B/op 1 allocs/op2.06
Benchmark_Router_Handler
1753
ns/op 16 B/op 1 allocs/op198
ns/op 0 B/op 0 allocs/op8.85
Benchmark_Router_Handler_Strict_Case
525
ns/op 0 B/op 0 allocs/op182
ns/op 0 B/op 0 allocs/op2.88
Benchmark_Router_Chain
1846
ns/op 1 B/op 1 allocs/op224
ns/op 0 B/op 0 allocs/op8.24
Benchmark_Router_WithCompression
2627
ns/op 1 B/op 1 allocs/op221
ns/op 0 B/op 0 allocs/op11.89
Benchmark_Route_Match
373
ns/op 0 B/op 0 allocs/op35.4
ns/op 0 B/op 0 allocs/op10.54
Benchmark_Route_Match_Star
57
ns/op 0 B/op 0 allocs/op4.8
ns/op 0 B/op 0 allocs/op11.88
Benchmark_Route_Match_Root
15
ns/op 0 B/op 0 allocs/op3.94
ns/op 0 B/op 0 allocs/op3.81
Benchmark_Router_Handler_CaseSensitive
1034
ns/op 0 B/op 0 allocs/op187
ns/op 0 B/op 0 allocs/op5.53
Benchmark_Router_Handler_Unescape
1277
ns/op 8 B/op 1 allocs/op251
ns/op 0 B/op 0 allocs/op5.09
Benchmark_Router_Handler_StrictRouting
615
ns/op 0 B/op 0 allocs/op187
ns/op 0 B/op 0 allocs/op3.29
Benchmark_Router_Github_API
1155259
ns/op 8445 B/op 242 allocs/op307931
ns/op 0 B/op 0 allocs/op3.75
Benchmark_Utils_getGroupPath
854
ns/op 96 B/op 2 allocs/op150
ns/op 96 B/op 2 allocs/op5.69
Benchmark_Utils_Unescape
154
ns/op 8 B/op 1 allocs/op54.7
ns/op 8 B/op 1 allocs/op2.82
Benchmark_Utils_IsNoCache
332
ns/op 0 B/op 0 allocs/op66.3
ns/op 0 B/op 0 allocs/op5.01
Benchmark_Middleware_Favicon
759
ns/op 1 B/op 1 allocs/op118
ns/op 0 B/op 0 allocs/op6.43
This comment was automatically generated by workflow using github-action-benchmark.