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

Mitigate slow kernel discovery (API adoption, placeholder kernels, measurements) #9628

Closed
2 of 5 tasks
DonJayamanne opened this issue Apr 7, 2022 · 4 comments
Closed
2 of 5 tasks
Labels
bug Issue identified by VS Code Team member as probable bug notebook-getting-started

Comments

@DonJayamanne
Copy link
Contributor

DonJayamanne commented Apr 7, 2022

#5861

Problems

  • Unable to run a cell after opening a notebook for first time after installing VS Code
    • Basically user needs until all Python interpreters have been discovered. This can be very slow depending on a number of factors.
    • The users perception is They cannot run a cell

Tasks/Suggestions:

  • Review (& provide feedback) the new Python API
    • What will it take to implement this
    • Do we need changes in the API
  • Progress indicator for kernels loading/being fetched (would be be of any value?)
  • Add a placeholder lazy kernel for Python? (see corresponding issue with usecases for Lazy kernels)
  • Add active interpreter as a controller (while discovering other interpreters)
  • Add telemetry (if we don't already have this) to determine how quickly we return controllers
  • Add telemetry (if we don't already have this) to determine how quickly we get interpreters from Python extension
@DonJayamanne
Copy link
Contributor Author

DonJayamanne commented Apr 11, 2022

Placeholder
PlaceholderDemo

Fast

@greazer greazer added this to the April 2022 milestone Apr 11, 2022
@Tma2333

This comment was marked as off-topic.

@DonJayamanne
Copy link
Contributor Author

DonJayamanne commented Apr 15, 2022

@Tma2333 please could you file an issue with the problems you are facing. currently we do cache kernels for jupyter. please file an issue and we can continue the discussion there

@DonJayamanne
Copy link
Contributor Author

Closing as this isn't requried anymore and all of the work has been done or no longer relevant.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug notebook-getting-started
Projects
None yet
Development

No branches or pull requests

5 participants