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
Strangely, building Julia 1.2 locally, the extra precompile statements in --trace-compile are gone and startup is faster (but still not really 1.1 levels)
➜ julia git:(release-1.2) ✗ time ./julia -e ''
./julia -e '' 0.18s user 0.10s system 121% cpu 0.232 total
So on 1.1 we have the following trace running the above:
with the heaviest functions being:
Basically, nothing is done in true_main and most of the time is spent loading the sysimg.
Contrast this with 1.2:
where true_main now almost takes half a second(!).
We are also compiling stuff like refresh_multi_line which I would have thought the precompile script would already compile.
Comparing the number of precompile statements in 1.1 (1089) vs 1.2 (900) might mean that we are no longer precompiling a bunch of functions. And indeed, looking at a diff of the precompile files between the two versions (http://www.mergely.com/lGgrvfs9/) a bunch of precompile statements for e.g. refresh_multi_lineare now missing.
Julia 1.2:
Julia 1.1:
With the following diff
I measured the time to get to the prompt on 1.1 vs 1.2:
Julia 1.2:
Julia 1.1:
So we lost about 0.6s in time to prompt.
Running 1.2 with
--trace-compile
I see the following which is not there on 1.1This should only affect the time to reach the banner though. Not sure what is making the prompt be so much slower.
The text was updated successfully, but these errors were encountered: