Eremey Valetov
d121c2083f
Add benchmark mode: uc2 -B tests all methods on input
$ uc2 -B textfile.txt allbytes.bin zeros.bin
UC2 Benchmark: 67511 bytes input (3 files)
Method Compressed Ratio Enc (ms)
Huffman Fast 9938 14.7% 6.3 ms
Huffman Tight 9938 14.7% 6.0 ms
rANS Tight 4360 6.5% 7.7 ms
LZ4 Ultra-fast 1905 2.8% 0.6 ms
Tests all 8 Huffman/rANS levels (2-9) plus LZ4 on the input files,
reporting compressed size, ratio percentage, and encoding time.
Completes Phase 4 (Modern Compression Backends).