Script Preparation code:
Tests:
  • async 1000

  • async 501

  • sync 1000

  • sync 501

  • sync 1000 with a fake stopImmediatePropagation()

  • async 1000 with a fake stopImmediatePropagation()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    async 1000
    async 501
    sync 1000
    sync 501
    sync 1000 with a fake stopImmediatePropagation()
    async 1000 with a fake stopImmediatePropagation()

    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: 3 years ago)
Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79 on Linux
View result in a separate tab
Test name Executions per second
async 1000 10.3 Ops/sec
async 501 4.0 Ops/sec
sync 1000 24.7 Ops/sec
sync 501 8.4 Ops/sec
sync 1000 with a fake stopImmediatePropagation() 6.3 Ops/sec
async 1000 with a fake stopImmediatePropagation() 3.7 Ops/sec