Run details:
Mozilla/5.0 (Linux; Android 12; Pixel 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.59 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
instanceof 2907907.5 Ops/sec
typeof 9794514.0 Ops/sec
typeof no function 4869766.0 Ops/sec
typeof and test attribute 4834454.5 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • typeof

  • typeof no function

  • typeof and test attribute


;