zstd: Speed up when WithDecoderLowmem(false)#599
Merged
Conversation
Typically an improvement when limited by the execute stage (enwik9) ``` BenchmarkDecoderEnwik9/multithreaded-writer-32 1 1184100400 ns/op 844.52 MB/s 13992400 B/op 101 allocs/op BenchmarkDecoderEnwik9/multithreaded-writer-himem-32 1 1095716200 ns/op 912.65 MB/s 19551184 B/op 63 allocs/op BenchmarkDecoderEnwik9/singlethreaded-writer-32 1 1612467600 ns/op 620.17 MB/s 6602968 B/op 29 allocs/op BenchmarkDecoderEnwik9/singlethreaded-writerto-32 1 1631256700 ns/op 613.02 MB/s 6590776 B/op 26 allocs/op BenchmarkDecoderEnwik9/singlethreaded-himem-32 1 1338224000 ns/op 747.26 MB/s 8835640 B/op 23 allocs/ BenchmarkDecoderSilesia/multithreaded-writer-32 5 201332380 ns/op 1052.72 MB/s 5130272 B/op 74 allocs/op BenchmarkDecoderSilesia/multithreaded-writer-himem-32 5 201792940 ns/op 1050.32 MB/s 3105158 B/op 42 allocs/op BenchmarkDecoderSilesia/singlethreaded-writer-32 4 268667300 ns/op 788.88 MB/s 1648902 B/op 19 allocs/op BenchmarkDecoderSilesia/singlethreaded-writerto-32 4 265867950 ns/op 797.19 MB/s 1642810 B/op 15 allocs/op BenchmarkDecoderSilesia/singlethreaded-himem-32 4 264649325 ns/op 800.86 MB/s 1161658 B/op 7 allocs/o ```
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Typically an improvement when limited by the execute stage (enwik9)