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

Performance issue: getMatchedCSSRules takes ~800ms, causing slowdowns during split operations #803

Open
francesc79 opened this issue Nov 29, 2024 · 0 comments

Comments

@francesc79
Copy link

Hi,

I am experiencing a performance issue related to the getMatchedCSSRules method. During split operations, this method takes approximately 800ms to execute, causing noticeable slowdowns. In the image attached you can see a problem.

split

Have you considered adding a cache to this method or passing with options the value required for avoid search in all css rules?

Looking forward to your feedback

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