Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122
Android
Desktop
9 months ago
Test name Executions per second
instanceof 3254525.5 Ops/sec
string type 6650936.0 Ops/sec
string type + undefined 2576935.5 Ops/sec
property 2427696.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • instanceof

  • string type

  • string type + undefined

  • property