1.9 slower than 1.8
#47724
Replies: 1 comment 2 replies
-
That's unfortunate, it's probably worth seeing how it does with #44527 (review) which is going to be in 1.9 before we release it. The other thing worth trying is seeing if adding appropriate SnoopPrecompile statements to JuMP can improve things. 1.9 does make it so code that wasn't precompilable in 1.8 is in 1.9, but that only helps packages that do a good job precompiling code. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm just a beginner in Julia comin from Python. so I really am unhappy with TTFX.
I tried 1.9 alpha to check if there is any percaptable speed improvement according to TTFX. So the libraries are loaded in my example code in about 5.3 sec while it takes in 1.8.2 about 6.6 sec and the compilation time fraction changes from close to 100% (1.8.2) in the two largest libs to about 10% (1.9 alpha). But for the code it takes now for the first execution 12.3 seconds with Julia 1.9 instead of 10.1 for Julia 1.8. and also after first loop through code Julia 1.9 is about 20% to 60% slower.
So in total I loose more than 1.5 seconds. So there is no visible improvement for TTFX, or am I wrong?
Code for those who are interested:
EDIT:
Using DaemonMode.jl (that currently not works for me with Julia 1.8), every following loop is much faster (x10) than without DaemonMode.jl. So this obviously means, that even after compiling there is some overhead because DaemonMode.jl is faster than native Julia..
Beta Was this translation helpful? Give feedback.
All reactions