Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
instanceof 203535152.0 Ops/sec
string type 735696768.0 Ops/sec
string type + undefined 737039552.0 Ops/sec
property 736314176.0 Ops/sec
constructor comparison 733792960.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • instanceof

  • string type

  • string type + undefined

  • property

  • constructor comparison