Automatic precompiling after juliaup update

Continuing the discussion from Startup time of 1000 packages – 53% slower in Julia 1.12 vs 1.10:

I’ve been looking for something like PrecompileAfterUpdate.jl! Is this functionality something that could be integrated into JuliaUp itself?
Option to precompile (or update) all shared environments after juliaup update · Issue #1120 · JuliaLang/juliaup

1 Like

If you want, you could also open a PR to add a PrecompileAfterUpdate.update() if you’re looking for a feature like this.

But I agree, something like this in juliaup would fit too.

90% of the time I want to update too, but I don’t think how recently I touched the environment is the right metric for that. (I do like it for precompile though.) :thinking: I probably would need to store some sort of whitelist or blacklist.

1 Like