Skip to content

Conversation

@klauspost
Copy link
Owner

Not super visible in microbenches (presumably because of cache), but very visible in streaming decodes.

Before/after:

BenchmarkDecoderSilesia-32    	       4	 281168525 ns/op	 753.81 MB/s	   50218 B/op	      44 allocs/op
BenchmarkDecoderSilesia-32    	       6	 190584583 ns/op	1112.09 MB/s	   49446 B/op	      45 allocs/op

BenchmarkDecoderEnwik9-32    	       1	1439964200 ns/op	 694.46 MB/s	   71952 B/op	      51 allocs/op
BenchmarkDecoderEnwik9-32    	       1	1184307200 ns/op	 844.38 MB/s	   72144 B/op	      53 allocs/op

Not super visible in microbenches (presumably because of cache), but very visible in streaming decodes.

Before/after:

```
BenchmarkDecoderSilesia-32    	       4	 281168525 ns/op	 753.81 MB/s	   50218 B/op	      44 allocs/op
BenchmarkDecoderSilesia-32    	       6	 190584583 ns/op	1112.09 MB/s	   49446 B/op	      45 allocs/op

BenchmarkDecoderEnwik9-32    	       1	1439964200 ns/op	 694.46 MB/s	   71952 B/op	      51 allocs/op
BenchmarkDecoderEnwik9-32    	       1	1184307200 ns/op	 844.38 MB/s	   72144 B/op	      53 allocs/op
```
@klauspost
Copy link
Owner Author

@WojciechMula Do you have objections to this? I can hold this off if it interferes with #545

@WojciechMula
Copy link
Contributor

@WojciechMula Do you have objections to this? I can hold this off if it interferes with #545

Great! Please merge, there are no problems with rebasing.

@klauspost klauspost merged commit 20effe5 into master Apr 4, 2022
@klauspost klauspost deleted the zstd-prev-in-regs branch April 4, 2022 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants