-
Notifications
You must be signed in to change notification settings - Fork 250
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
strip out old precompilation code #958
Conversation
AFAIK this isn't necessary anymore in recent versions of Julia
63d8fb2
to
c6ade7e
Compare
Codecov Report
@@ Coverage Diff @@
## master #958 +/- ##
===========================================
+ Coverage 65.47% 79.89% +14.42%
===========================================
Files 35 34 -1
Lines 4814 3930 -884
===========================================
- Hits 3152 3140 -12
+ Misses 1662 790 -872
Continue to review full report at Codecov.
|
i notice a ~15% slow down the first time one draws to a file without master:
this PR:
as subsequent draws are comparable, i'd say merge it. should probably reference #921 |
Let's do this |
should |
This is associated with GiovineItalia/Gadfly.jl#958
Good point, PR here: GiovineItalia/Compose.jl#236. Increases initial precompilation speed by ~3x. |
In the old days those files dropped the time-to-first-plot by a factor of 2, and so the time spent precompiling seemed well worth it. (You precompile "once," unless you're a developer, but you run many times.) Sounds like the advantage diminished with time? |
Looks like it. Gadfly's time-to-first-plot is still embarrassingly slow (#921) and we still haven't been able to track down the problem. This PR only affects this first plot, the rest are basically instantaneous. |
AFAIK this isn't necessary anymore in recent versions of Julia. I can't detect any regressions and this dramatically increases precompilation speed:
Master:
This PR: