-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add performance comparison/benchmarks #94
Comments
Based on my testing, there is a small performance benefit in Chrome for using constructable stylesheets provided the following conditions are true:
Here is a basic benchmark. In Chrome 90 on my MacBook, I'm seeing roughly ~65ms for Note that my benchmark does a simple Also note that this benchmark is measuring the full render time using a Also note that this benchmark uses vanilla DOM operations. If your framework of choice uses virtual DOM or some other mechanism to create the Edit: For the record, in Firefox Nightly 90 with the constructable stylesheets config flag enabled, I'm also seeing a small benefit in this benchmark: ~29ms for |
Could a performance comparison/benchmark reference for constructible style sheets with Chrome 73 be added?
I could find no readily available benchmarks.
The text was updated successfully, but these errors were encountered: