1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/lib/compression
Douglas Bagnall e795985067 lib/compression/tests: add lzhuffman timer functions
With LZXHUFF_DEBUG_VERBOSE set, we measure the compression and
decompression rate relative to the decompressed size.

On reasonably long strings on my laptop, compiled with -O0, it turns
out to between 20 and 500 MB/s, both ways, depending on the complexity
of the string. Very short strings are of course dominated by overhead.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
2022-12-01 22:56:39 +00:00
..
tests lib/compression/tests: add lzhuffman timer functions 2022-12-01 22:56:39 +00:00
lzxpress_huffman.c lib/compression: debug routines for lzxpress-huffman 2022-12-01 22:56:39 +00:00
lzxpress_huffman.h lib/compression: LZ77 + Huffman compression 2022-12-01 22:56:39 +00:00
lzxpress.c lzxpress: compress shortcut if we've reached maximum length 2022-05-17 23:11:21 +00:00
lzxpress.h Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
wscript_build lib/compression: add LZ77 + Huffman decompression 2022-12-01 22:56:39 +00:00