HTML Preparation code:
Tests:
  • parent

  • parent().parent()

  • Closest

  • Parents(li)

  • Parent 2

  • Closest 2

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    parent
    parent().parent()
    Closest
    Parents(li)
    Parent 2
    Closest 2

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Chrome 83 on Mac OS X 10.15.5
View result in a separate tab
Test name Executions per second
parent 31936.2 Ops/sec
parent().parent() 36033.7 Ops/sec
Closest 31450.6 Ops/sec
Parents(li) 30110.2 Ops/sec
Parent 2 55009.9 Ops/sec
Closest 2 45501.2 Ops/sec


;