Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/119.0
Firefox 119
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
instanceof 291423648.0 Ops/sec
string type 736763072.0 Ops/sec
string type + undefined 737113152.0 Ops/sec
property 738565312.0 Ops/sec
constructor comparison 735906304.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • instanceof

  • string type

  • string type + undefined

  • property

  • constructor comparison


;