Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_16_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Chrome 81
Mac OS X 10.16.0
Desktop
2 years ago
Test name Executions per second
parentNode 13023860.0 Ops/sec
nextSibling 13097278.0 Ops/sec
parentElement 13075188.0 Ops/sec
previousSibling 13190694.0 Ops/sec
getElementById 3670366.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • parentNode

  • nextSibling

  • parentElement

  • previousSibling

  • getElementById