-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Speed up huff0 table decode Big speedup on small blocks. ``` name old time/op new time/op delta Decompress4XTable/digits-12 243µs ± 0% 228µs ± 1% -5.87% (p=0.008 n=5+5) Decompress4XTable/gettysburg-12 5.81µs ± 0% 5.42µs ± 0% -6.79% (p=0.008 n=5+5) Decompress4XTable/twain-12 735µs ± 1% 696µs ± 1% -5.35% (p=0.008 n=5+5) Decompress4XTable/low-ent.10k-12 73.1µs ± 1% 69.0µs ± 0% -5.64% (p=0.008 n=5+5) Decompress4XTable/superlow-ent-10k-12 20.4µs ± 0% 19.2µs ± 1% -5.49% (p=0.008 n=5+5) Decompress4XTable/case1-12 2.51µs ± 1% 2.16µs ± 1% -14.01% (p=0.008 n=5+5) Decompress4XTable/case2-12 2.47µs ± 0% 2.13µs ± 0% -13.74% (p=0.016 n=5+4) Decompress4XTable/case3-12 2.50µs ± 0% 2.15µs ± 0% -14.13% (p=0.008 n=5+5) Decompress4XTable/pngdata.001-12 98.9µs ± 1% 94.9µs ± 2% -4.08% (p=0.008 n=5+5) Decompress4XTable/normcount2-12 1.60µs ± 0% 1.51µs ± 0% -5.55% (p=0.008 n=5+5) name old speed new speed delta Decompress4XTable/digits-12 412MB/s ± 0% 438MB/s ± 1% +6.24% (p=0.008 n=5+5) Decompress4XTable/gettysburg-12 266MB/s ± 0% 286MB/s ± 0% +7.28% (p=0.008 n=5+5) Decompress4XTable/twain-12 356MB/s ± 1% 377MB/s ± 1% +5.65% (p=0.008 n=5+5) Decompress4XTable/low-ent.10k-12 547MB/s ± 1% 580MB/s ± 0% +5.98% (p=0.008 n=5+5) Decompress4XTable/superlow-ent-10k-12 516MB/s ± 0% 546MB/s ± 1% +5.81% (p=0.008 n=5+5) Decompress4XTable/case1-12 21.9MB/s ± 1% 25.5MB/s ± 1% +16.31% (p=0.008 n=5+5) Decompress4XTable/case2-12 18.2MB/s ± 0% 21.1MB/s ± 0% +15.94% (p=0.016 n=5+4) Decompress4XTable/case3-12 19.2MB/s ± 0% 22.3MB/s ± 0% +16.48% (p=0.008 n=5+5) Decompress4XTable/pngdata.001-12 518MB/s ± 1% 540MB/s ± 2% +4.26% (p=0.008 n=5+5) Decompress4XTable/normcount2-12 54.3MB/s ± 0% 57.5MB/s ± 0% +5.85% (p=0.008 n=5+5) ``` * Small speedup by unrolling
- Loading branch information
Showing
3 changed files
with
122 additions
and
35 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
Binary file not shown.