Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LZ4 test uses incompressible test data, giving misleading results #768

Closed
ComputerGuy4157 opened this issue Dec 20, 2023 · 1 comment
Closed

Comments

@ComputerGuy4157
Copy link

The lz4 test (1.0.0) uses a Ubuntu ISO as its test file, this file is almost entirely incompressible as most of the data is inside a squashfs. lz4 skips over most of the file and gives misleading results that are 7-10x faster than when using lz4 against compressible data.

@svenha
Copy link

svenha commented Jan 16, 2024

Some standard files used in compression comparisons might be a good choice, e.g. the silesia corpus, https://sun.aei.polsl.pl//~sdeor/index.php?page=silesia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants