isnan vs compare nan (v2)

Revision 2 of this benchmark created on


Setup

var a = 0;

Test runner

Ready to run.

Testing in
TestOps/sec
isNaN
isNaN(a);
ready
regex
a.match("[0-9]+")
ready

Revisions

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