Run details:
Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Chrome 106
Linux
Desktop
2 years ago
Test name Executions per second
childNodes 1033450.9 Ops/sec
children 1683565.0 Ops/sec
firstChild nextSibling 7864444.5 Ops/sec
firstElementChild nextElementChild 10904931.0 Ops/sec
ChildNodes2 2892486.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • childNodes

  • children

  • firstChild nextSibling

  • firstElementChild nextElementChild

  • ChildNodes2