HTML Preparation code:
Script Preparation code:
Tests:
  • parentNode

  • firstChild

  • nextSibling

  • previousSibling

  • firstChild.nextSibling

  • querySelectorAll class

  • querySelectorAll data attributed

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    parentNode
    firstChild
    nextSibling
    previousSibling
    firstChild.nextSibling
    querySelectorAll class
    querySelectorAll data attributed

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128 on Windows
View result in a separate tab
Test name Executions per second
parentNode 1608060.8 Ops/sec
firstChild 1751765.1 Ops/sec
nextSibling 1813089.8 Ops/sec
previousSibling 1827631.5 Ops/sec
firstChild.nextSibling 1439607.4 Ops/sec
querySelectorAll class 427310.4 Ops/sec
querySelectorAll data attributed 354409.2 Ops/sec


;