Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
promise vs callback
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:127.0) Gecko/20100101 Firefox/127.0
Browser:
Firefox 127
Operating system:
Mac OS X 10.15
Device Platform:
Desktop
Date tested:
2 years ago
callback
887.7M/s
async
501K/s
View exact numbers
Test name
Executions per second
✓
callback
887,733,312 Ops/sec
async
501,170 Ops/sec
Tests:
async
(async() => { await true; })();
callback
((next) => {next()})(() => {});