diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2022-12-17 13:00:48 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2022-12-22 10:11:08 +0100 |
| commit | 1f82f0f8c44b9035420b1d9b9800fc9008fa15d7 (patch) | |
| tree | f77e5257a6056cea9e271127a0d7dd8b472d996f /executor/common_linux.h | |
| parent | a0df376348d2ad1d3e557ea221e75c78a5d9fd96 (diff) | |
pkg/image: optimize image decompression
Benchmark results:
name old time/op new time/op delta
Decompress-8 24.7ms ± 1% 13.4ms ± 4% -45.81% (p=0.000 n=16+19)
name old alloc/op new alloc/op delta
Decompress-8 67.2MB ± 0% 0.0MB ± 1% -99.98% (p=0.000 n=18+20)
name old allocs/op new allocs/op delta
Decompress-8 188 ± 0% 167 ± 0% -11.17% (p=0.000 n=20+20)
Test process memory consumption drops from 220MB to 80MB.
Diffstat (limited to 'executor/common_linux.h')
0 files changed, 0 insertions, 0 deletions
