parseInt Comparisons

JavaScript performance comparison

Revision 2 of this test case created by Brandon McCaig

Test runner

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

Java applet disabled.

Testing in CCBot 2.0.0 / Other 0.0.0
Test Ops/sec
parseInt 12345678
parseInt("12345678")
pending…
bitwise or 12345678
"12345678" | 0
pending…
bitwise shift 12345678
"12345678" >> 0
pending…
unary plus 12345678
+ "12345678"
pending…
times 1 12345678
"12345678" * 1
pending…

Revisions

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

0 Comments