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

Performance: skip background status sync throttle during reactive run #2981

Merged
merged 5 commits into from
Aug 6, 2024

Conversation

fonsp
Copy link
Owner

@fonsp fonsp commented Aug 6, 2024

Implements the first point of #2978

Every time a state sync happens from run_reactive_core!, it tells the throttled status_tree sync to skip the next run. (because the client is already guaranteed to be in sync)

I rewrote the throttled function to return a struct.

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

github-actions bot commented Aug 6, 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="update-throttle-rework-2")
julia> using Pluto

@fonsp fonsp changed the title Performance: skip status sync throttle during run Performance: skip background status sync throttle during reactive run Aug 6, 2024
@fonsp fonsp merged commit 674c322 into main Aug 6, 2024
13 of 14 checks passed
@fonsp fonsp deleted the update-throttle-rework-2 branch August 6, 2024 17:58
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.

Performance: throttled status update loop impacts performance on large notebooks
1 participant