Run details:
Mozilla/5.0 (Linux; Android 13; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
Chrome Mobile 109
Android
Mobile
one year ago
Test name Executions per second
instanceof 1826044.2 Ops/sec
string type 6345458.0 Ops/sec
string type + undefined 1862984.8 Ops/sec
property 1302824.5 Ops/sec
constructor comparison 2298309.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • instanceof

  • string type

  • string type + undefined

  • property

  • constructor comparison


;