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

Warmup runs #202

Open
nolanlawson opened this issue Sep 10, 2019 · 0 comments
Open

Warmup runs #202

nolanlawson opened this issue Sep 10, 2019 · 0 comments

Comments

@nolanlawson
Copy link
Contributor

One issue we have in some projects (LDS, Locker) is that we see a big perf difference between the first few iterations and the next n. Most likely this is because the JavaScript engine is doing some JITing, so the first few iterations are measuring the unJITed performance.

Ideally, Best would have a setting to do some number of warmup runs, so we could consistently measure peak performance (i.e. JITed performance).

The alternative (to try to measure only un-JITed performance) is technically possible but unfeasible in practice, since it would mean closing the tab and clearing the browser cache between each iteration (in the worst case – it depends on how aggressive browsers are about caching).

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

1 participant