jsbench / jsbench.github.io

JavaScript benchmark playground
http://jsbench.github.io/
MIT License
266 stars 13 forks source link

The bouncing down-arrow doesn't disappear during re-runs, skewing results #34

Open alexchandel opened 6 years ago

alexchandel commented 6 years ago

After jsbench runs a test, a bouncing down-arrow appears (it's <div ref="scrollTo" class="app__scrollto" style=""></div>). When clicked, the arrow scrolls you to the charts at the bottom.

However, if you re-run the test by clicking the "Run" button, without ever having clicked the down arrow, it reruns the test while the bouncing animation is still going. This can significantly skew test results in some cases, depending on what is being tested.

vanowm commented 1 week ago

@RubaXa strangely this has been fixed in the source, but not at actual website.