High package load time
Closed this issue · 2 comments
jishnub commented
julia> @time using ArrayLayouts
2.144474 seconds (4.45 M allocations: 381.961 MiB, 17.67% compilation time)julia> @time_imports using ArrayLayouts
231.6 ms FillArrays
1527.5 ms ArrayLayoutsMaybe the load time of this package can be improved
Moelf commented
julia> @time_imports using UnROOT
121.1 ms FillArrays
1.9 ms StaticArraysCore
454.6 ms StaticArrays
920.9 ms ArrayLayouts
127.9 ms MatrixFactorizations
22.4 ms MacroTools
60.2 ms LazyArraysyeah impacting by this
jishnub commented
Extraordinarily, this appears to be almost entirely fixed on Julia v1.10.
On v1.9
julia> @time using ArrayLayouts
1.724388 seconds (3.18 M allocations: 301.312 MiB, 5.48% gc time)On v1.10
julia> @time using ArrayLayouts
0.190399 seconds (146.59 k allocations: 8.261 MiB)