Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Mobile Safari/537.36
Chrome Mobile 116
Android
Mobile
one year ago
Test name Executions per second
childNodes 199143.6 Ops/sec
children 325212.9 Ops/sec
firstChild nextSibling 1954810.1 Ops/sec
firstElementChild nextElementChild 2565587.8 Ops/sec
ChildNodes2 545494.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • childNodes

  • children

  • firstChild nextSibling

  • firstElementChild nextElementChild

  • ChildNodes2