Skip to content

Systematic increase since Julia1.10 in compile time and TTFP for the GMT package #58163

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

Open
joa-quim opened this issue Apr 18, 2025 · 1 comment
Labels
compiler:precompilation Precompilation of modules latency Latency

Comments

@joa-quim
Copy link

V1.10.9

Precompiling GMT finished.
  1 dependency successfully precompiled in 58 seconds. 86 already precompiled.
 63.133390 seconds (5.88 M allocations: 426.263 MiB, 0.17% gc time, 2.39% compilation time)

julia> @time @eval plot(rand(5,2))
  2.709345 seconds (8.24 M allocations: 555.182 MiB, 4.92% gc time, 99.89% compilation time: 22% of which was recompilation)

V1.11.5

Precompiling GMT...
  1 dependency successfully precompiled in 72 seconds. 110 already precompiled.
 73.653952 seconds (2.15 M allocations: 144.239 MiB, 0.09% gc time, 0.13% compilation time: 5% of which was recompilation)

julia> @time @eval plot(rand(5,2))
  6.551168 seconds (32.26 M allocations: 1.602 GiB, 6.25% gc time, 99.95% compilation time: 15% of which was recompilation)

V1.12-beta1

  1 dependency successfully precompiled in 83 seconds. 111 already precompiled.
 84.933721 seconds (3.59 M allocations: 203.204 MiB, 0.07% gc time, 0.34% compilation time)

julia> @time @eval plot(rand(5,2))
 10.917758 seconds (41.63 M allocations: 2.056 GiB, 3.67% gc time, 99.97% compilation time: 13% of which was recompilation)

nightly

  1 dependency successfully precompiled in 79 seconds. 110 already precompiled.
 80.827823 seconds (3.51 M allocations: 199.250 MiB, 0.07% gc time, 0.18% compilation time)

julia> @time @eval plot(rand(5,2))
 11.312476 seconds (41.97 M allocations: 2.053 GiB, 3.57% gc time, 99.97% compilation time: 13% of which was recompilation)
@joa-quim joa-quim changed the title Sistematic increase in compile time and TTFP for the GMT package Sistematic increase since Julia1.10 in compile time and TTFP for the GMT package Apr 18, 2025
@StefanKarpinski StefanKarpinski changed the title Sistematic increase since Julia1.10 in compile time and TTFP for the GMT package Systematic increase since Julia1.10 in compile time and TTFP for the GMT package Apr 18, 2025
@StefanKarpinski
Copy link
Member

Thanks for the repot. The compiler guys have been tracking this—not for GMT specifically, but for many other compilation-heavy packages. It's definitely a bummer and something they're trying to improve.

@StefanKarpinski StefanKarpinski added compiler:precompilation Precompilation of modules latency Latency labels Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:precompilation Precompilation of modules latency Latency
Projects
None yet
Development

No branches or pull requests

2 participants