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

Wrap JSDOM to count DOM mutations #1276

Closed
Rich-Harris opened this issue Mar 26, 2018 · 3 comments
Closed

Wrap JSDOM to count DOM mutations #1276

Rich-Harris opened this issue Mar 26, 2018 · 3 comments
Labels

Comments

@Rich-Harris
Copy link
Member

Opening this so we don't lost @btakita's idea in #1274:

Perhaps one way to test performance regressions is to add a wrapper to the JSDOM api which records DOM operations. Then the test can assert n DOM operations were performed.

@marvinhagemeister
Copy link
Contributor

@Rich-Harris Had the same use case a while ago: https://github.com/marvinhagemeister/dom-callcount

@stale
Copy link

stale bot commented Dec 25, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@Rich-Harris
Copy link
Member Author

Closing as we have much more visibility into this stuff in the Svelte 5 world

@Rich-Harris Rich-Harris closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants