mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
improve man page on benchmark mode
update the man page in troff format, and the README with latest `--help` content and complementary details about benchmark mode. also: display level 0 when doing decompression benchmark
This commit is contained in:
@ -1391,6 +1391,7 @@ int main(int argCount, const char* argv[])
|
||||
}
|
||||
benchParams.literalCompressionMode = literalCompressionMode;
|
||||
|
||||
if (benchParams.mode == BMK_decodeOnly) cLevel = cLevelLast = 0;
|
||||
if (cLevel > ZSTD_maxCLevel()) cLevel = ZSTD_maxCLevel();
|
||||
if (cLevelLast > ZSTD_maxCLevel()) cLevelLast = ZSTD_maxCLevel();
|
||||
if (cLevelLast < cLevel) cLevelLast = cLevel;
|
||||
|
Reference in New Issue
Block a user