-
-
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.
✨ Added decompression cases for Body function (#1402)
* Added decompression cases for Body function * Fixed signature of Body() function * Removed regex, added Header.Peek * Added test case with compression * Added Benchmark, moved compression names to helpers and made them constants * Added long brotli as a constant * Update ctx.go improve Body function * Update ctx.go improve performance * Fixed formatting * Update helpers.go Co-authored-by: RW <rene@gofiber.io>
- Loading branch information
1 parent
843fab7
commit 2703e92
Showing
3 changed files
with
81 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
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
2703e92
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_QueryParser
8248
ns/op 904 B/op 38 allocs/op3861
ns/op 904 B/op 38 allocs/op2.14
This comment was automatically generated by workflow using github-action-benchmark.