eqeqeq vs eq (v8)

Revision 8 of this benchmark created on


Description

Check performance of === vs == in varying situations.

Setup

var a = "a"

Test runner

Ready to run.

Testing in
TestOps/sec
===
if(a==="a"){
true;
}
ready
==
if(a=="a"){
true;
}
ready

Revisions

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

  • Revision 1: published on
  • Revision 2: published on
  • Revision 3: published by Mike McCaughan on
  • Revision 4: published by Mike McCaughan on
  • Revision 5: published by Mike McCaughan on
  • Revision 6: published by Mike McCaughan on
  • Revision 7: published by Mike McCaughan on
  • Revision 8: published on