Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Firefox 112
Ubuntu
Desktop
one year ago
Test name Executions per second
instanceof 70607760.0 Ops/sec
typeof 437653728.0 Ops/sec
typeof no function 339947200.0 Ops/sec
typeof and test attribute 433567296.0 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • typeof

  • typeof no function

  • typeof and test attribute


;