summaryrefslogtreecommitdiffstats
path: root/bench.c
diff options
context:
space:
mode:
authoryann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd>2013-03-02 23:34:21 (GMT)
committeryann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd>2013-03-02 23:34:21 (GMT)
commit633c51904ebc1e3d3f51d4793d24f4f39ce579cf (patch)
tree3b5a358322f102126c21dfda179698ace6347f38 /bench.c
parente898c9a79a91083805e9a733c2c0917aa7d24820 (diff)
downloadlz4-633c51904ebc1e3d3f51d4793d24f4f39ce579cf.zip
lz4-633c51904ebc1e3d3f51d4793d24f4f39ce579cf.tar.gz
lz4-633c51904ebc1e3d3f51d4793d24f4f39ce579cf.tar.bz2
- New cmake file, by Nobuhiro Iwamatsu, which can also produce shared and static libraries.
- Improved decoding speed, even more for 64-bits, and "safe" version - Slight speed increase for LZ4-HC - Pushed a useless parameter down the list in lz4.c git-svn-id: https://lz4.googlecode.com/svn/trunk@90 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
Diffstat (limited to 'bench.c')
-rw-r--r--bench.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bench.c b/bench.c
index 2758007..d185811 100644
--- a/bench.c
+++ b/bench.c
@@ -433,7 +433,8 @@ int BMK_benchFile(char** fileNamesTable, int nbFiles, int cLevel)
while(BMK_GetMilliSpan(milliTime) < TIMELOOP)
{
for (chunkNb=0; chunkNb<nbChunks; chunkNb++)
- chunkP[chunkNb].outputSize = compP.decompressionFunction(chunkP[chunkNb].outputBuffer, chunkP[chunkNb].inputBuffer, chunkP[chunkNb].inputSize);
+ chunkP[chunkNb].outputSize = LZ4_uncompress(chunkP[chunkNb].outputBuffer, chunkP[chunkNb].inputBuffer, chunkP[chunkNb].inputSize);
+ //chunkP[chunkNb].inputSize = LZ4_uncompress_unknownOutputSize(chunkP[chunkNb].outputBuffer, chunkP[chunkNb].inputBuffer, chunkP[chunkNb].outputSize, chunkSize);
nb_loops++;
}
milliTime = BMK_GetMilliSpan(milliTime);