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

Improve first "New notebook" launch time #1241

Open
fonsp opened this issue Jun 12, 2021 · 1 comment
Open

Improve first "New notebook" launch time #1241

fonsp opened this issue Jun 12, 2021 · 1 comment
Labels
backend Concerning the julia server and runtime package manager Pluto's built-in package manager

Comments

@fonsp
Copy link
Owner

fonsp commented Jun 12, 2021

#844 made the first notebook launch time slower.

Ideas to fix:

  • Pkg.Registry.update on launch instead of waiting for the user to open a notebook
  • Have one notebook process 'ready to go' on launch
  • Try to not call Pkg.Registry.update until a non-stdlib is imported

(launch is Pluto.run())

@fonsp fonsp added backend Concerning the julia server and runtime package manager Pluto's built-in package manager labels Jun 12, 2021
@fonsp fonsp mentioned this issue Jun 12, 2021
66 tasks
@lungben
Copy link
Contributor

lungben commented Aug 11, 2021

It may be sufficient to add

Threads.@spawn Pkg.Registry.update()

to Pluto.run() for implementing the 1st suggestion.

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 package manager Pluto's built-in package manager
Projects
None yet
Development

No branches or pull requests

2 participants