@@ -66,6 +66,7 @@ export interface IMemoryInfo {
66
66
"timers.ellapsedViewletRestore" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
67
67
"timers.ellapsedPanelRestore" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
68
68
"timers.ellapsedEditorRestore" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
69
+ "timers.ellapsedWorkbenchContributions" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
69
70
"timers.ellapsedWorkbench" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
70
71
"platform" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
71
72
"release" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
@@ -364,6 +365,16 @@ export interface IStartupMetrics {
364
365
*/
365
366
readonly ellapsedEditorRestore : number ;
366
367
368
+ /**
369
+ * The time it took to create all workbench contributions on the starting and ready
370
+ * lifecycle phase, thus blocking `ellapsedWorkbench`.
371
+ *
372
+ * * Happens in the renderer-process
373
+ * * Measured with the `willCreateWorkbenchContributions/1` and `didCreateWorkbenchContributions/2` performance marks.
374
+ *
375
+ */
376
+ readonly ellapsedWorkbenchContributions : number ;
377
+
367
378
/**
368
379
* The time it took to create the workbench.
369
380
*
@@ -686,6 +697,7 @@ export abstract class AbstractTimerService implements ITimerService {
686
697
ellapsedEditorRestore : this . _marks . getDuration ( 'code/willRestoreEditors' , 'code/didRestoreEditors' ) ,
687
698
ellapsedViewletRestore : this . _marks . getDuration ( 'code/willRestoreViewlet' , 'code/didRestoreViewlet' ) ,
688
699
ellapsedPanelRestore : this . _marks . getDuration ( 'code/willRestorePanel' , 'code/didRestorePanel' ) ,
700
+ ellapsedWorkbenchContributions : this . _marks . getDuration ( 'code/willCreateWorkbenchContributions/1' , 'code/didCreateWorkbenchContributions/2' ) ,
689
701
ellapsedWorkbench : this . _marks . getDuration ( 'code/willStartWorkbench' , 'code/didStartWorkbench' ) ,
690
702
ellapsedExtensionsReady : this . _marks . getDuration ( startMark , 'code/didLoadExtensions' ) ,
691
703
ellapsedRenderer : this . _marks . getDuration ( 'code/didStartRenderer' , 'code/didStartWorkbench' )
0 commit comments