distance

JavaScript performance comparison

Test case created

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
Math abs
for (var i=0;i<1000000;i++) a= Math.abs(5-2)+Math.abs(8-4);
pending…
Math power
for (var i=0;i<1000000;i++) a= Math.power(5-2,2)+Math.power(8-4,2);
pending…

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

Compare results of other browsers

0 comments

Add a comment