Comparison of comparisons (v21)

Revision 21 of this benchmark created on


Description

Compares the performance of == and ===.

Setup

var a = 'hello';
    var b = 'world';

Test runner

Ready to run.

Testing in
TestOps/sec
Identity
a === b;
a === a;
ready
Equality
a == b;
a == a;
ready

Revisions

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