Smallest timeout value

JavaScript performance comparison

Revision 16 of this test case created by

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in CCBot 2.0.0 / Other 0.0.0
Test Ops/sec
timeout = 0
// async test
setTimeout(function() {
  deferred.resolve();
}, 0);
pending…
timeout = 4
// async test
setTimeout(function() {
  deferred.resolve();
}, 4);
pending…
timeout = 10
// async test
setTimeout(function() {
  deferred.resolve();
}, 10);
pending…
timeout = 40
// async test
setTimeout(function() {
  deferred.resolve();
}, 40);
pending…
timeout = 599147937792
// async test
setTimeout(function() {
  deferred.resolve();
}, 599147937792);
pending…
requestAnimationFrame
// async test
requestAnimationFrame(function() {
  deferred.resolve();
});
pending…

Compare results of other browsers

Revisions

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

0 Comments