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

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
closest with element selector 1560.4 Ops/sec
while loop + tagName check 958.6 Ops/sec
event propagation 209.8 Ops/sec
event propagation with callback 305.2 Ops/sec