Pow2 (v3)

Revision 3 of this benchmark created by Calvin on


Test runner

Ready to run.

Testing in
TestOps/sec
mult
var i = 0;
var len = 100;
var a =0;
while (i<len){
a += i*i;
i++;
}
ready
pow
var i = 0;
var len = 100;
var a =0;
while (i<len){
a += Math.pow(i,2);
i++;
}
ready

Revisions

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