@codingame/monaco-vscode-performance-service-override 13.1.7 → 14.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 +5 -5
- package/vscode/src/vs/workbench/contrib/performance/browser/performance.contribution.js +17 -5
- package/vscode/src/vs/workbench/contrib/performance/browser/perfviewEditor.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/performance/browser/perfviewEditor.js +2 -2
- package/vscode/src/vs/workbench/contrib/performance/browser/startupTimings.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-performance-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.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-
|
|
19
|
-
"@codingame/monaco-vscode-
|
|
20
|
-
"@codingame/monaco-vscode-
|
|
21
|
-
"@codingame/monaco-vscode-
|
|
18
|
+
"@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "14.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-api": "14.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-ce8c4b18-4e75-55dd-9656-517347af9de7-common": "14.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-eea37658-2307-56a5-8ed0-b2752c7b7a50-common": "14.0.0"
|
|
22
22
|
},
|
|
23
23
|
"main": "index.js",
|
|
24
24
|
"module": "index.js",
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
2
3
|
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
3
4
|
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
4
5
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
5
6
|
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
6
7
|
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
7
8
|
import { Categories } from '@codingame/monaco-vscode-api/vscode/vs/platform/action/common/actionCommonCategories';
|
|
8
|
-
import { registerWorkbenchContribution2, Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
9
|
+
import { registerWorkbenchContribution2, Extensions, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
9
10
|
import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
10
11
|
import { PerfviewContrib, PerfviewInput } from './perfviewEditor.js';
|
|
11
12
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
12
13
|
import { InstantiationService, Trace } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiationService';
|
|
13
14
|
import { EventProfiling } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
14
15
|
import { InputLatencyContrib } from './inputLatencyContrib.js';
|
|
16
|
+
import { IEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/platform/environment/common/environment.service';
|
|
17
|
+
import '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
15
18
|
|
|
16
19
|
registerWorkbenchContribution2(PerfviewContrib.ID, PerfviewContrib, { lazy: true });
|
|
17
20
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(PerfviewInput.Id, class {
|
|
@@ -29,7 +32,7 @@ registerAction2(class extends Action2 {
|
|
|
29
32
|
constructor() {
|
|
30
33
|
super({
|
|
31
34
|
id: 'perfview.show',
|
|
32
|
-
title: ( localize2(
|
|
35
|
+
title: ( localize2(8047, 'Startup Performance')),
|
|
33
36
|
category: Categories.Developer,
|
|
34
37
|
f1: true
|
|
35
38
|
});
|
|
@@ -44,7 +47,7 @@ registerAction2(class PrintServiceCycles extends Action2 {
|
|
|
44
47
|
constructor() {
|
|
45
48
|
super({
|
|
46
49
|
id: 'perf.insta.printAsyncCycles',
|
|
47
|
-
title: ( localize2(
|
|
50
|
+
title: ( localize2(8048, 'Print Service Cycles')),
|
|
48
51
|
category: Categories.Developer,
|
|
49
52
|
f1: true
|
|
50
53
|
});
|
|
@@ -66,7 +69,7 @@ registerAction2(class PrintServiceTraces extends Action2 {
|
|
|
66
69
|
constructor() {
|
|
67
70
|
super({
|
|
68
71
|
id: 'perf.insta.printTraces',
|
|
69
|
-
title: ( localize2(
|
|
72
|
+
title: ( localize2(8049, 'Print Service Traces')),
|
|
70
73
|
category: Categories.Developer,
|
|
71
74
|
f1: true
|
|
72
75
|
});
|
|
@@ -85,7 +88,7 @@ registerAction2(class PrintEventProfiling extends Action2 {
|
|
|
85
88
|
constructor() {
|
|
86
89
|
super({
|
|
87
90
|
id: 'perf.event.profiling',
|
|
88
|
-
title: ( localize2(
|
|
91
|
+
title: ( localize2(8050, 'Print Emitter Profiles')),
|
|
89
92
|
category: Categories.Developer,
|
|
90
93
|
f1: true
|
|
91
94
|
});
|
|
@@ -101,3 +104,12 @@ registerAction2(class PrintEventProfiling extends Action2 {
|
|
|
101
104
|
}
|
|
102
105
|
});
|
|
103
106
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(InputLatencyContrib, LifecyclePhase.Eventually);
|
|
107
|
+
let DisposableTracking = class DisposableTracking {
|
|
108
|
+
static { this.Id = 'perf.disposableTracking'; }
|
|
109
|
+
constructor(envService) {
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
DisposableTracking = ( __decorate([
|
|
113
|
+
( __param(0, IEnvironmentService))
|
|
114
|
+
], DisposableTracking));
|
|
115
|
+
registerWorkbenchContribution2(DisposableTracking.Id, DisposableTracking, WorkbenchPhase.Eventually);
|
|
@@ -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-ce8c4b18-4e75-55dd-9656-517347af9de7-common/vscode/vs/workbench/common/editor/textResourceEditorInput";
|
|
3
3
|
import { ITextModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService";
|
|
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-ce8c4b18-4e75-55dd-9656-517347af9de7-common/vscode/vs/workbench/common/editor/textResourceEditorInput';
|
|
6
6
|
import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService';
|
|
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(8051, "Startup Performance")), undefined, undefined, undefined, textModelResolverService, textFileService, editorService, fileService, labelService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService);
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
PerfviewInput = PerfviewInput_1 = ( __decorate([
|
|
@@ -4,7 +4,7 @@ import { isCodeEditor } from '@codingame/monaco-vscode-api/vscode/vs/editor/brow
|
|
|
4
4
|
import { StartupKind, StartupKindToString } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
5
5
|
import { ILifecycleService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
6
6
|
import { IUpdateService } from '@codingame/monaco-vscode-api/vscode/vs/platform/update/common/update.service';
|
|
7
|
-
import { VIEWLET_ID } from '@codingame/monaco-vscode-
|
|
7
|
+
import { VIEWLET_ID } from '@codingame/monaco-vscode-eea37658-2307-56a5-8ed0-b2752c7b7a50-common/vscode/vs/workbench/contrib/files/common/files';
|
|
8
8
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
9
9
|
import { IWorkspaceTrustManagementService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspaceTrust.service';
|
|
10
10
|
import { IPaneCompositePartService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/panecomposite/browser/panecomposite.service';
|