# Automatic precompiling after juliaup update

**URL:** <https://discourse.julialang.org/t/automatic-precompiling-after-juliaup-update/128493>\
**Category:** Package Management\
**Tags:** pkg, juliaup\
**Created:** [April 28, 2025, 3:54pm UTC](https://discourse.julialang.org/t/automatic-precompiling-after-juliaup-update/128493 "2025-04-28T15:54:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathan\_Boyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nathan_boyer/32/14825_2.png) [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Post date:** [April 28, 2025, 3:54pm UTC](https://discourse.julialang.org/t/automatic-precompiling-after-juliaup-update/128493/1 "2025-04-28T15:54:06Z")

</div>

Continuing the discussion from [Startup time of 1000 packages – 53% slower in Julia 1.12 vs 1.10](https://discourse.julialang.org/t/startup-time-of-1000-packages-53-slower-in-julia-1-12-vs-1-10/128343/8):

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](https://github.com/JuliaLang/juliaup/issues/1120)

---

<div class="post-metadata">

**Author:** ![roflmaostc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/roflmaostc/32/30123_2.png) [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Post date:** [April 28, 2025, 3:58pm UTC](https://discourse.julialang.org/t/automatic-precompiling-after-juliaup-update/128493/2 "2025-04-28T15:58:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Nathan\_Boyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nathan_boyer/32/14825_2.png) [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Post date:** [April 28, 2025, 4:05pm UTC](https://discourse.julialang.org/t/automatic-precompiling-after-juliaup-update/128493/3 "2025-04-28T16:05:04Z")

</div>

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.) 🤔 I probably would need to store some sort of whitelist or blacklist.
