Repository navigation
uorc v0.4.0
uorc v0.4.0
Client: https://uor-foundation.github.io/compression/
uorc benchmarks
uorc 0.4.0, 0 search steps per file, linux/x64. Measurement only; no target is set.
Machine ceiling: 4 cores (AMD EPYC 9V74 80-Core Processor), 15.6 GiB memory; memory copy 16366 MB/s on one core and 26526 MB/s on all 4. A decoder cannot write its output faster than the machine copies memory, so the last column is decompress throughput as a share of the all-core copy rate. uorc uses every core (8 MiB frames in parallel); the other tools run with their default thread settings.
canterbury
| compressor | files | archive bytes | ratio | compress MB/s | decompress MB/s | decompress / copy |
|---|---|---|---|---|---|---|
| uorc (0 steps) | 11 | 352806 | 7.967 | 0.30 | 0.65 | 0.0025% |
| gzip -9 | 11 | 730625 | 3.847 | 4.93 | 70.66 | 0.27% |
| bzip2 -9 | 11 | 542710 | 5.179 | 19.21 | 33.23 | 0.13% |
| xz -9e | 11 | 493080 | 5.700 | 1.89 | 49.03 | 0.18% |
| zstd -19 --long | 11 | 516216 | 5.445 | 1.68 | 62.90 | 0.24% |
| brotli -q 11 | 11 | 490662 | 5.729 | 0.71 | 68.89 | 0.26% |
| zpaq -m5 | 11 | 361718 | 7.771 | 0.50 | 0.49 | 0.0019% |
| 7z PPMd -mx9 | 11 | 575170 | 4.887 | 8.33 | 8.25 | 0.031% |
Per file (archive bytes)
| file | bytes | uorc (0 steps) | gzip -9 | bzip2 -9 | xz -9e | zstd -19 --long | brotli -q 11 | zpaq -m5 | 7z PPMd -mx9 |
|---|---|---|---|---|---|---|---|---|---|
| alice29.txt | 152089 | 37189 | 54179 | 43202 | 48528 | 49212 | 46487 | 37591 | 38956 |
| asyoulik.txt | 125179 | 34665 | 48816 | 39569 | 44592 | 45138 | 42712 | 35369 | 38434 |
| cp.html | 24603 | 6485 | 7973 | 7624 | 7652 | 7716 | 6894 | 7418 | 7507 |
| fields.c | 11150 | 2529 | 3127 | 3039 | 3032 | 3017 | 2717 | 3469 | 3110 |
| grammar.lsp | 3721 | 1098 | 1234 | 1283 | 1292 | 1214 | 1124 | 2069 | 1326 |
| kennedy.xls | 1029744 | 14179 | 209721 | 130280 | 51868 | 64826 | 61498 | 16813 | 182238 |
| lcet10.txt | 426754 | 90134 | 144418 | 107706 | 119488 | 121337 | 113416 | 90013 | 102503 |
| plrabn12.txt | 481861 | 127695 | 194264 | 145577 | 165456 | 167439 | 163267 | 127568 | 138560 |
| ptt5 | 513216 | 28342 | 52377 | 49759 | 39860 | 43610 | 40939 | 28561 | 48463 |
| sum | 38240 | 8944 | 12768 | 12909 | 9500 | 10978 | 10144 | 10324 | 12417 |
| xargs.1 | 4227 | 1546 | 1748 | 1762 | 1812 | 1729 | 1464 | 2523 | 1656 |
silesia
| compressor | files | archive bytes | ratio | compress MB/s | decompress MB/s | decompress / copy |
|---|---|---|---|---|---|---|
| uorc (0 steps) | 12 | 41003375 | 5.169 | 0.49 | 0.75 | 0.0028% |
| gzip -9 | 12 | 67631918 | 3.134 | 11.88 | 168.58 | 0.64% |
| bzip2 -9 | 12 | 54506769 | 3.888 | 15.98 | 35.08 | 0.13% |
| xz -9e | 12 | 48456004 | 4.374 | 2.06 | 77.98 | 0.29% |
| zstd -19 --long | 12 | 52646619 | 4.026 | 2.64 | 388.61 | 1.5% |
| brotli -q 11 | 12 | 49564563 | 4.276 | 0.60 | 244.70 | 0.92% |
| zpaq -m5 | 12 | 39112562 | 5.419 | 0.50 | 0.50 | 0.0019% |
| 7z PPMd -mx9 | 12 | 47684624 | 4.445 | 6.75 | 6.37 | 0.024% |
Per file (archive bytes)
| file | bytes | uorc (0 steps) | gzip -9 | bzip2 -9 | xz -9e | zstd -19 --long | brotli -q 11 | zpaq -m5 | 7z PPMd -mx9 |
|---|---|---|---|---|---|---|---|---|---|
| dickens | 10192446 | 2242072 | 3851815 | 2799520 | 2831212 | 2849320 | 2827777 | 2094743 | 2280117 |
| mozilla | 51220480 | 12611789 | 18994134 | 17914392 | 13376240 | 14978836 | 13872265 | 12041055 | 15911894 |
| mr | 9970564 | 2161741 | 3673937 | 2441280 | 2751892 | 3105810 | 2823136 | 2181310 | 2320767 |
| nci | 33553445 | 1389780 | 2987529 | 1812734 | 1449272 | 1615898 | 1519768 | 1251108 | 1484569 |
| ooffice | 6152192 | 1800251 | 3090434 | 2862526 | 2427224 | 2595308 | 2478855 | 1766550 | 2496131 |
| osdb | 10085684 | 2227043 | 3716337 | 2802792 | 2844556 | 3099934 | 2816278 | 2204741 | 2384175 |
| reymont | 6627202 | 1007649 | 1820826 | 1246230 | 1315592 | 1348541 | 1332158 | 956499 | 1054291 |
| samba | 21606400 | 3183192 | 5408266 | 4549759 | 3739524 | 3876656 | 3766340 | 3053820 | 3815315 |
| sao | 7251944 | 3980702 | 5327037 | 4940524 | 4425664 | 5000573 | 4586092 | 3899258 | 4783825 |
| webster | 41458703 | 6411381 | 12061616 | 8644714 | 8368672 | 8592754 | 8428575 | 5666831 | 6942883 |
| x-ray | 8474240 | 3656010 | 6037707 | 4051112 | 4491264 | 5129825 | 4682753 | 3669701 | 3850893 |
| xml | 5345280 | 331765 | 662280 | 441186 | 434892 | 453164 | 430566 | 326946 | 359764 |
Ratio is input bytes over archive bytes, and throughput is input MB per second, both over the files that compressor round-tripped. ✗ marks a failed round trip. zpaq and 7z archive bytes include their container headers. Tool versions:
- gzip -9: gzip 1.12
- bzip2 -9: bzip2, a block-sorting file compressor. Version 1.0.8, 13-Jul-2019.
- xz -9e: xz (XZ Utils) 5.4.5
- zstd -19 --long: *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
- brotli -q 11: brotli 1.1.0
- zpaq -m5: zpaq v7.15 journaling archiver, compiled Jan 5 2021
- 7z PPMd -mx9: 7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20