Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36
Chrome 89
Mac OS X 10.14.5
Desktop
3 years ago
Test name Executions per second
instanceof 1265374.4 Ops/sec
tagName 1675346.9 Ops/sec
nodeName 1660457.1 Ops/sec
localName 1763701.1 Ops/sec
__proto__ 1338877.1 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • tagName

  • nodeName

  • localName

  • __proto__