Skip to content
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

lazy Traceur loading #309

Merged
merged 2 commits into from
Apr 6, 2020
Merged

lazy Traceur loading #309

merged 2 commits into from
Apr 6, 2020

Conversation

aviatesk
Copy link
Member

@aviatesk aviatesk commented Apr 3, 2020

Since Traceur is still in alpha (and currently has problems in its performance and robustness), I believe ppl don't use this integration so much that it might be okay that it's not provided by default.
Although Traceur (and Cassette) dependency isn't so heavy, but will improve the loading time for sure.

Requires.@require WebIO="0f1e0344-ec1d-5b48-a673-e5cf874b6c29" begin
include("display/webio.jl")
end
@require WebIO="0f1e0344-ec1d-5b48-a673-e5cf874b6c29" include("display/webio.jl")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why webio.jl is better to be loaded by @require. Maybe because building WebIO sometimes fails ?

@codecov
Copy link

codecov bot commented Apr 3, 2020

Codecov Report

Merging #309 into master will decrease coverage by 0.08%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #309      +/-   ##
==========================================
- Coverage   54.92%   54.83%   -0.09%     
==========================================
  Files          42       42              
  Lines        2933     3007      +74     
==========================================
+ Hits         1611     1649      +38     
- Misses       1322     1358      +36     
Impacted Files Coverage Δ
src/profiler/traceur.jl 0.00% <ø> (ø)
src/Atom.jl 100.00% <100.00%> (ø)
src/debugger/debugger.jl 33.33% <0.00%> (-6.67%) ⬇️
src/display/markdown.jl 60.46% <0.00%> (-6.21%) ⬇️
src/outline.jl 70.00% <0.00%> (-2.42%) ⬇️
src/comm.jl 29.09% <0.00%> (-1.68%) ⬇️
src/docs.jl 74.54% <0.00%> (-1.39%) ⬇️
src/eval.jl 57.30% <0.00%> (-1.32%) ⬇️
src/display/errors.jl 38.29% <0.00%> (-0.84%) ⬇️
src/datatip.jl 75.75% <0.00%> (-0.81%) ⬇️
... and 20 more

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 5b4a09a...d691b58. Read the comment docs.

@aviatesk
Copy link
Member Author

aviatesk commented Apr 6, 2020

@pfitzseb maybe are you against this ?

@pfitzseb
Copy link
Member

pfitzseb commented Apr 6, 2020

No, I just forgot about this. LGTM.

@pfitzseb pfitzseb merged commit 44d81fc into master Apr 6, 2020
@aviatesk aviatesk deleted the avi/lazytraceur branch April 6, 2020 13:37
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.

2 participants