Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Promise vs async vs callbacks
Promise vs async vs callbacks
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0
Browser:
Firefox 128
Operating system:
Mac OS X 10.15
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
Callback
909364800.0 Ops/sec
Promise
5046954.5 Ops/sec
Async
507869.3 Ops/sec
Tests:
Callback
((next) => {next()})(() => {});
Promise
new Promise((resolve) => { resolve(true)});
Async
(async() => { await true; })();