Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Linux
Desktop
one year ago
Test name Executions per second
childNodes[0] 10484387.0 Ops/sec
children[0] 10450944.0 Ops/sec
firstChild 17028428.0 Ops/sec
firstElementChild 16418841.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • childNodes[0]

  • children[0]

  • firstChild

  • firstElementChild