HTML Preparation code:
Script Preparation code:
Tests:
  • closest with element selector

  • while loop + tagName check

  • event propagation

  • event propagation with callback

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    closest with element selector
    while loop + tagName check
    event propagation
    event propagation with callback

    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/131.0.0.0 Safari/537.36
Chrome 131 on Windows
View result in a separate tab
Test name Executions per second
closest with element selector 468.3 Ops/sec
while loop + tagName check 409.0 Ops/sec
event propagation 81.5 Ops/sec
event propagation with callback 122.7 Ops/sec