Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Parallel execution 2
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0
Browser:
Firefox 133
Operating system:
Ubuntu
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
Promise all
87864.3 Ops/sec
Array
98199.5 Ops/sec
Seq
173225.8 Ops/sec
Script Preparation code:
const asyncBuilder = (t) => async () => setTimeout(() => t, t) const a10s = asyncBuilder(100);
Tests:
Promise all
(async () => await Promise.all([a10s(), a10s()]))()
Array
(async () => [await a10s(), await a10s()])()
Seq
(async () => { await a10s(); await a10s(); })()