Run details:
Mozilla/5.0 (Linux; Android 12; SM-T860) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Chrome 110
Android
Tablet
one year ago
Test name Executions per second
childNodes 338413.5 Ops/sec
children 493873.8 Ops/sec
firstChild nextSibling 3117287.8 Ops/sec
firstElementChild nextElementChild 3361606.5 Ops/sec
ChildNodes2 1096769.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • childNodes

  • children

  • firstChild nextSibling

  • firstElementChild nextElementChild

  • ChildNodes2