fixed zstd -b speed result

the benchmark was displaying the speed of last run
instead of the best of all previous runs.
This commit is contained in:
Yann Collet
2018-08-23 18:13:49 -07:00
parent b0e1f3982d
commit 4da5bdf482
3 changed files with 59 additions and 51 deletions
+1 -1
View File
@@ -597,7 +597,7 @@ static int benchFiles(U32 benchNb,
if ((U64)benchedSize > inFileSize)
benchedSize = (size_t)inFileSize;
if ((U64)benchedSize < inFileSize) {
DISPLAY("Not enough memory for '%s' full size; testing %u MB only...\n",
DISPLAY("Not enough memory for '%s' full size; testing %u MB only... \n",
inFileName, (U32)(benchedSize>>20));
} }