@codingame/monaco-vscode-performance-service-override 33.0.9 → 34.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": "34.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - performance service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "34.0.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
3
|
import { EventProfiling } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
4
4
|
import { setDisposableTracker, GCBasedDisposableTracker } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
5
|
+
import { env } from '@codingame/monaco-vscode-api/vscode/vs/base/common/process';
|
|
5
6
|
import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
6
7
|
import { Categories } from '@codingame/monaco-vscode-api/vscode/vs/platform/action/common/actionCommonCategories';
|
|
7
8
|
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
@@ -35,7 +36,7 @@ registerAction2(class extends Action2 {
|
|
|
35
36
|
constructor() {
|
|
36
37
|
super({
|
|
37
38
|
id: "perfview.show",
|
|
38
|
-
title: ( localize2(
|
|
39
|
+
title: ( localize2(12368, "Startup Performance")),
|
|
39
40
|
category: Categories.Developer,
|
|
40
41
|
f1: true
|
|
41
42
|
});
|
|
@@ -52,7 +53,7 @@ registerAction2(class PrintServiceCycles extends Action2 {
|
|
|
52
53
|
constructor() {
|
|
53
54
|
super({
|
|
54
55
|
id: "perf.insta.printAsyncCycles",
|
|
55
|
-
title: ( localize2(
|
|
56
|
+
title: ( localize2(12369, "Print Service Cycles")),
|
|
56
57
|
category: Categories.Developer,
|
|
57
58
|
f1: true
|
|
58
59
|
});
|
|
@@ -73,7 +74,7 @@ registerAction2(class PrintServiceTraces extends Action2 {
|
|
|
73
74
|
constructor() {
|
|
74
75
|
super({
|
|
75
76
|
id: "perf.insta.printTraces",
|
|
76
|
-
title: ( localize2(
|
|
77
|
+
title: ( localize2(12370, "Print Service Traces")),
|
|
77
78
|
category: Categories.Developer,
|
|
78
79
|
f1: true
|
|
79
80
|
});
|
|
@@ -92,7 +93,7 @@ registerAction2(class PrintEventProfiling extends Action2 {
|
|
|
92
93
|
constructor() {
|
|
93
94
|
super({
|
|
94
95
|
id: "perf.event.profiling",
|
|
95
|
-
title: ( localize2(
|
|
96
|
+
title: ( localize2(12371, "Print Emitter Profiles")),
|
|
96
97
|
category: Categories.Developer,
|
|
97
98
|
f1: true
|
|
98
99
|
});
|
|
@@ -113,7 +114,7 @@ registerAction2(class PrintEventProfiling extends Action2 {
|
|
|
113
114
|
( Registry.as(Extensions$1.Configuration)).registerConfiguration({
|
|
114
115
|
id: "performance",
|
|
115
116
|
order: 101,
|
|
116
|
-
title: ( localize(
|
|
117
|
+
title: ( localize(12372, "Performance")),
|
|
117
118
|
type: "object",
|
|
118
119
|
properties: {
|
|
119
120
|
"telemetry.performance.inputLatencySamplingProbability": {
|
|
@@ -123,7 +124,7 @@ registerAction2(class PrintEventProfiling extends Action2 {
|
|
|
123
124
|
maximum: 1,
|
|
124
125
|
tags: ["experimental"],
|
|
125
126
|
markdownDescription: ( localize(
|
|
126
|
-
|
|
127
|
+
12373,
|
|
127
128
|
"Probability (0 to 1) that input latency telemetry is reported for this session. Set to 0 to disable, 1 to always report."
|
|
128
129
|
)),
|
|
129
130
|
experiment: {
|
|
@@ -137,7 +138,7 @@ let DisposableTracking = class DisposableTracking {
|
|
|
137
138
|
this.Id = "perf.disposableTracking";
|
|
138
139
|
}
|
|
139
140
|
constructor(envService) {
|
|
140
|
-
if (!envService.isBuilt && !envService.extensionTestsLocationURI) {
|
|
141
|
+
if (!envService.isBuilt && !envService.extensionTestsLocationURI && !env["VSCODE_DEV_DISABLE_DISPOSABLE_TRACKING"]) {
|
|
141
142
|
setDisposableTracker(( new GCBasedDisposableTracker()));
|
|
142
143
|
}
|
|
143
144
|
}
|
|
@@ -80,7 +80,7 @@ let PerfviewInput = class PerfviewInput extends TextResourceEditorInput {
|
|
|
80
80
|
textResourceConfigurationService,
|
|
81
81
|
customEditorLabelService
|
|
82
82
|
) {
|
|
83
|
-
super(PerfviewContrib.get().getInputUri(), ( localize(
|
|
83
|
+
super(PerfviewContrib.get().getInputUri(), ( localize(12374, "Startup Performance")), undefined, undefined, undefined, textModelResolverService, textFileService, editorService, fileService, labelService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService);
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
PerfviewInput = PerfviewInput_1 = ( __decorate([( __param(0, ITextModelService)), ( __param(1, ITextFileService)), ( __param(2, IEditorService)), ( __param(3, IFileService)), ( __param(4, ILabelService)), ( __param(5, IFilesConfigurationService)), ( __param(6, ITextResourceConfigurationService)), ( __param(7, ICustomEditorLabelService))], PerfviewInput));
|