Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archive: use pigz|zstd if available #1964

Commits on Jun 11, 2024

  1. archive: do not leak buffer on errors

    Signed-off-by: Giuseppe Scrivano <[email protected]>
    giuseppe committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    17cd45f View commit details
    Browse the repository at this point in the history
  2. archive: use pigz if available

    use the pigz command line tool when available as it is much faster to
    decompress a gzip stream.
    
    On my machine I've seen a 50% pull time reduction when pulling some
    big images.
    
    Signed-off-by: Giuseppe Scrivano <[email protected]>
    giuseppe committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    b3319f0 View commit details
    Browse the repository at this point in the history
  3. archive: use zstd if available

    the performance improvement is not as clear as with pigz, but it is
    still measurable difference.
    
    Signed-off-by: Giuseppe Scrivano <[email protected]>
    giuseppe committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    ae8836f View commit details
    Browse the repository at this point in the history