Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125
Linux
Desktop
one month ago
Test name Executions per second
childNodes 303949.8 Ops/sec
children 528437.2 Ops/sec
firstChild nextSibling 2360474.5 Ops/sec
firstElementChild nextElementChild 3192790.0 Ops/sec
ChildNodes2 861176.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • childNodes

  • children

  • firstChild nextSibling

  • firstElementChild nextElementChild

  • ChildNodes2


;