Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0
Chrome 130
Windows
Desktop
9 days ago
Test name Executions per second
Number - same - == ..:: 8640385.0 Ops/sec
Number - same - === .: 8664404.0 Ops/sec
Number - clone - == ..:: 8516264.0 Ops/sec
Number - clone - === .: 8639178.0 Ops/sec
Number - dif - == ..:: 8576270.0 Ops/sec
Number - dif - === .: 8646357.0 Ops/sec
String - same - == ..:: 8611964.0 Ops/sec
String - same - === .: 8589996.0 Ops/sec
String - clone - == ..:: 8593240.0 Ops/sec
String - clone - === .: 8635578.0 Ops/sec
String - dif - == ..:: 8683053.0 Ops/sec
String - dif - === .: 8713016.0 Ops/sec
Object - same - == ..:: 8762633.0 Ops/sec
Object - same - === .: 8744532.0 Ops/sec
Object - clone - == ..:: 8685347.0 Ops/sec
Object - clone - === .: 8730572.0 Ops/sec
Object - dif - == ..:: 8790110.0 Ops/sec
Object - dif - === .: 8745290.0 Ops/sec
Null - == ..:: 16996522.0 Ops/sec
Null - === .: 16976396.0 Ops/sec
NaN - == .: 8739123.0 Ops/sec
NaN - === .: 8786487.0 Ops/sec
Undefined - == ..:: 8690963.0 Ops/sec
Undefined - === .: 8698250.0 Ops/sec
Number Vs. NaN - == ..:: 8786481.0 Ops/sec
Number Vs. NaN - === .: 8711150.0 Ops/sec
Number Vs. String - == ..:: 7282614.0 Ops/sec
Number Vs. String - === .: 8722614.0 Ops/sec
Number Vs. Object - == ..:: 6079377.5 Ops/sec
Number Vs. Object - === .: 8794761.0 Ops/sec
String Vs. Object - == ..:: 6899383.0 Ops/sec
String Vs. Object - === .: 8737937.0 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 - === .:


;