parseFloat vs parseInt

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
parseFloat
var f = parseFloat("22.23");
ready
parseInt
var i = parseInt("2223", 10);
ready

Revisions

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