Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Windows
Desktop
one year ago
Test name Executions per second
childNodes 2628239.8 Ops/sec
children 3218125.8 Ops/sec
firstChild nextSibling 9469674.0 Ops/sec
firstElementChild nextElementChild 22678742.0 Ops/sec
ChildNodes2 2656603.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • childNodes

  • children

  • firstChild nextSibling

  • firstElementChild nextElementChild

  • ChildNodes2