Closed fonsp closed 1 year ago
BEFORE
julia> begin import Pkg; @time Pkg.precompile(); @time import PlutoUI end Precompiling project... 1 dependency successfully precompiled in 4 seconds. 71 already precompiled. 4.558229 seconds (1.94 M allocations: 132.929 MiB, 0.39% gc time, 0.87% compilation time) 0.271933 seconds (979.17 k allocations: 63.955 MiB, 1.61% compilation time)
AFTER
julia> begin import Pkg; @time Pkg.precompile(); @time import PlutoUI end Precompiling project... 1 dependency successfully precompiled in 1 seconds. 71 already precompiled. 1.618362 seconds (1.94 M allocations: 133.126 MiB, 1.16% gc time, 2.41% compilation time) 0.126549 seconds (419.31 k allocations: 27.533 MiB, 3.40% compilation time)
65% improvement :)
BEFORE
AFTER
65% improvement :)