Poor performance in ClearClickHandler#rapidFire.check
Posted: Tue Jun 04, 2013 6:59 pm
Steps to reproduce:
1. Go to http://dump.ventero.de/xkcd1110/open.html
2. Open Firefox dev tools and start profiling
3. Scroll your mousewheel (rapidly - the faster you scroll the more noticable the effect is) for a few seconds to zoom in and out on different spots
4. Stop profiling
Result: approximately 30% of the runtime is spent in ClearClickHandler's rapidFire.check, leading to poor performance of the application itself.
This was tested with NoScript 2.6.6.3rc1 in Firefox 22, the site is marked as trusted and ClearClick protection is disabled on trusted sites.
1. Go to http://dump.ventero.de/xkcd1110/open.html
2. Open Firefox dev tools and start profiling
3. Scroll your mousewheel (rapidly - the faster you scroll the more noticable the effect is) for a few seconds to zoom in and out on different spots
4. Stop profiling
Result: approximately 30% of the runtime is spent in ClearClickHandler's rapidFire.check, leading to poor performance of the application itself.
This was tested with NoScript 2.6.6.3rc1 in Firefox 22, the site is marked as trusted and ClearClick protection is disabled on trusted sites.