-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
SnoopCompile #225
SnoopCompile #225
Conversation
Can you check by how much does this improve package load times/time to first eval? I was under the impression that precompile statements that reach into dependencies don't really work (i.e. aren't cached in ji files), so it's possible that most of the files added here won't make much of a difference. |
Yes, only "deps/SnoopCompile/precompile/precompile_Atom.jl" is added to precompile now. |
Also, ideally this should run by Travis and the jl files inside precompile folder should be updated. I ran this on the latest registered version. |
Oh ok, I didn't scroll down all the way :) So I guess we'd ideally merge this, open PRs against the bigger dependencies (JSON, Tokenize and CSTParser, probably), and get rid of a bunch of random dependencies (Hiccup, Media, CodeTools, Lazy). I'll play around with this a bit later today or tomorrow, but thanks for taking the initiative on this! :) |
just for info: we should care about this kind of regression: bicycle1885/TableReader.jl#58 |
Can you guys run the benchmark from the file that I added? I have a hard time running the benchmark from outside of the Atom. Running it from inside the atom gives the wrong information as it is already loaded. |
I added an issue for creating a Github action to automatically update the precompile files |
could you please ignore/rm those files ? They look pretty messy as is. |
Cleaned up ♻️ |
I added Github actions for automatically creating the precompile file. Could you guys test it? |
e9d6e05
to
d127e73
Compare
The test is passed here: I think now you can merge this. |
a95f9e8
to
c2bbfcc
Compare
Codecov Report
@@ Coverage Diff @@
## master #225 +/- ##
=======================================
Coverage 46.07% 46.07%
=======================================
Files 40 40
Lines 1910 1910
=======================================
Hits 880 880
Misses 1030 1030
Continue to review full report at Codecov.
|
This comment has been minimized.
This comment has been minimized.
I fixed the issue by |
bad9922
to
6aadc52
Compare
When I add precompilation sentences generated by Atom some of the tests fail (from modules.jl and goto.jl). |
5006278
to
b87a374
Compare
6b2ce2c
to
c9b7f50
Compare
1af920f
to
9858ffd
Compare
Yay! the problem is fixed. Atom infer time is enhanced by 19% 🚀 https://github.com/aminya/Atom.jl/runs/409940740?check_suite_focus=true I didn't benchmark the actual timing but infer time is reduced by 3.6s which is 19%. |
Ready to get merged
Atom infer time is enhanced by 19% 🚀