diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2022-11-25 12:50:29 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2022-11-25 13:14:53 +0100 |
| commit | 70393e5d05ae78166599755b835f0d465c815f48 (patch) | |
| tree | f674c69030c296100885d68d65c3c9f20b062bcf /prog/mutation.go | |
| parent | 0d68fcb4879b7f76e4242bfa0b0004c9a0eb9b5e (diff) | |
prog: don't materialize uncompressed image in Deserialize
Currently we uncompress all images in Deserialize to check that the data is valid.
As the result deserializing all seeds we have takes ~40 seconds of real time
and ~125 seconds of CPU time. And we do this during every syz-manager start.
Don't materialize the uncompressed image.
This reduces real time to ~15 seconds and CPU time to 18 seconds (no garbage collections).
In syz-manager the benefit is even larger since garbage collections take longer (larger heap).
Diffstat (limited to 'prog/mutation.go')
0 files changed, 0 insertions, 0 deletions
