Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support asynchronous test setup #244

Open
0x24a537r9 opened this issue Nov 14, 2015 · 0 comments
Open

Support asynchronous test setup #244

0x24a537r9 opened this issue Nov 14, 2015 · 0 comments

Comments

@0x24a537r9
Copy link

I want to judge the relative performance of some image-blurring algorithms in JS, but there's not really a great way in jsperf, since I need the image to already be downloaded before the test starts (since the image-loading is not a part of my scenario). I see that async test cases are already supported. It would be nice to also have async setup/teardown.

In the meantime, I guess I just have to make the first case a dummy case that wastes enough time so as to allow the image to finish loading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants