-
-
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.
✨ enhancement: use msgp for flash message encoding/decoding (#3099)
* enhancement: use msgp for flash message encoding/decoding * add msgp tests * improve test coverage * improve test coverage * fix linter * update makefile * extend go generation process --------- Co-authored-by: Juan Calderon-Perez <[email protected]> Co-authored-by: René <[email protected]>
- Loading branch information
1 parent
0fbb447
commit 08d9fda
Showing
12 changed files
with
953 additions
and
263 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
08d9fda
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
1.50
.Benchmark_Ctx_Fresh_WithNoCache
156.3
ns/op 0 B/op 0 allocs/op92.92
ns/op 0 B/op 0 allocs/op1.68
Benchmark_Ctx_Fresh_WithNoCache - ns/op
156.3
ns/op92.92
ns/op1.68
Benchmark_Ctx_IP_With_ProxyHeader
56.55
ns/op 0 B/op 0 allocs/op32.39
ns/op 0 B/op 0 allocs/op1.75
Benchmark_Ctx_IP_With_ProxyHeader - ns/op
56.55
ns/op32.39
ns/op1.75
Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation
93.07
ns/op 0 B/op 0 allocs/op60.52
ns/op 0 B/op 0 allocs/op1.54
Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation - ns/op
93.07
ns/op60.52
ns/op1.54
Benchmark_Ctx_Send
7.435
ns/op 0 B/op 0 allocs/op4.661
ns/op 0 B/op 0 allocs/op1.60
Benchmark_Ctx_Send - ns/op
7.435
ns/op4.661
ns/op1.60
Benchmark_Ctx_XHR
65.04
ns/op 0 B/op 0 allocs/op39.65
ns/op 0 B/op 0 allocs/op1.64
Benchmark_Ctx_XHR - ns/op
65.04
ns/op39.65
ns/op1.64
Benchmark_Utils_GetOffer/1_parameter
214.4
ns/op 0 B/op 0 allocs/op136.1
ns/op 0 B/op 0 allocs/op1.58
Benchmark_Utils_GetOffer/1_parameter - ns/op
214.4
ns/op136.1
ns/op1.58
Benchmark_Middleware_BasicAuth - B/op
80
B/op48
B/op1.67
Benchmark_Middleware_BasicAuth - allocs/op
5
allocs/op3
allocs/op1.67
Benchmark_Middleware_BasicAuth_Upper - B/op
80
B/op48
B/op1.67
Benchmark_Middleware_BasicAuth_Upper - allocs/op
5
allocs/op3
allocs/op1.67
Benchmark_CORS_NewHandler - B/op
16
B/op0
B/op+∞
Benchmark_CORS_NewHandler - allocs/op
1
allocs/op0
allocs/op+∞
Benchmark_CORS_NewHandlerSingleOrigin - B/op
16
B/op0
B/op+∞
Benchmark_CORS_NewHandlerSingleOrigin - allocs/op
1
allocs/op0
allocs/op+∞
Benchmark_CORS_NewHandlerPreflight - B/op
104
B/op0
B/op+∞
Benchmark_CORS_NewHandlerPreflight - allocs/op
5
allocs/op0
allocs/op+∞
Benchmark_CORS_NewHandlerPreflightSingleOrigin - B/op
104
B/op0
B/op+∞
Benchmark_CORS_NewHandlerPreflightSingleOrigin - allocs/op
5
allocs/op0
allocs/op+∞
Benchmark_CORS_NewHandlerPreflightWildcard - B/op
104
B/op0
B/op+∞
Benchmark_CORS_NewHandlerPreflightWildcard - allocs/op
5
allocs/op0
allocs/op+∞
Benchmark_Middleware_CSRF_GenerateToken - B/op
521
B/op326
B/op1.60
Benchmark_Middleware_CSRF_GenerateToken - allocs/op
10
allocs/op6
allocs/op1.67
This comment was automatically generated by workflow using github-action-benchmark.