File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed
Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -92,21 +92,18 @@ export async function activate(context: ExtensionContext) {
9292 ) } `,
9393 ) ;
9494
95- const startPlugins = Date . now ( ) ;
96- await plugins . activate ( {
97- context,
98- outputChannel,
99- statusBarItem,
100- containerStatusTracker,
101- localStackStatusTracker,
102- setupStatusTracker,
103- telemetry,
104- timeTracker,
95+ await timeTracker . run ( "extension.activatePlugins" , async ( ) => {
96+ await plugins . activate ( {
97+ context,
98+ outputChannel,
99+ statusBarItem,
100+ containerStatusTracker,
101+ localStackStatusTracker,
102+ setupStatusTracker,
103+ telemetry,
104+ timeTracker,
105+ } ) ;
105106 } ) ;
106- const endPlugins = Date . now ( ) ;
107- outputChannel . trace (
108- `[extension]: Plugins activated in ${ ms ( endPlugins - startPlugins , { long : true } ) } ` ,
109- ) ;
110107}
111108
112109export async function deactivate ( ) {
You can’t perform that action at this time.
0 commit comments