Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switched to DataDog zstd wrapper, reusing the compression ctx (apache…
…#287) --- Before BenchmarkCompression/zstd-cgo-level-fastest-16 2272 513861 ns/op 195.78 MB/s BenchmarkCompression/zstd-cgo-level-default-16 1477 772904 ns/op 130.17 MB/s BenchmarkCompression/zstd-cgo-level-best-16 254 4670399 ns/op 21.54 MB/s BenchmarkDecompression/zstd-cgo-level-fastest-16 8382 154040 ns/op 653.11 MB/s BenchmarkDecompression/zstd-cgo-level-default-16 7524 156934 ns/op 641.07 MB/s BenchmarkDecompression/zstd-cgo-level-best-16 7748 162531 ns/op 619.00 MB/s BenchmarkCompressionParallel/zstd-cgo-level-fastest-16 22719 54002 ns/op 1862.99 MB/s BenchmarkCompressionParallel/zstd-cgo-level-default-16 13485 88328 ns/op 1139.01 MB/s BenchmarkCompressionParallel/zstd-cgo-level-best-16 2161 561107 ns/op 179.30 MB/s --- After BenchmarkCompression/zstd-cgo-level-fastest-16 2366 472138 ns/op 213.09 MB/s BenchmarkCompression/zstd-cgo-level-default-16 1576 756111 ns/op 133.06 MB/s BenchmarkCompression/zstd-cgo-level-best-16 271 4452809 ns/op 22.59 MB/s BenchmarkDecompression/zstd-cgo-level-fastest-16 9352 132880 ns/op 757.12 MB/s BenchmarkDecompression/zstd-cgo-level-default-16 8473 142471 ns/op 706.15 MB/s BenchmarkDecompression/zstd-cgo-level-best-16 7413 147722 ns/op 681.05 MB/s BenchmarkCompressionParallel/zstd-cgo-level-fastest-16 23857 50493 ns/op 1992.49 MB/s BenchmarkCompressionParallel/zstd-cgo-level-default-16 13832 87510 ns/op 1149.66 MB/s BenchmarkCompressionParallel/zstd-cgo-level-best-16 2220 526170 ns/op 191.20 MB/s
- Loading branch information