@codingame/monaco-vscode-performance-service-override 24.3.0 → 25.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-performance-service-override",
3
- "version": "24.3.0",
3
+ "version": "25.0.1",
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": "24.3.0"
18
+ "@codingame/monaco-vscode-api": "25.0.1"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -19,7 +19,7 @@ let InputLatencyContrib = class InputLatencyContrib extends Disposable {
19
19
  this._logSamples();
20
20
  this._setupListener();
21
21
  }, 60000)));
22
- if (Math.random() <= 0.01) {
22
+ if (Math.random() <= 0.01 || this._configurationService.getValue('editor.experimentalGpuAcceleration') === 'on') {
23
23
  this._setupListener();
24
24
  }
25
25
  }
@@ -32,7 +32,7 @@ registerAction2(class extends Action2 {
32
32
  constructor() {
33
33
  super({
34
34
  id: 'perfview.show',
35
- title: ( localize2(9799, 'Startup Performance')),
35
+ title: ( localize2(9829, '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(9800, 'Print Service Cycles')),
50
+ title: ( localize2(9830, '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(9801, 'Print Service Traces')),
72
+ title: ( localize2(9831, '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(9802, 'Print Emitter Profiles')),
91
+ title: ( localize2(9832, 'Print Emitter Profiles')),
92
92
  category: Categories.Developer,
93
93
  f1: true
94
94
  });
@@ -63,7 +63,7 @@ let PerfviewInput = class PerfviewInput extends TextResourceEditorInput {
63
63
  return PerfviewInput_1.Id;
64
64
  }
65
65
  constructor(textModelResolverService, textFileService, editorService, fileService, labelService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService) {
66
- super(PerfviewContrib.get().getInputUri(), ( localize(9803, "Startup Performance")), undefined, undefined, undefined, textModelResolverService, textFileService, editorService, fileService, labelService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService);
66
+ super(PerfviewContrib.get().getInputUri(), ( localize(9833, "Startup Performance")), undefined, undefined, undefined, textModelResolverService, textFileService, editorService, fileService, labelService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService);
67
67
  }
68
68
  };
69
69
  PerfviewInput = PerfviewInput_1 = ( __decorate([