Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Async Test
Testing async test support that will come in MeasureThat.net v 1.6.0
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0
Browser:
Firefox 133
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
Async Wait 50ms
19.8 Ops/sec
Async Wait 500ms
2.0 Ops/sec
Async Wait 100ms
9.9 Ops/sec
Script Preparation code:
function wait(ms) { return new Promise(res => setTimeout(() => { res(ms); }, ms)); }
Tests:
Async Wait 50ms
[Async/Deferred]
await wait(50); deferred.resolve();
Async Wait 500ms
[Async/Deferred]
await wait(500); deferred.resolve();
Async Wait 100ms
[Async/Deferred]
await wait(100); deferred.resolve();