Skip to content

Large number of invalidations by this package and seems to really slow down certain jll loads #77

Closed
@marius311

Description

@marius311

Found this while hunting this. I don't know if its alot or a little of that (this stuff way above my paygrade tbh), but thought I'd report.

On 1.8, using FFTW as an example of something that loads a jll:

@time_imports using Static, FFTW vs @time_imports using FFTW you get:

    432.3 ms  FFTW_jll 99.61% compilation time (100% recompilation)

vs

      1.2 ms  FFTW_jll

Also:

using SnoopCompileCore
invalidations = @snoopr begin
    using Static, FFTW
end
using SnoopCompile
length(uinvalidated(invalidations))

is ~ 2000 invalidations,

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