mathiasbynens/jsperf.com — Issue #36: Asynchronous preparation
Author: Juriy
Created: 2011-10-21 18:01:32+00:00
State: open

The scenario is simple - you need to run the test case where the preparation code is async. The real life example is - I want to test how the size of the image affects the speed of drawImage. In the preparation code I need to load few images and I can't start tests before they are loaded.
If I'm not missing something it will be nice to add the feature similar to the deferred.resolve(). If there's a already a way to do so - would be good to add to FAQ.