Run details:
Mozilla/5.0 (Linux; Android 12; SM-A725F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Mobile Safari/537.36
Chrome Mobile 106
Android
Mobile
2 years ago
Test name Executions per second
instanceof 1827554.2 Ops/sec
typeof 5609618.5 Ops/sec
typeof no function 2779546.2 Ops/sec
typeof and test attribute 2826648.5 Ops/sec
attribte 1855127.5 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • typeof

  • typeof no function

  • typeof and test attribute

  • attribte


;