ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/liblzf/bench.c
(Generate patch)

Comparing liblzf/bench.c (file contents):
Revision 1.2 by root, Sun May 30 19:27:12 2004 UTC vs.
Revision 1.3 by root, Tue Mar 8 19:59:52 2005 UTC

38 38
39 FILE *f = fopen ("data", "r"); 39 FILE *f = fopen ("data", "r");
40 fread (data, DSIZE, 1, f); 40 fread (data, DSIZE, 1, f);
41 fclose (f); 41 fclose (f);
42 42
43 for (lp = 0; lp < 100; lp++) { 43 for (lp = 0; lp < 1000; lp++) {
44 s=stamp(); 44 s=stamp();
45 l = lzf_compress (data, DSIZE, data2, DSIZE*2); 45 l = lzf_compress (data, DSIZE, data2, DSIZE*2);
46 j = lzf_decompress (data2, l, data3, DSIZE*2); 46 j = lzf_decompress (data2, l, data3, DSIZE*2);
47 si[0]=measure(s); 47 si[0]=measure(s);
48 48

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines