summaryrefslogtreecommitdiffstats
path: root/programs/fullbench.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-06-21 16:01:15 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-06-21 16:01:15 (GMT)
commit8d66dd7cd52c69d4542eb910bd8743ef95fa9d8c (patch)
tree3a76382f737d7776b35a877834c8eebac3d8e051 /programs/fullbench.c
parent6e1179a1e3aa00d329983f85e4e13a9a9a4d3223 (diff)
downloadlz4-8d66dd7cd52c69d4542eb910bd8743ef95fa9d8c.zip
lz4-8d66dd7cd52c69d4542eb910bd8743ef95fa9d8c.tar.gz
lz4-8d66dd7cd52c69d4542eb910bd8743ef95fa9d8c.tar.bz2
Fixed : using loadDict() with small dictionaries
Diffstat (limited to 'programs/fullbench.c')
-rw-r--r--[-rwxr-xr-x]programs/fullbench.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/programs/fullbench.c b/programs/fullbench.c
index 154de78..f8a85ef 100755..100644
--- a/programs/fullbench.c
+++ b/programs/fullbench.c
@@ -506,7 +506,7 @@ int fullSpeedBench(char** fileNamesTable, int nbFiles)
double averageTime;
int milliTime;
- PROGRESS("%1i-%-25.25s : %9i ->\r", loopNb, compressorName, (int)benchedSize);
+ PROGRESS("%1i-%-26.26s : %9i ->\r", loopNb, compressorName, (int)benchedSize);
{ size_t i; for (i=0; i<benchedSize; i++) compressed_buff[i]=(char)i; } // warmimg up memory
nb_loops = 0;
@@ -530,13 +530,13 @@ int fullSpeedBench(char** fileNamesTable, int nbFiles)
if (averageTime < bestTime) bestTime = averageTime;
cSize=0; for (chunkNb=0; chunkNb<nbChunks; chunkNb++) cSize += chunkP[chunkNb].compressedSize;
ratio = (double)cSize/(double)benchedSize*100.;
- PROGRESS("%1i-%-25.25s : %9i -> %9i (%5.2f%%),%7.1f MB/s\r", loopNb, compressorName, (int)benchedSize, (int)cSize, ratio, (double)benchedSize / bestTime / 1000.);
+ PROGRESS("%1i-%-26.26s : %9i -> %9i (%5.2f%%),%7.1f MB/s\r", loopNb, compressorName, (int)benchedSize, (int)cSize, ratio, (double)benchedSize / bestTime / 1000.);
}
if (ratio<100.)
- DISPLAY("%-27.27s : %9i -> %9i (%5.2f%%),%7.1f MB/s\n", compressorName, (int)benchedSize, (int)cSize, ratio, (double)benchedSize / bestTime / 1000.);
+ DISPLAY("%-28.28s : %9i -> %9i (%5.2f%%),%7.1f MB/s\n", compressorName, (int)benchedSize, (int)cSize, ratio, (double)benchedSize / bestTime / 1000.);
else
- DISPLAY("%-27.27s : %9i -> %9i (%5.1f%%),%7.1f MB/s\n", compressorName, (int)benchedSize, (int)cSize, ratio, (double)benchedSize / bestTime / 1000.);
+ DISPLAY("%-28.28s : %9i -> %9i (%5.1f%%),%7.1f MB/s\n", compressorName, (int)benchedSize, (int)cSize, ratio, (double)benchedSize / bestTime / 1000.);
totalCTime[cAlgNb] += bestTime;
totalCSize[cAlgNb] += cSize;