triple equals vs twice equals (v17)

Revision 17 of this benchmark created on


Setup

var testInt = 111;
    var testIntSame = 111;

Test runner

Ready to run.

Testing in
TestOps/sec
3-equals-false
testInt === testIntSame;
ready
3-unequals-false
testInt !== testIntSame;
ready
3-equals-true
 
ready
2-equals-true
 
ready
2-equals-true-non-coerced
 
ready
2-equals-false-non-coerced
 
ready
3-equals-true-non-coerced
 
ready
3-equals-false-non-coerced
 
ready
math.abs
 
ready

Revisions

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