-
-
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
enable re-using external code in pkgimages #48723
Conversation
I tried Plots on this PR and I got:
Note that I haven't tried it on vanilla master so it might not be due to anything in here but thought I should mention it. |
@nanosoldier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great simplification. Still need to figure out what to do with !specsig,
Will investigate |
5e307b8
to
dabb822
Compare
@nanosoldier |
Your package evaluation job has completed - no new issues were detected. |
@maleadt the report has 112 new crashes... |
|
For packages that also failed in the comparison run, albeit for different reasons ( |
Your package evaluation job has completed - no new issues were detected. |
Let's try that again: @nanosoldier |
Your package evaluation job has completed - possible new issues were detected. |
😨 |
Looks like we haven't tried enabling assertions for a while... They all fail with:
|
Previously we would double-account for many of these, leading to occasional chaos. Try to avoid serializing code that does not belong to this incremental compilation session package. Refs: #48723
Previously we would double-account for many of these, leading to occasional chaos. Try to avoid serializing code that does not belong to this incremental compilation session package. Refs: #48723
Previously we would double-account for many of these, leading to occasional chaos. Try to avoid serializing code that does not belong to this incremental compilation session package. Refs: #48723
dabb822
to
ae27e81
Compare
This was unintentionally disabled (and incomplete) in the original PR for pkgimages. Co-authored-by: Valentin Churavy <v.churavy@gmail.com>
Looks like that fixed most of it indeed. |
Any benchmarks on precompile times with this? I'd be especially interested in the time for |
A few days ago I got:
PR:
And for precompile times
In the depot with Makie installed, size of the |
Hm the sysimage changes are surprising, but nice to see other improvements. We will need to figure out overlap in cache files and then push those down to the common ancestor |
You did make a small, unrelated change to reuse WIP work in the queue. I don't see how that could make it substantially faster though |
What about making two packages like
and checking that the file size of the .so cache for |
We need to inspect the content, that's the annoying bit |
Your package evaluation job has completed - possible new issues were detected. |
@nanosoldier |
Some more timing. This is on a 2018 macbook pro. Master e3d366f
This PR 15d936b
This PR 15d936b + LLVM image multithreading #47797 + IanButterworth/Pkg.jl@461bd56 (unrestricting multithreading during Pkg.precompile)
Side note, during this all I was running a Google Meet call in chrome and never noticed any video or audio dropout, which is interesting for the last case. FYI @pchintalapudi @staticfloat So, in conclusion seems like a good improvement, however using everything currently in the works still means TTVFP (Time To Very First Plot) for GLMakie is ~9 minutes for my middle of the road laptop |
@nanosoldier |
Your package evaluation job has completed - possible new issues were detected. |
Still waiting on the full PkgEval with |
Your package evaluation job has completed - possible new issues were detected. |
* enable using external code in pkgimages This was unintentionally disabled (and incomplete) in the original PR for pkgimages. Co-authored-by: Valentin Churavy <v.churavy@gmail.com>
* enable using external code in pkgimages This was unintentionally disabled (and incomplete) in the original PR for pkgimages. Co-authored-by: Valentin Churavy <v.churavy@gmail.com> (cherry picked from commit c136b7e)
* enable using external code in pkgimages This was unintentionally disabled (and incomplete) in the original PR for pkgimages. Co-authored-by: Valentin Churavy <v.churavy@gmail.com> (cherry picked from commit c136b7e)
This was unintentionally disabled (and incomplete) in the original PR for pkgimages. Hopefully this will cut down somewhat on pkgimage build times and sizes. There is still some broken dead code remaining here, which should be evaluate for whether it is actually needed.