JuliaArrays / JuliaArrays/FixedSizeArrays.jl
CI: run non-production-build non-coverage jobs with `-O0` and/or `--compile=min` for a speedup
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 99
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Using --compile=min about halves the run time of the test suite, as far as I remember. -O0 is something else to consider.
Xref https://github.com/julia-actions/julia-runtest/issues/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 https://github.com/JuliaLang/julia/issues/37059), but I guess we could use -O0 --compile=min for most jobs to save CPU time.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the repository's CI job definitions and separate production-build or coverage jobs from the remaining test jobs. Try the proposed Julia compiler options on the eligible jobs, then run the relevant test suite and confirm that production and coverage jobs retain their required behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100