-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Improve reuse of /compiled
cache in CI
#50667
Comments
Also, if both |
Now that #52123 is merged we're able to see the effect of caching For an install and load-only CI run, 1.11 goes from 2 minutes to 40s. |
v1.9.5 of julia-actions/setup-julia fixes this now for all julia versions, by maintaining the mtime of the julia source files from the archives. You can see that in this run no platform re-precompiled anything but the checked out package https://github.com/IanButterworth/PowerMonitor.jl/actions/runs/7425482162/job/20207208161 The only remaining things to do is to get more CI to use
But this is now just an adoption issue, so I think we can close this. And for those looking to get these benefits, you just need to specify v1 of |
It would be nice to speed up julia CI startup time
Take GitHub julia CI, which typically
https://github.com/julia-actions/cache provides a way to cache useful parts of the depot between runs.
However two of the above are disabled by default:
/registries
which seems the path is clear to that being enabled now enable registries by default julia-actions/cache#62/compiled
which means all packages are precompiled each run.I tried enabling caching of
/compiled
over at JuliaIO/PNGFiles.jl#66However on the second run it hits re-precompilation for most of the packages because:
julia-runtest
--check-bounds=yes
)i.e.
Two ways to improve this caching would be to
pkgimage=no
caches for stdlibs include--pkgimage=no
caches for stdlibs #50666Tasks
mtime
s of the Julia installation change #50918--pkgimage=no
caches for stdlibs #50666/compiled
and/logs
. Make key sensitive to matrix. julia-actions/cache#71julia-actions/cache
julia-actions/julia-runtest#89julia-actions/cache
julia-actions/julia-buildpkg#40The text was updated successfully, but these errors were encountered: