Triple equals vs Double equals (v12)

Revision 12 of this benchmark created on


Description

Check performance of === against ==.

Preparation HTML

<script>
var TYPE = {
  ATYPE: 1,
  CTYPE: null
};
var a = TYPE.ATYPE;
var c = TYPE.CTYPE;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
===
a === c;
ready
==
a == c;
ready

Revisions

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