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

move to pigz -11 for better Zopfli compression #3005

Closed
wants to merge 2 commits into from

Conversation

MichaelWest22
Copy link
Contributor

@MichaelWest22 MichaelWest22 commented Nov 8, 2024

Description

move the final distribution step to use pigz -11 to apply Zopfli compression to reduce the size of the zipped minified distribution version. Saves a few % in file size at the one of small cpu cost. Added fall back to gzip if pigz not installed

Corresponding issue:
#2998

Testing

Tested to make sure the gz file was about .5k smaller and can be uncompressed fine with gzip -d

Checklist

  • I have read the contribution guidelines
  • I have targeted this PR against the correct branch (master for website changes, dev for
    source changes)
  • This is either a bugfix, a documentation update, or a new feature that has been explicitly
    approved via an issue
  • I ran the test suite locally (npm run test) and verified that it succeeded

@Telroshan Telroshan added performance ready for review Issues that are ready to be considered for merging labels Nov 8, 2024
@alexpetros
Copy link
Collaborator

alexpetros commented Nov 14, 2024

Closing per guidelines on unsolicited PRs. We can discuss changing the compression algorithm on the linked issue. I see the value, but we'd have to align on it.

@alexpetros alexpetros closed this Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance ready for review Issues that are ready to be considered for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants