Skip to content

Make decompression a bit faster #988

@JJ

Description

@JJ

Here

return ['--use-compress-program', 'zstd -d --long=30']
case CompressionMethod.ZstdWithoutLong:
return ['--use-compress-program', 'zstd -d']

You seem to be using the standard option, which gives high compression ration, but less compression speed. I wonder if it's really worth the while to do so, since what's required from a cache is that it decompresses fast when there's a cache hit. Since that's offloaded somewhere else, less compression ration means it might take more to download, but it's still likely that decompression speed trumps downloading speed. Did you try that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions