On CI i have seen ExplictImports taking over 2 minutes to precompile. Which is completely unreasonable)
Locally, @KristofferC saw it take 10s (which still rather high).
A likely candidate is the vendoring of dependencies.
In particular JuliaSyntax, which is large.
|
# We vendor some dependencies to avoid compatibility problems. We tell ExplicitImports to ignore |
|
# these as we don't want it to recurse into vendored dependencies. |
|
# We also add `Vendored` to `ignore_submodules` elsewhere. |
|
module Vendored |
|
include(joinpath("vendored", "JuliaSyntax", "src", "JuliaSyntax.jl")) |
|
include(joinpath("vendored", "AbstractTrees", "src", "AbstractTrees.jl")) |
|
end |
Given JuliaSyntax is a stdlib now and should be widely compatible.
Can it be changed to just use the stdlib version if the VERSION is high enough?
On CI i have seen ExplictImports taking over 2 minutes to precompile. Which is completely unreasonable)
Locally, @KristofferC saw it take 10s (which still rather high).
A likely candidate is the vendoring of dependencies.
In particular JuliaSyntax, which is large.
ExplicitImports.jl/src/ExplicitImports.jl
Lines 4 to 10 in dbed49f
Given JuliaSyntax is a stdlib now and should be widely compatible.
Can it be changed to just use the stdlib version if the VERSION is high enough?