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 in Safari (macOS) #125

Open
erysaj opened this issue Aug 19, 2020 · 1 comment
Open

Performance in Safari (macOS) #125

erysaj opened this issue Aug 19, 2020 · 1 comment
Assignees

Comments

@erysaj
Copy link

erysaj commented Aug 19, 2020

Hi,
this library appears to be the cause of ridiculously high CPU usage by an idle LinkedIn homepage:

Screenshot 2020-08-19 at 19 25 11

The main thread is spammed by the scheduled calls to Element.getBoundingClientRect() and induced style recalculations

Screenshot 2020-08-19 at 19 23 47

@seanjohnson08 seanjohnson08 self-assigned this Oct 27, 2020
@seanjohnson08
Copy link
Collaborator

Thanks for the report, we have fixed it in the latest v2 version.

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

2 participants