@@ -53,9 +53,11 @@ export interface IMemoryInfo {
5353 "timers.ellapsedExtensions" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
5454 "timers.ellapsedExtensionsReady" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
5555 "timers.ellapsedRequire" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
56- "timers.ellapsedGlobalStorageInit" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
56+ "timers.ellapsedGlobalStorageInitMain" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
57+ "timers.ellapsedGlobalStorageInitRenderer" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
5758 "timers.ellapsedWorkspaceStorageRequire" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
5859 "timers.ellapsedWorkspaceStorageInit" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
60+ "timers.ellapsedWorkspaceServiceInit" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
5961 "timers.ellapsedViewletRestore" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
6062 "timers.ellapsedPanelRestore" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
6163 "timers.ellapsedEditorRestore" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true },
@@ -229,6 +231,14 @@ export interface IStartupMetrics {
229231 */
230232 ellapsedWorkspaceStorageInit : number ;
231233
234+ /**
235+ * The time it took to initialize the workspace and configuration service.
236+ *
237+ * * Happens in the renderer-process
238+ * * Measured with the `willInitWorkspaceService` and `didInitWorkspaceService` performance marks.
239+ */
240+ ellapsedWorkspaceServiceInit : number ;
241+
232242 /**
233243 * The time it took to load the main-bundle of the workbench, e.g `workbench.main.js`.
234244 *
@@ -410,6 +420,7 @@ class TimerService implements ITimerService {
410420 ellapsedGlobalStorageInitRenderer : perf . getDuration ( 'willInitGlobalStorage' , 'didInitGlobalStorage' ) ,
411421 ellapsedWorkspaceStorageRequire : perf . getDuration ( 'willRequireSQLite' , 'didRequireSQLite' ) ,
412422 ellapsedWorkspaceStorageInit : perf . getDuration ( 'willInitWorkspaceStorage' , 'didInitWorkspaceStorage' ) ,
423+ ellapsedWorkspaceServiceInit : perf . getDuration ( 'willInitWorkspaceService' , 'didInitWorkspaceService' ) ,
413424 ellapsedExtensions : perf . getDuration ( 'willLoadExtensions' , 'didLoadExtensions' ) ,
414425 ellapsedEditorRestore : perf . getDuration ( 'willRestoreEditors' , 'didRestoreEditors' ) ,
415426 ellapsedViewletRestore : perf . getDuration ( 'willRestoreViewlet' , 'didRestoreViewlet' ) ,
0 commit comments