From 2778c169318971717feb0bdadb4fb84afb4a6c62 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Tue, 18 Feb 2020 08:05:55 -0800 Subject: [PATCH 1/2] Perf fixes --- src/client/datascience/activation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/datascience/activation.ts b/src/client/datascience/activation.ts index 7e73b10dd1a3..f2b7fbd012c6 100644 --- a/src/client/datascience/activation.ts +++ b/src/client/datascience/activation.ts @@ -30,7 +30,7 @@ export class Activation implements IExtensionSingleActivationService { this.disposables.push(this.jupyterInterpreterService.onDidChangeInterpreter(this.onDidChangeInterpreter, this)); // Warm up our selected interpreter for the extension this.jupyterInterpreterService.setInitialInterpreter().ignoreErrors(); - await this.contextService.activate(); + this.contextService.activate().ignoreErrors(); } private onDidOpenNotebookEditor(_: INotebookEditor) { From 8c6f23d65f66f21c382760c76a3899d9c7ff58b5 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Tue, 18 Feb 2020 09:05:10 -0800 Subject: [PATCH 2/2] Add news entry --- news/2 Fixes/10170.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 news/2 Fixes/10170.md diff --git a/news/2 Fixes/10170.md b/news/2 Fixes/10170.md new file mode 100644 index 000000000000..f9cc91fb8d8c --- /dev/null +++ b/news/2 Fixes/10170.md @@ -0,0 +1 @@ +Perf improvements to executing startup code for `Data Science` features when extension loads.