-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v3(enhancement): remove
utils.Trim*
(#2030)
stdlib functions have same performance in go1.19
- Loading branch information
Showing
14 changed files
with
202 additions
and
538 deletions.
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
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
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
Oops, something went wrong.
b161f80
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_AcquireCtx
1828
ns/op 1568 B/op 5 allocs/op726.4
ns/op 1568 B/op 5 allocs/op2.52
Benchmark_Router_Handler_Strict_Case
292.2
ns/op 0 B/op 0 allocs/op144.1
ns/op 0 B/op 0 allocs/op2.03
Benchmark_Router_Next
201.4
ns/op 0 B/op 0 allocs/op91.21
ns/op 0 B/op 0 allocs/op2.21
Benchmark_Router_Handler_CaseSensitive
292.8
ns/op 0 B/op 0 allocs/op145.5
ns/op 0 B/op 0 allocs/op2.01
Benchmark_Router_Handler_StrictRouting
294
ns/op 0 B/op 0 allocs/op143.3
ns/op 0 B/op 0 allocs/op2.05
Benchmark_Cache
16686
ns/op 49369 B/op 6 allocs/op310.5
ns/op 16 B/op 2 allocs/op53.74
Benchmark_Cache_AdditionalHeaders
1457
ns/op 592 B/op 9 allocs/op410.2
ns/op 16 B/op 2 allocs/op3.55
Benchmark_Etag
251.7
ns/op 0 B/op 0 allocs/op120.3
ns/op 0 B/op 0 allocs/op2.09
Benchmark_Middleware_Favicon
220.3
ns/op 3 B/op 1 allocs/op93.64
ns/op 3 B/op 1 allocs/op2.35
Benchmark_Limiter
792.7
ns/op 72 B/op 2 allocs/op320.7
ns/op 8 B/op 1 allocs/op2.47
This comment was automatically generated by workflow using github-action-benchmark.
b161f80
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_Cache
14768
ns/op 49368 B/op 6 allocs/op310.5
ns/op 16 B/op 2 allocs/op47.56
Benchmark_Cache_AdditionalHeaders
1241
ns/op 592 B/op 9 allocs/op410.2
ns/op 16 B/op 2 allocs/op3.03
Benchmark_Limiter
675.7
ns/op 72 B/op 2 allocs/op320.7
ns/op 8 B/op 1 allocs/op2.11
This comment was automatically generated by workflow using github-action-benchmark.