Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
Chrome 54
Mac OS X 10.12.1
Other
7 years ago
Test name Executions per second
Number - same - == ..:: 6045268.0 Ops/sec
Number Vs. Object - === .: 5883628.0 Ops/sec
Number Vs. Object - == ..:: 3292894.5 Ops/sec
Number Vs. String - === .: 5976180.0 Ops/sec
Number Vs. String - == ..:: 3756226.0 Ops/sec
Number Vs. NaN - === .: 3742398.0 Ops/sec
Number Vs. NaN - == ..:: 3616670.0 Ops/sec
Undefined - === .: 3729443.2 Ops/sec
Undefined - == ..:: 3799769.8 Ops/sec
NaN - === .: 3830511.8 Ops/sec
NaN - == .: 3825046.8 Ops/sec
Null - === .: 11396364.0 Ops/sec
Null - == ..:: 11398997.0 Ops/sec
Object - dif - === .: 6053063.5 Ops/sec
Object - dif - == ..:: 5951185.0 Ops/sec
Object - clone - === .: 6102716.5 Ops/sec
Object - clone - == ..:: 5944042.5 Ops/sec
Object - same - === .: 6063494.5 Ops/sec
Object - same - == ..:: 6055702.5 Ops/sec
String - dif - === .: 6037429.0 Ops/sec
String - dif - == ..:: 5849402.5 Ops/sec
String - clone - === .: 5999491.0 Ops/sec
String - clone - == ..:: 6019739.5 Ops/sec
String - same - === .: 6136314.0 Ops/sec
String - same - == ..:: 5984558.5 Ops/sec
Number - dif - === .: 6038366.0 Ops/sec
Number - dif - == ..:: 6073275.0 Ops/sec
Number - clone - === .: 5994162.5 Ops/sec
Number - clone - == ..:: 6017096.5 Ops/sec
Number - same - === .: 5740672.0 Ops/sec
String Vs. Object - == ..:: 3697803.8 Ops/sec
String Vs. Object - === .: 5833048.5 Ops/sec
Script Preparation code:
Tests:
  • Number - same - == ..::

  • Number - same - === .:

  • Number - clone - == ..::

  • Number - clone - === .:

  • Number - dif - == ..::

  • Number - dif - === .:

  • String - same - == ..::

  • String - same - === .:

  • String - clone - == ..::

  • String - clone - === .:

  • String - dif - == ..::

  • String - dif - === .:

  • Object - same - == ..::

  • Object - same - === .:

  • Object - clone - == ..::

  • Object - clone - === .:

  • Object - dif - == ..::

  • Object - dif - === .:

  • Null - == ..::

  • Null - === .:

  • NaN - == .:

  • NaN - === .:

  • Undefined - == ..::

  • Undefined - === .:

  • Number Vs. NaN - == ..::

  • Number Vs. NaN - === .:

  • Number Vs. String - == ..::

  • Number Vs. String - === .:

  • Number Vs. Object - == ..::

  • Number Vs. Object - === .:

  • String Vs. Object - == ..::

  • String Vs. Object - === .:


;