Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_16_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4204.0 Safari/537.36
Chrome 86
Mac OS X 10.16.0
Desktop
4 years ago
Test name Executions per second
instanceof 1695211.2 Ops/sec
tagName 2324902.0 Ops/sec
nodeName 2289910.5 Ops/sec
localName 2329193.8 Ops/sec
__proto__ 1818860.8 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • tagName

  • nodeName

  • localName

  • __proto__