Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Native XHR
    Native XHR (try/catch)
    Fetch (promise)
    Fetch (async/await)
    Fetch (async/await - try/catch)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36 EdgA/137.0.0.0
Chrome Mobile 137 on Android
View result in a separate tab
Native XHR (try/catch)
2K/s
Native XHR
2K/s
Fetch (async/await - try/catch)
2K/s
Fetch (async/await)
2K/s
Fetch (promise)
1K/s
View exact numbers
Test name Executions per second
Native XHR (try/catch) 1,799 Ops/sec
Native XHR 1,624 Ops/sec
Fetch (async/await - try/catch) 1,535 Ops/sec
Fetch (async/await) 1,510 Ops/sec
Fetch (promise) 1,405 Ops/sec