Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0
Firefox 135
Windows
Desktop
3 months ago
Test name Executions per second
instanceof 162541008.0 Ops/sec
typeof 1272315392.0 Ops/sec
typeof no function 1110408064.0 Ops/sec
typeof and test attribute 892499712.0 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • typeof

  • typeof no function

  • typeof and test attribute