Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Chrome 110
Linux
Desktop
one year ago
Test name Executions per second
instanceof 889039.7 Ops/sec
typeof 2947060.0 Ops/sec
typeof no function 1351038.4 Ops/sec
typeof and test attribute 1390770.6 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • typeof

  • typeof no function

  • typeof and test attribute


;