Skip to content

Make Package Load faster #177

@alecloudenback

Description

@alecloudenback
(@v1.10) pkg> activate --temp
  Activating new project at `/var/folders/ds/_tfd5bfd0bn51v_5xqxy821h0000gn/T/jl_Ey9COp`

julia> using Pkg

julia> @time Pkg.add("FinanceModels")
  2.605898 seconds (6.90 M allocations: 679.492 MiB, 4.80% gc time, 36.52% compilation time: 34% of which was recompilation)

julia> @time using FinanceModels
  1.909036 seconds (4.09 M allocations: 337.071 MiB, 3.66% gc time, 15.32% compilation time: 53% of which was recompilation)

julia> versioninfo()
Julia Version 1.10.2
Commit bd47eca2c8a (2024-03-01 10:14 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 8 × Apple M3
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
Threads: 4 default, 0 interactive, 2 GC (on 4 virtual cores)
Environment:
  JULIA_NUM_THREADS = auto

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions