-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Process iopub messages synchronously #12733
Conversation
@@ -341,7 +341,7 @@ export class NotebookExecutionService implements INotebookExecutionService { | |||
this.registeredIOPubListeners.add(nb); | |||
//tslint:disable-next-line:no-require-imports | |||
const jupyterLab = require('@jupyterlab/services') as typeof import('@jupyterlab/services'); | |||
nb.registerIOPubListener(async (msg) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was async as the original signature of the callback mandated this, now we don't need it to be async at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕐
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…o issue12588 * 'issue12588' of github.com:DonJayamanne/pythonVSCode: Better way to determine the 'real' path for a file than assuming it's in a certain location (#12734) Add telemetry for 'Select Interpreter' command (#12723) Increase timeout for flaky tests & hooks (#12721) Drop Developer Tools from the bug issue template Add some logging to a flaky test (#12711) Special case failure for windows (#12714) Add link to python.dataScience.alwaysTrustNotebooks setting (#12702) Remove language server survey (#12677)
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
For #12588
At least in VS Code Notebooks, the improvement is fairly significant.
Down from 3minutes to 5 seconds.
Note: This doesn't completely resolve the slow times experienced in the existing Notebook Editor.
We have delays due to UI updates there (however that too is down from 3minutes to ~15 seconds).
That might probably need to be addressed separately.
Either way its a significantly improvement.