@codingame/monaco-vscode-performance-service-override 14.0.6 → 15.0.1
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 +8 -5
- package/vscode/src/vs/workbench/contrib/performance/browser/perfviewEditor.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/performance/browser/perfviewEditor.js +7 -7
- 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": "15.0.1",
|
|
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-411e0589-fa79-504b-b32c-80a88847b23a-common": "
|
|
19
|
-
"@codingame/monaco-vscode-
|
|
20
|
-
"@codingame/monaco-vscode-
|
|
21
|
-
"@codingame/monaco-vscode-
|
|
18
|
+
"@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "15.0.1",
|
|
19
|
+
"@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common": "15.0.1",
|
|
20
|
+
"@codingame/monaco-vscode-a4c2011e-8775-52bd-abf0-4a3c07a9696b-common": "15.0.1",
|
|
21
|
+
"@codingame/monaco-vscode-api": "15.0.1"
|
|
22
22
|
},
|
|
23
23
|
"main": "index.js",
|
|
24
24
|
"module": "index.js",
|
|
@@ -14,7 +14,7 @@ import { InstantiationService, Trace } from '@codingame/monaco-vscode-api/vscode
|
|
|
14
14
|
import { EventProfiling } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
15
15
|
import { InputLatencyContrib } from './inputLatencyContrib.js';
|
|
16
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';
|
|
17
|
+
import { setDisposableTracker, GCBasedDisposableTracker } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
18
18
|
|
|
19
19
|
registerWorkbenchContribution2(PerfviewContrib.ID, PerfviewContrib, { lazy: true });
|
|
20
20
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(PerfviewInput.Id, class {
|
|
@@ -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(8154, '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(8155, '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(8156, '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(8157, 'Print Emitter Profiles')),
|
|
92
92
|
category: Categories.Developer,
|
|
93
93
|
f1: true
|
|
94
94
|
});
|
|
@@ -107,6 +107,9 @@ registerAction2(class PrintEventProfiling extends Action2 {
|
|
|
107
107
|
let DisposableTracking = class DisposableTracking {
|
|
108
108
|
static { this.Id = 'perf.disposableTracking'; }
|
|
109
109
|
constructor(envService) {
|
|
110
|
+
if (!envService.isBuilt && !envService.extensionTestsLocationURI) {
|
|
111
|
+
setDisposableTracker(( new GCBasedDisposableTracker()));
|
|
112
|
+
}
|
|
110
113
|
}
|
|
111
114
|
};
|
|
112
115
|
DisposableTracking = ( __decorate([
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
2
|
-
import { TextResourceEditorInput } from "@codingame/monaco-vscode-
|
|
3
|
-
import { ITextModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService";
|
|
2
|
+
import { TextResourceEditorInput } from "@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common/vscode/vs/workbench/common/editor/textResourceEditorInput";
|
|
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";
|
|
6
6
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
7
7
|
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
8
8
|
import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
|
|
9
9
|
import { IFilesConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service";
|
|
10
|
-
import { ITextResourceConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration";
|
|
10
|
+
import { ITextResourceConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration.service";
|
|
11
11
|
import { ICustomEditorLabelService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/customEditorLabelService.service";
|
|
12
12
|
export declare class PerfviewContrib {
|
|
13
13
|
private readonly _instaService;
|
|
@@ -2,17 +2,17 @@
|
|
|
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-
|
|
6
|
-
import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService';
|
|
5
|
+
import { TextResourceEditorInput } from '@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common/vscode/vs/workbench/common/editor/textResourceEditorInput';
|
|
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';
|
|
9
|
-
import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language';
|
|
9
|
+
import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service';
|
|
10
10
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
11
|
-
import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model';
|
|
11
|
+
import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service';
|
|
12
12
|
import { ITimerService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/timer/browser/timerService.service';
|
|
13
13
|
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
14
14
|
import { dispose } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
15
|
-
import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService';
|
|
15
|
+
import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService.service';
|
|
16
16
|
import { writeTransientState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/codeEditor/browser/toggleWordWrap';
|
|
17
17
|
import { IProductService } from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service';
|
|
18
18
|
import { ITextFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service';
|
|
@@ -23,7 +23,7 @@ import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/l
|
|
|
23
23
|
import { isWeb } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
24
24
|
import { IFilesConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service';
|
|
25
25
|
import { ITerminalService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminal/browser/terminal.service';
|
|
26
|
-
import { ITextResourceConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration';
|
|
26
|
+
import { ITextResourceConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration.service';
|
|
27
27
|
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
28
28
|
import { getWorkbenchContribution, Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
29
29
|
import { ICustomEditorLabelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/customEditorLabelService.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(8158, "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-a4c2011e-8775-52bd-abf0-4a3c07a9696b-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';
|