• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

.gitignoreD23-Nov-202344 43

MakefileD23-Nov-20231.9 KiB6034

README.mdD23-Nov-2023895 2919

config.cD23-Nov-20239.2 KiB279231

config.hD23-Nov-20232.2 KiB8730

data.cD23-Nov-202315.8 KiB614460

data.hD23-Nov-20233 KiB12241

levels.hD23-Nov-2023854 4520

method.cD23-Nov-202320.8 KiB689580

method.hD23-Nov-20231.7 KiB6618

result.cD23-Nov-2023945 2917

result.hD23-Nov-20232.6 KiB10451

results.csvD23-Nov-202371.6 KiB637636

test.cD23-Nov-202310.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