Skip to content

Package precompile time regressions. #58246

Open
@KristofferC

Description

@KristofferC

Since Julia 1.10, every release seem to precomple things more slowly. Here is an example for Documenter:

# 1.10
julia> @time Base.compilecache(Base.identify_package("Documenter"));
  6.897151 seconds (4.16 k allocations: 372.828 KiB)

# 1.11
julia> @time Base.compilecache(Base.identify_package("Documenter"))
  8.823811 seconds (4.63 k allocations: 393.938 KiB)

# 1.12-beta2
julia> @time Base.compilecache(Base.identify_package("Documenter"))
 10.033119 seconds (4.66 k allocations: 431.766 KiB)

# nightly
julia> @time Base.compilecache(Base.identify_package("Documenter"))
 11.437713 seconds (4.63 k allocations: 422.484 KiB)

I have two Tracy traces of it here:

1.10: https://topolarity.github.io/trace-viewer/?trace=https%3A%2F%2Fraw.githubusercontent.com%2FKristofferC%2Ftraces%2Fmaster%2FDocumenter_1.10.tracy&size=996769

Nightly: https://topolarity.github.io/trace-viewer/?trace=https%3A%2F%2Fraw.githubusercontent.com%2FKristofferC%2Ftraces%2Fmaster%2FDocumenter_nightly.tracy&size=4829499

The NATIVE_DUMP and SYSIMG_DUMP zones have gotten quite a bit bigger.

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