Skip to content

Commit 5abf8cb

Browse files
committed
benchmark compressing a smaller file
1 parent 5bb1f07 commit 5abf8cb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

bzip2_benchmarks.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
"./compress c 8 silesia-small.tar",
2323
"./compress c 9 silesia-small.tar"
2424
],
25+
"compress-rs-small": [
26+
"./compress rs 1 tests/input/quick/sample3.ref"
27+
],
28+
"compress-c-small": [
29+
"./compress c 1 tests/input/quick/sample3.ref"
30+
],
2531
"decompress-rs": [
2632
"./decompress rs tests/input/bzip2-testfiles/commons-compress/zip64support.tar.bz2",
2733
"./decompress rs tests/input/bzip2-testfiles/go/regexp/re2-exhaustive.txt.bz2",
@@ -40,6 +46,9 @@
4046
]
4147
},
4248
"render-versus-self": {
49+
"compression small (c vs rs)": {
50+
"level 1": { "measure": "cycles", "before": { "command": "compress-c-small", "index": 0 }, "after": { "command": "compress-rs-small", "index": 0 } }
51+
},
4352
"compression (c vs rs)": {
4453
"level 1": { "measure": "cycles", "before": { "command": "compress-c", "index": 0 }, "after": { "command": "compress-rs", "index": 0 } },
4554
"level 2": { "measure": "cycles", "before": { "command": "compress-c", "index": 1 }, "after": { "command": "compress-rs", "index": 1 } },
@@ -61,6 +70,13 @@
6170
}
6271
},
6372
"render-versus-other": {
73+
"compression small (rs, other versus self)": {
74+
"measure": "cycles",
75+
"command": "compress-rs",
76+
"rows": {
77+
"level 1": 0
78+
}
79+
},
6480
"compression (rs, other versus self)": {
6581
"measure": "cycles",
6682
"command": "compress-rs",

0 commit comments

Comments
 (0)