Brucey fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ
..
.gitignore fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ
Makefile fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ
README.md fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ
config.c fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ
config.h fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ
data.c fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ
data.h fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ
levels.h fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ
method.c fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ
method.h fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ
result.c fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ
result.h fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ
results.csv fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ
test.c fa2be51214 Archive.Zstd. Initial Import. 3 gadi atpakaļ

README.md

Regression tests

The regression tests run zstd in many scenarios and ensures that the size of the compressed results doesn't change. This helps us ensure that we don't accidentally regress zstd's compression ratio.

These tests get run every night by CircleCI. If the job fails you can read the diff printed by the job to ensure the change isn't a regression. If all is well you can download the results.csv artifact and commit the new results. Or you can rebuild it yourself following the instructions below.

Rebuilding results.csv

From the root of the zstd repo run:

# Build the zstd binary
make clean
make -j zstd

# Build the regression test binary
cd tests/regression
make clean
make -j test

# Run the regression test
./test --cache data-cache --zstd ../../zstd --output results.csv

# Check results.csv to ensure the new results are okay
git diff

# Then submit the PR