Tests:
-
Native XHR
-
Native XHR (try/catch)
-
Fetch (promise)
-
Fetch (async/await)
-
Fetch (async/await - try/catch)
Rendered benchmark preparation results:
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
Fetch (async/await - try/catch)
2K/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 |
Do you really want to delete benchmark?