mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
add a lorem ipsum generator
this generator replaces the statistical generator for the general case when no statistic is requested. Generated data features a compression level speed / ratio curve which is more in line with expectation.
This commit is contained in:
@ -856,7 +856,7 @@ int main(int argCount, const char* argv[])
|
||||
ZSTD_paramSwitch_e useRowMatchFinder = ZSTD_ps_auto;
|
||||
FIO_compressionType_t cType = FIO_zstdCompression;
|
||||
unsigned nbWorkers = 0;
|
||||
double compressibility = 0.5;
|
||||
double compressibility = -1.0; /* lorem ipsum generator */
|
||||
unsigned bench_nbSeconds = 3; /* would be better if this value was synchronized from bench */
|
||||
size_t blockSize = 0;
|
||||
|
||||
@ -1280,7 +1280,7 @@ int main(int argCount, const char* argv[])
|
||||
break;
|
||||
|
||||
/* unknown command */
|
||||
default :
|
||||
default :
|
||||
sprintf(shortArgument, "-%c", argument[0]);
|
||||
badUsage(programName, shortArgument);
|
||||
CLEAN_RETURN(1);
|
||||
|
Reference in New Issue
Block a user