twovsoneprettyfun

Benchmark created on


Setup

function two(){
    for(var i=0;i<100;i++){
    2*i;
    i/2;
    }
    for(var j=0;j<100;j++){
    2*j;
    j/2;
    }
    }
    function one(){
    for(var i=0;i<200;i++){
    2*i;
    i/2;
    }
    }

Test runner

Ready to run.

Testing in
TestOps/sec
two
two();
ready
one
one();
ready

Revisions

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