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

Speedup large notebooks: cache cell dependencies in notebook_to_js #2976

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

fonsp
Copy link
Owner

@fonsp fonsp commented Aug 5, 2024

More speedup for #2958

This reduced the notebook_to_js runtime for https://gist.github.com/yha/4ed9406d2c8b8fd7c50aadccdb5c2982 from 1.8ms to 1.2ms. I suspect the speedup will be bigger if the notebook contains actual dependencies, not just comments

@fonsp fonsp added backend Concerning the julia server and runtime performance labels Aug 5, 2024
Copy link
Contributor

github-actions bot commented Aug 5, 2024

Try this Pull Request!

Open Julia and type:

julia> import Pkg
julia> Pkg.activate(temp=true)
julia> Pkg.add(url="https://github.com/fonsp/Pluto.jl", rev="_cached_cell_dependencies")
julia> using Pluto

@fonsp fonsp merged commit 67666c0 into main Aug 5, 2024
12 of 15 checks passed
@fonsp fonsp deleted the _cached_cell_dependencies branch August 5, 2024 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Concerning the julia server and runtime performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant