Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Async Test
(version: 2)
Testing async test support that will come in MeasureThat.net v 1.6.0
Comparing performance of:
Async Wait 50ms vs Async Wait 500ms vs Async Wait 100ms
Created:
one year ago
by:
Registered User
Jump to the latest result
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();
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
Async Wait 50ms
Async Wait 500ms
Async Wait 100ms
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
11 days ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36 Edg/147.0.0.0
Browser/OS:
Chrome 147 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
Async Wait 50ms
19.6 Ops/sec
Async Wait 500ms
2.0 Ops/sec
Async Wait 100ms
9.9 Ops/sec
Related benchmarks:
Multipromise resulter
await delay vs setTimeout
await delay vs setTimeout
await delay vs setTimeout
async for vs promise all (setTimeout version)
async for vs promise.all2
async for vs promise.all /w delay
Awaiting sync vs async 2
Deferred & Regular & Async hybrid test
Comments
Confirm delete:
Do you really want to delete benchmark?