Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36
Chrome 83
Mac OS X 10.11.6
Desktop
4 years ago
Test name Executions per second
instanceof 950064.0 Ops/sec
tagName 1294016.6 Ops/sec
nodeName 1270493.4 Ops/sec
localName 1249409.1 Ops/sec
__proto__ 1002900.8 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • tagName

  • nodeName

  • localName

  • __proto__