You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie)
What platform + GPU are you on? WIndows 11, Intel i7-1370P with integrated GPU
On Julia v"1.12.0-DEV.2047" (1.12-nightly in juliaup), a package with only these lines shows considerably longer using times due to import of FilePaths in Makie.
module MyDebugPkg
import HTTP
import DelimitedFiles
import OptimizationBase
using Makie
end
Huh yeah this is not good. Of course we only have it due to Electron having it, but I don't think we should penalize CairoMakie and GLMakie users that much for something which only affects WGLMakie...
Oh wow, didn't realize the impact was that big....
Maybe someone can invest some time into fixing Electron... I'm quite sure that it's not absolutely necessary, or could just extract a few of the functions from FilePaths.
With FilePaths v0.9 I do not observe penalty from import FilePaths. This is with Julai Version 1.12.0-DEV.2047 (2025-02-26).
julia> @time using MyDebugPkg
4.813101 seconds (6.85 M allocations: 383.050 MiB, 6.64% gc time, 2.47% compilation time: 67% of which was recompilation)
``´
]st -m Makie
)]activate --temp; add Makie
)On Julia v"1.12.0-DEV.2047" (1.12-nightly in juliaup), a package with only these lines shows considerably longer using times due to import of FilePaths in Makie.
Commenting out line https://github.com/MakieOrg/Makie.jl/blob/v0.22.2/src/Makie.jl#L15-L19
improves usage time considerably,
@time using MyDebugPkg
outputsmaster
without FilePaths
Makie is the only user of FilePaths
Related report on Electron was filed, but closed davidanthoff/Electron.jl#128.
The text was updated successfully, but these errors were encountered: