-
-
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
WIP: RFC: cache parse results while loading files #5061
Conversation
Would full pre-compilation be better? |
I'm not sure how that is relevant. |
Great to see the efforts are underway. |
From some other discussion I can't find right now, probably the main bottleneck here is macros: if package A uses macros from package B, and package B updates, then you also want to re-generate the cached versions of package A. |
Ah, here's the link I was missing: #7280 (comment). |
replace by https://github.com/vtjnash/Speed.jl |
Was it premature to close this, or does this not offer any advantages over Speed.jl? |
Speed.jl was faster (primarily because I could emit better caches) and more advanced (again, because I could emit better caches, and also because it is much easier to test preconditions in Julia than C) |
Did you see the issues I opened? |
no, thanks for pointing that out. I forgot I turned off notifications so I would stop getting messages from the |
This is my attempt at partial caching of the results of loading
.jl
files. It is functional, but since it does not detect file changes yet, it is a little unsafe right now.On the julia machine, it reduced the load time of Tk from 4.3 seconds to 2.9 seconds. On my Mac, it reduced the time from ~10 s to ~6 s.
TODO items: