-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.3-RC4: package loading performance regression #33615
Comments
Sadly we're a bit stuck here, since that commit is needed to fix an even worse slowdown (#33472). |
Yeah, I saw that. Anything I can do to help debug this? |
Not sure yet but this may be affecting us as well, but on the order of minutes. |
Doing some tests with a private package we have Julia 1.2
Julia 1.3-rc4.1
Going to try and do some more tests to see if I can pinpoint anything specific, but this is definitely an issue for us. |
Also, memory consumption during precompilation seems to have skyrocketed. I have some packages that can not precompile on a 8GB ram laptop unless julia is the only thing running, forget atom and chrome. Ref https://discourse.julialang.org/t/memory-consumption-of-precompilation/30327/3 |
People that encounter this, can you try revert (individually) the two first commits in #33499 and see how that influence things. |
When I was bisecting the regression mentioned in the OP, only c76690e made any difference. |
Seems to be caused by a slight increase in backedges, leading to some unlucky slow inference. It's just normal inference time; the time is not spent in the
that intersects with a huge number of things due to the |
@JeffBezanson when I revert that commit, it definitely seems to help the loading times |
Does it help just a little, or fix it completely? You can also send the code to me privately if possible. |
Based on what I was seeing during testing, I was getting around the same times on 1.2 as with reverting that commit on 1.3. I wanted to do a little more testing to make sure I'm actually getting better performance. on 1.2 I get ~11 seconds, on 1.3-rc4.1 I get ~ 20 seconds, and on 1.3-rc4.1 with c76690e reverted I get ~14 seconds. Sorry for the hold up, unfortunately I can't seem to reproduce the super slow loading times anymore. I'm not sure if it's caching something or what. |
Further interesting data point: for me, with CSV 0.5.14 and CategoricalArrays 0.7.1 the time for |
Has been addressed on the backports branch. |
RC4 introduces a fairly big (~x3) loading time regression in some circumstances. Compare
with
This was originally reported here.
Bisecting points to c76690e.
The text was updated successfully, but these errors were encountered: