Multiply vs divide vs bit wise

JavaScript performance comparison

Revision 7 of this test case created by Leo Berdu

Info

Just a test using bit wise.

Test runner

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

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
Multiply
var x = 4 * 0.5;
pending…
Divide
var x = 4 / 2;
pending…
Bit wise
var x = 5 >> 1;
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:

0 comments

Add a comment