isNaN vs isFinite vs ParseInt vs Number (v2)

Revision 2 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
isNaN
isNaN("1000");
isNaN("abcd")
ready
isFinite
isFinite("1000");
isFinite("abcd");
ready
parseInt
parseInt("1000");
parseInt("abcd");
ready
Number
Number("1000");
Number("abcd");
ready

Revisions

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