@codingame/monaco-vscode-performance-service-override 19.1.4 → 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-performance-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - performance service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "
|
|
19
|
-
"@codingame/monaco-vscode-
|
|
20
|
-
"@codingame/monaco-vscode-
|
|
21
|
-
"@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common": "
|
|
18
|
+
"@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "20.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-api": "20.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common": "20.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common": "20.0.0"
|
|
22
22
|
},
|
|
23
23
|
"main": "index.js",
|
|
24
24
|
"module": "index.js",
|
|
@@ -32,7 +32,7 @@ registerAction2(class extends Action2 {
|
|
|
32
32
|
constructor() {
|
|
33
33
|
super({
|
|
34
34
|
id: 'perfview.show',
|
|
35
|
-
title: ( localize2(
|
|
35
|
+
title: ( localize2(9141, 'Startup Performance')),
|
|
36
36
|
category: Categories.Developer,
|
|
37
37
|
f1: true
|
|
38
38
|
});
|
|
@@ -47,7 +47,7 @@ registerAction2(class PrintServiceCycles extends Action2 {
|
|
|
47
47
|
constructor() {
|
|
48
48
|
super({
|
|
49
49
|
id: 'perf.insta.printAsyncCycles',
|
|
50
|
-
title: ( localize2(
|
|
50
|
+
title: ( localize2(9142, 'Print Service Cycles')),
|
|
51
51
|
category: Categories.Developer,
|
|
52
52
|
f1: true
|
|
53
53
|
});
|
|
@@ -69,7 +69,7 @@ registerAction2(class PrintServiceTraces extends Action2 {
|
|
|
69
69
|
constructor() {
|
|
70
70
|
super({
|
|
71
71
|
id: 'perf.insta.printTraces',
|
|
72
|
-
title: ( localize2(
|
|
72
|
+
title: ( localize2(9143, 'Print Service Traces')),
|
|
73
73
|
category: Categories.Developer,
|
|
74
74
|
f1: true
|
|
75
75
|
});
|
|
@@ -88,7 +88,7 @@ registerAction2(class PrintEventProfiling extends Action2 {
|
|
|
88
88
|
constructor() {
|
|
89
89
|
super({
|
|
90
90
|
id: 'perf.event.profiling',
|
|
91
|
-
title: ( localize2(
|
|
91
|
+
title: ( localize2(9144, 'Print Emitter Profiles')),
|
|
92
92
|
category: Categories.Developer,
|
|
93
93
|
f1: true
|
|
94
94
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
2
|
-
import { TextResourceEditorInput } from "@codingame/monaco-vscode-
|
|
2
|
+
import { TextResourceEditorInput } from "@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common/vscode/vs/workbench/common/editor/textResourceEditorInput";
|
|
3
3
|
import { ITextModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service";
|
|
4
4
|
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
5
5
|
import { ITextFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
3
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
4
|
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
5
|
-
import { TextResourceEditorInput } from '@codingame/monaco-vscode-
|
|
5
|
+
import { TextResourceEditorInput } from '@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common/vscode/vs/workbench/common/editor/textResourceEditorInput';
|
|
6
6
|
import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service';
|
|
7
7
|
import { LifecyclePhase, StartupKindToString } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
8
8
|
import { ILifecycleService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
@@ -62,7 +62,7 @@ let PerfviewInput = class PerfviewInput extends TextResourceEditorInput {
|
|
|
62
62
|
return PerfviewInput_1.Id;
|
|
63
63
|
}
|
|
64
64
|
constructor(textModelResolverService, textFileService, editorService, fileService, labelService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService) {
|
|
65
|
-
super(PerfviewContrib.get().getInputUri(), ( localize(
|
|
65
|
+
super(PerfviewContrib.get().getInputUri(), ( localize(9145, "Startup Performance")), undefined, undefined, undefined, textModelResolverService, textFileService, editorService, fileService, labelService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService);
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
PerfviewInput = PerfviewInput_1 = ( __decorate([
|
|
@@ -170,7 +170,8 @@ let PerfModelContentProvider = class PerfModelContentProvider {
|
|
|
170
170
|
table.push(['init keybindings, snippets & extensions from settings sync service', metrics.timers.ellapsedOtherUserDataInit, '[renderer]', undefined]);
|
|
171
171
|
}
|
|
172
172
|
table.push(['register extensions & spawn extension host', metrics.timers.ellapsedExtensions, '[renderer]', undefined]);
|
|
173
|
-
table.push(['restore viewlet', metrics.timers.ellapsedViewletRestore, '[renderer]', metrics.viewletId]);
|
|
173
|
+
table.push(['restore primary viewlet', metrics.timers.ellapsedViewletRestore, '[renderer]', metrics.viewletId]);
|
|
174
|
+
table.push(['restore secondary viewlet', metrics.timers.ellapsedAuxiliaryViewletRestore, '[renderer]', metrics.auxiliaryViewletId]);
|
|
174
175
|
table.push(['restore panel', metrics.timers.ellapsedPanelRestore, '[renderer]', metrics.panelId]);
|
|
175
176
|
table.push(['restore & resolve visible editors', metrics.timers.ellapsedEditorRestore, '[renderer]', `${metrics.editorIds.length}: ${metrics.editorIds.join(', ')}`]);
|
|
176
177
|
table.push(['create workbench contributions', metrics.timers.ellapsedWorkbenchContributions, '[renderer]', `${(contribTimings.get(LifecyclePhase.Starting)?.length ?? 0) + (contribTimings.get(LifecyclePhase.Starting)?.length ?? 0)} blocking startup`]);
|