Commit c7c6a27
authored
Remove the last decoder allocation (#142)
* Remove the last decoder allocation
```
benchmark old ns/op new ns/op delta
BenchmarkDecoder_DecodeAll/kppkn.gtb.zst-12 608499 610005 +0.25%
BenchmarkDecoder_DecodeAll/geo.protodata.zst-12 136501 137699 +0.88%
BenchmarkDecoder_DecodeAll/plrabn12.txt.zst-12 1967989 1944000 -1.22%
BenchmarkDecoder_DecodeAll/lcet10.txt.zst-12 1448010 1444000 -0.28%
BenchmarkDecoder_DecodeAll/asyoulik.txt.zst-12 504333 504333 +0.00%
BenchmarkDecoder_DecodeAll/alice29.txt.zst-12 650494 652504 +0.31%
BenchmarkDecoder_DecodeAll/html_x_4.zst-12 267000 267199 +0.07%
BenchmarkDecoder_DecodeAll/paper-100k.pdf.zst-12 24840 24659 -0.73%
BenchmarkDecoder_DecodeAll/fireworks.jpeg.zst-12 9594 9639 +0.47%
BenchmarkDecoder_DecodeAll/urls.10K.zst-12 1662010 1670000 +0.48%
BenchmarkDecoder_DecodeAll/html.zst-12 156400 155601 -0.51%
benchmark old MB/s new MB/s speedup
BenchmarkDecoder_DecodeAll/kppkn.gtb.zst-12 302.91 302.16 1.00x
BenchmarkDecoder_DecodeAll/geo.protodata.zst-12 868.77 861.21 0.99x
BenchmarkDecoder_DecodeAll/plrabn12.txt.zst-12 244.85 247.87 1.01x
BenchmarkDecoder_DecodeAll/lcet10.txt.zst-12 294.72 295.54 1.00x
BenchmarkDecoder_DecodeAll/asyoulik.txt.zst-12 248.21 248.21 1.00x
BenchmarkDecoder_DecodeAll/alice29.txt.zst-12 233.81 233.09 1.00x
BenchmarkDecoder_DecodeAll/html_x_4.zst-12 1534.08 1532.93 1.00x
BenchmarkDecoder_DecodeAll/paper-100k.pdf.zst-12 4122.35 4152.47 1.01x
BenchmarkDecoder_DecodeAll/fireworks.jpeg.zst-12 12828.87 12769.05 1.00x
BenchmarkDecoder_DecodeAll/urls.10K.zst-12 422.43 420.41 1.00x
BenchmarkDecoder_DecodeAll/html.zst-12 654.73 658.09 1.01x
benchmark old allocs new allocs delta
BenchmarkDecoder_DecodeAll/kppkn.gtb.zst-12 1 0 -100.00%
BenchmarkDecoder_DecodeAll/geo.protodata.zst-12 1 0 -100.00%
BenchmarkDecoder_DecodeAll/plrabn12.txt.zst-12 1 0 -100.00%
BenchmarkDecoder_DecodeAll/lcet10.txt.zst-12 1 0 -100.00%
BenchmarkDecoder_DecodeAll/asyoulik.txt.zst-12 1 0 -100.00%
BenchmarkDecoder_DecodeAll/alice29.txt.zst-12 1 0 -100.00%
BenchmarkDecoder_DecodeAll/html_x_4.zst-12 1 0 -100.00%
BenchmarkDecoder_DecodeAll/paper-100k.pdf.zst-12 1 0 -100.00%
BenchmarkDecoder_DecodeAll/fireworks.jpeg.zst-12 1 0 -100.00%
BenchmarkDecoder_DecodeAll/urls.10K.zst-12 1 0 -100.00%
BenchmarkDecoder_DecodeAll/html.zst-12 1 0 -100.00%
benchmark old bytes new bytes delta
BenchmarkDecoder_DecodeAll/kppkn.gtb.zst-12 32 0 -100.00%
BenchmarkDecoder_DecodeAll/geo.protodata.zst-12 32 0 -100.00%
BenchmarkDecoder_DecodeAll/plrabn12.txt.zst-12 32 0 -100.00%
BenchmarkDecoder_DecodeAll/lcet10.txt.zst-12 32 0 -100.00%
BenchmarkDecoder_DecodeAll/asyoulik.txt.zst-12 32 0 -100.00%
BenchmarkDecoder_DecodeAll/alice29.txt.zst-12 32 0 -100.00%
BenchmarkDecoder_DecodeAll/html_x_4.zst-12 32 0 -100.00%
BenchmarkDecoder_DecodeAll/paper-100k.pdf.zst-12 32 0 -100.00%
BenchmarkDecoder_DecodeAll/fireworks.jpeg.zst-12 32 0 -100.00%
BenchmarkDecoder_DecodeAll/urls.10K.zst-12 32 0 -100.00%
BenchmarkDecoder_DecodeAll/html.zst-12 32 0 -100.00%
```1 parent 2325679 commit c7c6a27
3 files changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
220 | | - | |
| 221 | + | |
| 222 | + | |
221 | 223 | | |
222 | 224 | | |
223 | 225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
284 | 285 | | |
285 | 286 | | |
| 287 | + | |
286 | 288 | | |
287 | 289 | | |
288 | 290 | | |
289 | 291 | | |
290 | 292 | | |
291 | | - | |
292 | | - | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
0 commit comments