Stream: helpdesk (published)

Topic: Julia 1.9: longer precompilation expected?


view this post on Zulip Fons van der Plas (Jan 20 2023 at 09:28):

Going from Julia 1.8 to Julia 1.9.0-beta3, precompiling Pluto.jl (during Pkg.precompile()) went from 15 seconds to 60 seconds, pretty significant :worried:. We ran these tests many times, on different systems.

After precompilation, TTFX did improve a little, it went from 30 seconds to 20 seconds.

Question: Is this 4x increase in precompilation time normal? Are other packages seeing similar results?

view this post on Zulip Olivier Merchiers (Jan 20 2023 at 11:51):

I see also a significant increase in precompilation time with Plots when going from 1.8.5 to 1.9.0-beta3. Somehow I cannot test 1.9.0-beta2 anymore. I get an error.
Here are my timings (windows 10).
1.8.5 : 66.34 seconds
1.9.0-beta3 : 163.27 seconds

view this post on Zulip Fons van der Plas (Jan 20 2023 at 13:20):

I also found https://discourse.julialang.org/t/julia-1-9-0-beta2-precompilation-taking-almost-twice-as-long/92498 and posted a comment there

view this post on Zulip Christopher Rackauckas (Jan 20 2023 at 17:40):

2x is expected. 4x only if there's more precompiling as well

view this post on Zulip Mason Protter (Jan 20 2023 at 18:06):

Yeah. Is the 4x increase before, or after this PR? https://github.com/fonsp/Pluto.jl/pull/2441


Last updated: Dec 28 2024 at 04:38 UTC