Script Preparation code:
x
 
async function basicAsync() {
  const fetch1 = await fetch(www.google.com);
  const fetch2 = await fetch(www.google.it);
  const fetch3 = await fetch(www.google.de);
};
async function promiseAllAsync() {
  const [fetch1, fetch2, fetch3] = await Promise.all([
    fetch(www.google.com),
    fetch(www.google.it),
    fetch(www.google.de)
  ]);
};
Tests:
  • Basic

     
    basicAsync()
  • Promise

     
    promiseAllAsync()
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Basic
    Promise

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Basic 209189.1 Ops/sec
Promise 191215.6 Ops/sec