type cast (v2)

Revision 2 of this benchmark created by Mahdi on


Test runner

Ready to run.

Testing in
TestOps/sec
parseFloat
var a = parseFloat("10000000.1212", 10);
var b = parseFloat("1000", 10);
ready
+ operator
var a = +"10000000.1212";
var b = +"1000" << 0;
ready

Revisions

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