Number vs. parseInt

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Number
foo = Number('123');
ready
parseInt
foo = parseInt('123');
ready
parseInt (radix)
foo = parseInt('123', 10);
ready

Revisions

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