Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78
Mac OS X 10.11
Desktop
one year ago
Test name Executions per second
instanceof 39714644.0 Ops/sec
string type 90483984.0 Ops/sec
string type + undefined 33969388.0 Ops/sec
property 35416960.0 Ops/sec
constructor comparison 39473000.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • instanceof

  • string type

  • string type + undefined

  • property

  • constructor comparison


;