Comparison of comparisons (v18)

Revision 18 of this benchmark created by iKBAHT on


Description

Compares the performance of == and ===.

Setup

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

Test runner

Ready to run.

Testing in
TestOps/sec
Identity

a === c;
ready
Equality

a == c;
ready

Revisions

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