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

improve performance #1500

Conversation

romainmenke
Copy link
Contributor

@romainmenke romainmenke commented Sep 17, 2023

Lightning CSS:    5 ms   (7.5 times faster)
Stylis:           6 ms   (6.3 times faster)
Autoprefixer dev: 29 ms  (1.2 times faster)
Autoprefixer:     36 ms
Stylecow:         204 ms (5.7 times slower)
  • do cheap checks before expensive checks
  • loop inside walkers instead of the other way around

@romainmenke romainmenke force-pushed the improve-performance--intuitive-flounder-4be96a2b30 branch from 7cf68ac to f859bd4 Compare September 17, 2023 12:44
@ai
Copy link
Member

ai commented Sep 17, 2023

Looks amazing. Sorry, I have no time today for PostCSS. I will try to release everything together.

@ai ai merged commit a87f4cd into postcss:main Sep 20, 2023
6 checks passed
@romainmenke romainmenke deleted the improve-performance--intuitive-flounder-4be96a2b30 branch September 20, 2023 21:00
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

Successfully merging this pull request may close these issues.

None yet

2 participants