Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0
Firefox 87
Fedora
Desktop
3 years ago
Test name Executions per second
instanceof 101648784.0 Ops/sec
typeof 590449472.0 Ops/sec
typeof no function 527941856.0 Ops/sec
typeof and test attribute 529087520.0 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • typeof

  • typeof no function

  • typeof and test attribute


;