Skip to content

Lower optimizations takes two (five) seconds of loading #32

@PallHaraldsson

Description

@PallHaraldsson

Same opt. trick as does to Plots.jl could help here (and I guess VegaLite, and more). [With this package in "extras" does it mean it's automatically loaded by Queryverse?]

And, the "second using problem" is a hint about invalidations, that I believe SnoopCompile could fix, helping further:

$ time ~/julia-1.6-DEV-latest-7c980c6af5/bin/julia -O0 --startup-file=no
julia> @time using VegaDatasets
  5.633995 seconds (12.02 M allocations: 627.345 MiB, 5.30% gc time)

julia> @time using VegaDatasets
  0.874366 seconds (2.20 M allocations: 109.821 MiB, 5.77% gc time)

julia> @time using VegaDatasets
  0.000496 seconds (477 allocations: 28.578 KiB)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions