Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87 Safari/537.36
Chrome 78
Fedora
Desktop
3 years ago
Test name Executions per second
instanceof 3802905.0 Ops/sec
typeof 10748616.0 Ops/sec
typeof no function 5339844.0 Ops/sec
typeof and test attribute 4964514.5 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • typeof

  • typeof no function

  • typeof and test attribute


;