Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Chrome 100
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
parentNode 16094684.0 Ops/sec
nextSibling 16311495.0 Ops/sec
parentElement 16218851.0 Ops/sec
previousSibling 16228512.0 Ops/sec
getElementById 4859943.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • parentNode

  • nextSibling

  • parentElement

  • previousSibling

  • getElementById