Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/116.0.5845.118 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 116
iOS 16.1
Mobile
one year ago
Test name Executions per second
instanceof 6596957.5 Ops/sec
string type 15747231.0 Ops/sec
string type + undefined 5289735.0 Ops/sec
property 5333776.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • instanceof

  • string type

  • string type + undefined

  • property


;