summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2004-05-30 19:27:12 +0000
committerroot <root>2004-05-30 19:27:12 +0000
commit87c2b1de373fd1b43a870f66bf3aa97260d40355 (patch)
treef6c2fb50ea6e19554f709b78330ac9844fce49ee
parentcce5d2f93161200075b49e5983b96e9ce0d0de82 (diff)
*** empty log message ***
-rw-r--r--bench.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bench.c b/bench.c
index 2700c46..41ca037 100644
--- a/bench.c
+++ b/bench.c
@@ -34,12 +34,13 @@ int main(void)
tval si[1000];
int i, l, j;
int min = 1<<30;
+ int lp;
FILE *f = fopen ("data", "r");
fread (data, DSIZE, 1, f);
fclose (f);
- for(;;) {
+ for (lp = 0; lp < 100; lp++) {
s=stamp();
l = lzf_compress (data, DSIZE, data2, DSIZE*2);
j = lzf_decompress (data2, l, data3, DSIZE*2);