Async setTimeout

Benchmark created on


Description

An async test that uses deferred.resolve() to signal that the current test is finished.

Test runner

Ready to run.

Testing in
TestOps/sec
setTimeout 0
// async test
setTimeout(function() {
  deferred.resolve();
}, 0);
ready
setTimeout 10
// async test
setTimeout(function() {
  deferred.resolve();
}, 10);
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.