diff --git a/src/vs/workbench/parts/performance/electron-browser/perfviewEditor.ts b/src/vs/workbench/parts/performance/electron-browser/perfviewEditor.ts index 36e965387f1..199dc637158 100644 --- a/src/vs/workbench/parts/performance/electron-browser/perfviewEditor.ts +++ b/src/vs/workbench/parts/performance/electron-browser/perfviewEditor.ts @@ -163,15 +163,22 @@ class PerfModelContentProvider implements ITextModelContentProvider { private _addExtensionsTable(md: MarkdownBuilder): void { - const table: ({ toString(): string })[][] = []; + const eager: ({ toString(): string })[][] = []; + const normal: ({ toString(): string })[][] = []; let extensionsStatus = this._extensionService.getExtensionsStatus(); for (let id in extensionsStatus) { const { activationTimes: times } = extensionsStatus[id]; if (!times) { continue; } - table.push([id, times.startup, times.codeLoadingTime, times.activateCallTime, times.activateResolvedTime, times.activationEvent]); + if (times.startup) { + eager.push([id, times.startup, times.codeLoadingTime, times.activateCallTime, times.activateResolvedTime, times.activationEvent]); + } else { + normal.push([id, times.startup, times.codeLoadingTime, times.activateCallTime, times.activateResolvedTime, times.activationEvent]); + } } + + const table = eager.concat(normal); if (table.length > 0) { md.heading(2, 'Extension Activation Stats'); md.table(