• Home
Name Date Size #Lines LOC

..--

.gitignoreD03-May-202444 43

MakefileD03-May-20241.9 KiB6034

README.mdD03-May-2024895 2919

config.cD03-May-20249.2 KiB279231

config.hD03-May-20242.2 KiB8730

data.cD03-May-202415.8 KiB614460

data.hD03-May-20243 KiB12241

levels.hD03-May-2024854 4520

method.cD03-May-202420.8 KiB689580

method.hD03-May-20241.7 KiB6618

result.cD03-May-2024945 2917

result.hD03-May-20242.6 KiB10451

results.csvD03-May-202471.6 KiB637636

test.cD03-May-202410.8 KiB363286

README.md

1# Regression tests
2
3The 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.
4
5These 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.
6
7## Rebuilding results.csv
8
9From the root of the zstd repo run:
10
11```
12# Build the zstd binary
13make clean
14make -j zstd
15
16# Build the regression test binary
17cd tests/regression
18make clean
19make -j test
20
21# Run the regression test
22./test --cache data-cache --zstd ../../zstd --output results.csv
23
24# Check results.csv to ensure the new results are okay
25git diff
26
27# Then submit the PR
28```
29