Skip to content

Small tweaks to reduce the need for inference #58

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

Merged
merged 2 commits into from
Dec 20, 2020
Merged

Conversation

timholy
Copy link
Member

@timholy timholy commented Dec 20, 2020

This reduces the number of generators that need to be compiled,
fixes a minor inference issue, and adds a couple of precompiles.
All of very minor consequence, but not bad to have.

However, the fix to the Links constructor seems important and
slightly bizarre that it worked previously.

It's hard to understand how this wasn't an error.
This reduces the number of generators that need to be compiled,
fixes a minor inference issue, and adds a couple of precompiles.
All of very minor consequence, but not bad to have.
@codecov
Copy link

codecov bot commented Dec 20, 2020

Codecov Report

Merging #58 (3da84bc) into master (c591479) will increase coverage by 3.39%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
+ Coverage   89.08%   92.47%   +3.39%     
==========================================
  Files           5        5              
  Lines         916      970      +54     
==========================================
+ Hits          816      897      +81     
+ Misses        100       73      -27     
Impacted Files Coverage Δ
src/codeedges.jl 94.76% <100.00%> (+6.16%) ⬆️
src/packagedef.jl 95.65% <100.00%> (+0.41%) ⬆️
src/signatures.jl 92.08% <100.00%> (+0.38%) ⬆️
src/utils.jl 82.40% <0.00%> (+0.67%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c591479...3da84bc. Read the comment docs.

@timholy timholy merged commit 2f4f2dc into master Dec 20, 2020
@timholy timholy deleted the teh/latency branch December 20, 2020 19:16
timholy added a commit to timholy/Revise.jl that referenced this pull request Dec 20, 2020
Investigation via `SnoopCompile.@snoopi_deep` identified several
opportunities to reduce latency:
- JuliaLang/julia#38906
- JuliaDebug/JuliaInterpreter.jl#461
- JuliaDebug/LoweredCodeUtils.jl#58

Together with the changes here, the aggregate effect is to reduce
the time for the first revision from 3.1s
to about 1.5s. That's much more reasonable.
timholy added a commit to timholy/Revise.jl that referenced this pull request Dec 21, 2020
Investigation via `SnoopCompile.@snoopi_deep` identified several
opportunities to reduce latency:
- JuliaLang/julia#38906
- JuliaDebug/JuliaInterpreter.jl#461
- JuliaDebug/LoweredCodeUtils.jl#58

Together with the changes here, the aggregate effect is to reduce
the time for the first revision from 3.1s
to about 1.5s. That's much more reasonable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant