-
-
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
[release-1.6] First time printing is slow #39349
Comments
You're not kidding, that is a REALLY long time. I waited several minutes and it didn't finish. Finishes instantly with --compile=min though. |
Ok, 6 minutes in 1.5, 29 minutes on master... |
Got some interesting information on this. The regression happened in roughly 2 steps. One big one is #27843, which is not surprising since it widens types more slowly. The other one was caused, believe it or not, by changing VERSION to 1.7.0-DEV. I imagine that would be due to version checks in packages enabling or disabling some code. All the time there is in METHOD_MATCH, so perhaps some extra method signatures are putting us on a bad path. The same regression can be triggered prior to 1.7.0-DEV by upgrading from
to
so perhaps that involves similar code changes. |
Should we revert #27843, or is it more probable we can fix an underlying issue and get this to be much faster? |
Yeah, I'm inclined to revert it, but I might try a couple variations of that logic as well. |
thanks a lot for promptly addressing this issue! |
Thanks a lot ! I have just tried this on master and
only took a few seconds. I thought it would only remove one of the regressions from the 6 minutes to the 29 minutes of master so I was expecting the time to be between 6 and 29 minutes. But instead, it seems to not only have solved the regression but also the issue (that 6 minutes was already too slow) with Julia v1.5 since it only took a few seconds. Is that expected or am I not understanding this correctly ? |
Reopening since #39406 couldn't have fixed this since the commit it reverts is not on the 1.6 beta. |
…ang#39406) This reverts commit 6c1824d. Fixes JuliaLang#39349. The extra inference precision is nice, but seems to carry too much risk of blowup.
…ang#39406) This reverts commit 6c1824d. Fixes JuliaLang#39349. The extra inference precision is nice, but seems to carry too much risk of blowup.
Works in a couple of seconds now. |
This may be a Julia issue, reported in:
There was a similar issue in Julia v1.01 (JuliaPolyhedra/Polyhedra.jl#128) and it was fixed in #30010, but the problem seems to have come back.
CC: @blegat, @schillic
The text was updated successfully, but these errors were encountered: