Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36
Chrome 84
Linux
Desktop
4 years ago
Test name Executions per second
parentNode 8286208.5 Ops/sec
nextSibling 8464659.0 Ops/sec
parentElement 8250890.5 Ops/sec
previousSibling 8586552.0 Ops/sec
getElementById 2620693.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • parentNode

  • nextSibling

  • parentElement

  • previousSibling

  • getElementById