Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Mobile Safari/537.36
Chrome Mobile 117
Android
Mobile
3 months ago
Test name Executions per second
instanceof 1801229.4 Ops/sec
string type 4362727.0 Ops/sec
string type + undefined 1388521.2 Ops/sec
property 1440600.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • instanceof

  • string type

  • string type + undefined

  • property