diff options
Diffstat (limited to 'bench/fetch/bun.js')
-rw-r--r-- | bench/fetch/bun.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bench/fetch/bun.js b/bench/fetch/bun.js index 7559b467e..96e7275a8 100644 --- a/bench/fetch/bun.js +++ b/bench/fetch/bun.js @@ -6,9 +6,7 @@ bench(`fetch(https://example.com) x ${count}`, async () => { const requests = new Array(count); for (let i = 0; i < requests.length; i++) { - requests[i] = fetch(`https://www.example.com/?cachebust=${i}`).then((r) => - r.text(), - ); + requests[i] = fetch(`https://www.example.com/?cachebust=${i}`).then(r => r.text()); } await Promise.all(requests); |