Commit 7648b41
authored
Stronger WASM compression (#9875)
Use strongest compression 22 instead of just 3. See
[docs](https://docs.rs/zstd/0.13.3/zstd/stream/write/struct.Encoder.html#method.new).
Reduces our KAH compressed size by 25%.
Build time by compression level:
| Compression | Build Time | Size | Decomp Time |
|-------------|-----------|---------|-------------|
| 3 | 5:54 | 3192172 | 0.013039s |
| 10 | 5:58 | 2716940 | 0.011962s |
| 22 | 6:06 | 2387562 | 0.013745s |
---------
Signed-off-by: Oliver Tale-Yazdi <[email protected]>1 parent bfa6642 commit 7648b41
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
0 commit comments