Skip to content

Conversation

analytically
Copy link
Contributor

Migrate from Go's standard library compress/gzip to github.com/klauspost/compress/gzip in go-archive and ATC. This drop-in replacement offers significant performance improvements:

  • 3-7x faster decompression speeds
  • Better compression ratios
  • Reduced memory usage
  • Fully API-compatible with the standard library

@analytically analytically requested a review from a team as a code owner March 19, 2025 11:23
Migrate from Go's standard library compress/gzip to github.com/klauspost/compress/gzip
in go-archive and ATC. This drop-in replacement offers significant performance improvements:
- 3-7x faster decompression speeds
- Better compression ratios
- Reduced memory usage
- Fully API-compatible with the standard library

Signed-off-by: Mathias Bogaert <mathias.bogaert@gmail.com>
These were the only two non-testing files using the stdlib compress and
archive packages still. Figured we might as well use klauspost/compress
here as well

Signed-off-by: Taylor Silva <dev@taydev.net>
@taylorsilva taylorsilva merged commit 0ab4222 into concourse:master May 20, 2025
12 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Pull Requests May 20, 2025
@analytically analytically deleted the archivegzip branch May 20, 2025 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants