spaniel icon indicating copy to clipboard operation
spaniel copied to clipboard

Performance in Safari (macOS)

Open erysaj opened this issue 5 years ago • 1 comments

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

erysaj avatar Aug 19 '20 16:08 erysaj

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

seanjohnson08 avatar Oct 27 '20 23:10 seanjohnson08