imho: probably more modules ( 152 vs. 33 ) … more time ??
I don’t know
- your julia environment ( 1.4? 1.5? )
- the 1.5 is better
- your number of Base.loaded_modules
so I tried to replicate your times … but your script is not worked for me …
So with your prefered packages - without package versions ( see my dockerfile ) …
I see 152 modules
root@88ce0d0df7d7:/# time julia -E "println(length(Base.loaded_modules));VERSION"
152
v"1.5.0-rc2.0"
real 0m3.464s
user 0m3.504s
sys 0m0.938s
the default 33 modules time tested on docker run -it --rm julia:1.5 bash
root@5bf6a36abe91:/# time julia -E "println(length(Base.loaded_modules));VERSION"
33
v"1.5.0-rc2.0"
real 0m0.528s
user 0m0.783s
sys 0m0.535s
the reference Julia 1.4 results is more ( ~4.363s ) … so the v1.5 version is better.
root@b2262a156039:/# time julia -E "println(length(Base.loaded_modules));VERSION"
152
v"1.4.2"
real 0m4.363s
user 0m4.346s
sys 0m0.936s
As I know the latency is high priority … you can find more info in this video