Scroll vs css transform (v2)

Revision 2 of this benchmark created on


Preparation HTML

<style>
html{
overflow:hidden;
}
</style>

Setup

var bds = document.body.style;
    var dde = document.documentElement;

Test runner

Ready to run.

Testing in
TestOps/sec
Scroll
scroll(0, 250*Math.random()+100);
ready
ScrollTop
dde.scrollTop = 250*Math.random()+100;
ready
CSS transform
bds.MozTransform = 'translate(0,' + 250*Math.random()+100 + 'px)';
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.