summaryrefslogtreecommitdiff
path: root/bench.c
diff options
context:
space:
mode:
authorroot <root>2007-11-13 11:41:46 +0000
committerroot <root>2007-11-13 11:41:46 +0000
commitfd9bb318a921bb5c4d79eb7d199f52eb67054451 (patch)
tree7c8b84c2ccdc970e0c1d2a9c48b98b203fab304e /bench.c
parent110fdc6e441d5e2ef11229486534db0f5e36e87d (diff)
*** empty log message ***
Diffstat (limited to 'bench.c')
-rw-r--r--bench.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench.c b/bench.c
index 2c26a8d..4289b8e 100644
--- a/bench.c
+++ b/bench.c
@@ -42,11 +42,11 @@ int main(void)
fclose (f);
for (lp = 0; lp < 1000; lp++) {
- l = lzf_compress (data, DSIZE, data2, DSIZE*2);
s=stamp();
+ l = lzf_compress (data, DSIZE, data2, DSIZE*2);
//l = fastlz_compress_level (1, data, DSIZE, data2);
- j = lzf_decompress (data2, l, data3, DSIZE*2);
si[0]=measure(s);
+ j = lzf_decompress (data2, l, data3, DSIZE*2);
printf ("\r%10d (%d) ", si[0], l);
if (si[0] < min && si[0] > 0)