Skip to content

Compilation is slow for retest #57

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

Closed
linwaytin opened this issue Dec 26, 2024 · 2 comments · Fixed by #58
Closed

Compilation is slow for retest #57

linwaytin opened this issue Dec 26, 2024 · 2 comments · Fixed by #58

Comments

@linwaytin
Copy link

This is a nice package, as it allows tests in a single script. However, the retest or runtests functions take a lot of time to compile when they are called the first time. Do you think it is possible to speed the compilation up? Thanks.

@JamesWrigley
Copy link
Member

Thanks for the report, there's a precompilation workload on master now. On my machine that reduces TTFX of one of the tests from 9s to 3s. I'll let it sit there for a bit for a testing, and tag a new release maybe next week.

@linwaytin
Copy link
Author

Awesome. Thanks.

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

Successfully merging a pull request may close this issue.

2 participants