Skip to content

longer compilation time in GMT.jl #44991

Closed
@JeffBezanson

Description

@JeffBezanson

Pre #43990:

jeff@durandal:~/src/julia-1.8/julia$ ./julia --project=. -e 'using GMT; @time @eval plot(rand(5,2))'
Base.IOError("could not spawn `gmt --version`: no such file or directory (ENOENT)", -2)
  4.968415 seconds (6.68 M allocations: 331.256 MiB, 1.34% gc time, 99.96% compilation time)

with #43990:

jeff@durandal:~/src/julia-1.8/julia$ ./julia --project=. -e 'using GMT; @time @eval plot(rand(5,2))'
Base.IOError("could not spawn `gmt --version`: no such file or directory (ENOENT)", -2)
  7.328750 seconds (13.14 M allocations: 658.323 MiB, 3.48% gc time, 99.97% compilation time)

Using GMT master.
Reported here: https://discourse.julialang.org/t/package-load-time-regressions-in-v1-8-beta3/78875/3

From a quick look, all parts of the compiler appear to be doing more work so I think we are just compiling more methods, possibly consistent with there being more invalidations? @timholy Any insight into why this might happen?

Metadata

Metadata

Assignees

No one assigned

    Labels

    latencyLatencyregressionRegression in behavior compared to a previous version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions