Async overhead

Benchmark created by Cyan on


Description

Testing measuring limits for async benchmarks. Turns out it's really only appropriate for code that takes milliseconds to run, rather than microseconds

Setup

var count=0;

Test runner

Ready to run.

Testing in
TestOps/sec
Async
// async test
count++;
deferred.resolve();
ready
Sync
count++;
ready

Revisions

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

  • Revision 1: published by Cyan on