Run details:
Mozilla/5.0 (Linux; Android 12; SM-T575) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Android
Tablet
2 years ago
Test name Executions per second
instanceof 1460291.1 Ops/sec
string type 4702116.0 Ops/sec
string type + undefined 1474030.6 Ops/sec
property 1434673.2 Ops/sec
constructor comparison 1847088.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • instanceof

  • string type

  • string type + undefined

  • property

  • constructor comparison


;