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

{ restructuring: true } performs worse in both speed and size (after compression) benchmarks #432

Open
tbjgolden opened this issue Mar 14, 2021 · 0 comments

Comments

@tbjgolden
Copy link

tbjgolden commented Mar 14, 2021

Ran some benchmarks against different minifiers and discovered that the restructuring can actually perform worse after compression, and even if it sometimes is better - it runs much slower.

Source: https://gist.github.com/tbjgolden/03e4f4a15c25ed10b6bf76122c352224

Two main points:

  • Perhaps it might be worth considering changing the default to false?
  • Perhaps the focus should be redirected towards actual compression speed vs compression ratio as there is more room for improvement there

some added context: general purpose compression is used on 85% of websites according to:
https://w3techs.com/technologies/details/ce-compression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant