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 (iPhone; CPU iPhone OS 15_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/93.0.4577.78 Mobile/15E148 Safari/604.1
Browser:
Chrome Mobile iOS 93
Operating system:
iOS 15.7
Device Platform:
Mobile
Date tested:
2 years ago
callback
25.4M/s
async
1.4M/s
View exact numbers
Test name
Executions per second
✓
callback
25,422,160 Ops/sec
async
1,392,097 Ops/sec
Tests:
async
(async() => { await true; })();
callback
((next) => {next()})(() => {});