• Sam Maier's avatar
    Compressing SnapshotData with zlib · 858e3c7e
    Sam Maier authored
    This CL introduces, and turns on by default, compression for snapshots.
    The compression is handled in SnapshotCompression, which is a new static
    helper class for producing/consuming compressed SnapshotData.
    
    To turn off snapshot compression (accomplished by removing calls of
    Compress/Decompress) set the GN arg:
    v8_disable_snapshot_compression = true
    
    
    Bug: chromium:833361
    Change-Id: If8abc3662e8473fbd0c94e443946fbea804a305e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1846066
    Commit-Queue: Sam Maier <smaier@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#66230}
    858e3c7e
test-serialize.cc 147 KB