Skip to content

Commit 102fca2

Browse files
committed
update benchmarks
1 parent b6851b4 commit 102fca2

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ Each file is compressed 1000 times.
3131
**https://github.com/guzba/zippy** compress results:
3232
File | Time | % Size Reduction
3333
--- | --- | ---:
34-
rfctest3 | 1.1809s | 70.91%
35-
alice29 | 6.3391s | 62.33%
36-
urls.10K | 20.1999s | 67.01%
37-
randtest3 | 0.1285s | 0%
34+
alice29.txt | 6.3391s | 62.33%
35+
urls.10K | 19.9189s | 67.01%
36+
rfctest3.gold | 1.1809s | 70.91%
37+
randtest3.gold | 0.1285s | 0%
3838

3939
https://github.com/nim-lang/zip compress results: (Requires zlib1.dll)
4040
File | Time | % Size Reduction
4141
--- | --- | ---:
42-
rfctest3 | 0.8147s | 71.74%
43-
alice29 | 7.0150s | 64.23%
42+
alice29.txt | 7.0150s | 64.23%
4443
urls.10K | 16.6361s | 68.29%
45-
randtest3 | 0.1545s | 0%
44+
rfctest3.gold | 0.8147s | 71.74%
45+
randtest3.gold | 0.1545s | 0%
4646

4747
### Uncompress
4848

@@ -51,18 +51,18 @@ Each file is uncompressed 1000 times.
5151
**https://github.com/guzba/zippy** uncompress results:
5252
File | Time
5353
--- | ---:
54-
rfctest3 | 0.2936s
5554
alice29 | 1.3988s
5655
urls.10K | 7.3736s
57-
randtest3 | 0.0398s
56+
rfctest3.gold | 0.2936s
57+
randtest3.gold | 0.0398s
5858

5959
https://github.com/nim-lang/zip uncompress results: (Requires zlib1.dll)
6060
File | Time
6161
--- | ---:
62-
rfctest3 | 0.1148s
6362
alice29 | 0.4929s
6463
urls.10K | 2.2334s
65-
randtest3 | 0.0053s
64+
rfctest3.gold | 0.1148s
65+
randtest3.gold | 0.0053s
6666

6767

6868
## Testing

tests/benchmark.nim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ import miniz, nimPNG/nimz, std/monotimes, strformat, zip/zlib, zippy
22

33
const
44
zs = [
5-
"rfctest3.z",
65
"alice29.txt.z",
76
"urls.10K.z",
7+
"rfctest3.z",
88
"randtest3.z"
99
]
1010
golds = [
11-
"rfctest3.gold",
1211
"alice29.txt",
1312
"urls.10K",
14-
"randtest3.z"
13+
"rfctest3.gold",
14+
"randtest3.gold"
1515
]
1616
iterations = 1000
1717

0 commit comments

Comments
 (0)