Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
Chrome 90
Windows
Desktop
3 years ago
Test name Executions per second
parentNode 8476560.0 Ops/sec
nextSibling 8609334.0 Ops/sec
parentElement 8509600.0 Ops/sec
previousSibling 8537510.0 Ops/sec
getElementById 2675058.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • parentNode

  • nextSibling

  • parentElement

  • previousSibling

  • getElementById