Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126
Linux
Desktop
5 months ago
Test name Executions per second
childNodes 685718.8 Ops/sec
children 1053172.5 Ops/sec
firstChild nextSibling 4791981.0 Ops/sec
firstElementChild nextElementChild 6574156.0 Ops/sec
ChildNodes2 1810723.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • childNodes

  • children

  • firstChild nextSibling

  • firstElementChild nextElementChild

  • ChildNodes2