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

CI: run non-production-build non-coverage jobs with -O0 and/or --compile=min for a speedup #59

Open
nsajko opened this issue May 21, 2024 · 0 comments

Comments

@nsajko
Copy link
Collaborator

nsajko commented May 21, 2024

Using --compile=min about halves the run time of the test suite, as far as I remember. -O0 is something else to consider.
Xref julia-actions/julia-runtest#47.

These compiler options shouldn't be used when testing a production build (because they inhibit optimization, constant-folding, introduce additional allocations which we test for, etc.) or a code-coverage-enabled build (because Julia code coverage is currently not compatible with these compiler options, xref JuliaLang/julia#37059), but I guess we could use -O0 --compile=min for most jobs to save CPU time.

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

No branches or pull requests

1 participant