mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
Do not touch the perf marks names
This commit is contained in:
@@ -463,22 +463,7 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
|
||||
|
||||
private _activateAllStartupFinished(): void {
|
||||
// startup is considered finished
|
||||
const marks = performance.getMarks().map((entry) => {
|
||||
if (entry.name.startsWith('fork/')) {
|
||||
return {
|
||||
name: `extHost/` + entry.name.substr('fork/'.length),
|
||||
startTime: entry.startTime
|
||||
};
|
||||
}
|
||||
if (entry.name.startsWith('code/')) {
|
||||
return {
|
||||
name: `extHost/` + entry.name.substr('code/'.length),
|
||||
startTime: entry.startTime
|
||||
};
|
||||
}
|
||||
return entry;
|
||||
});
|
||||
this._mainThreadExtensionsProxy.$setPerformanceMarks(marks);
|
||||
this._mainThreadExtensionsProxy.$setPerformanceMarks(performance.getMarks());
|
||||
|
||||
for (const desc of this._registry.getAllExtensionDescriptions()) {
|
||||
if (desc.activationEvents) {
|
||||
|
||||
Reference in New Issue
Block a user