Skip to content

Commit

Permalink
Use faster compression option
Browse files Browse the repository at this point in the history
One-off comparison in GitHub Actions with the default 4 core runner:

* default `pigz`: 1.7G file size, 1m 49s
* `--fast`: 1.9G file size, 1m 16s

The upload and download time for the file compressed with default
settings is about 10 seconds (turning compression off for the upload).
  • Loading branch information
StevenMaude committed May 15, 2024
1 parent 89e7851 commit e97af58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Save docker image
run: |
docker save research-template | pigz > /tmp/research-template.tar.gz
docker save research-template | pigz --fast > /tmp/research-template.tar.gz
- name: Upload docker image
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit e97af58

Please sign in to comment.