Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Co-authored-by: Daniel Andersen dan-and@users.noreply.github.com
Signed-off-by: Daniel Andersen dan-and@users.noreply.github.com
Signed-off-by: Kjeld Schouten-Lebbing kjeld@schouten-lebbing.nl
Motivation and Context
During the work on ZSTD we came to realise there is no easy-reachable standardised way to make a benchmark of a compression algorithm in such a way that at least the compression results (ratio) is repeatable accoss runs and platforms.
Description
Research showed a good way to get benchmark results are the enwik suit of testfiles, which are basically a highly compressable plain-text export of wikipedia. This script uses a 1GB file (enwik9) to lower the margin of error.
To test if said results are in fact correct, I got the suggestion to use checksums which is included. @dan-and also added uncompressable testing and some code cleaning to ensure proper functioning.
Why include this with zfs?
How Has This Been Tested?
Manually, running it and crossreferencing values.
Types of changes
Checklist:
Signed-off-by
.