提交 311fa7e8 编写于 作者: J Johannes Rieken

debt - don't send startup times twice

上级 63c71c6b
......@@ -41,11 +41,11 @@ export class StartupTimings implements IWorkbenchContribution {
private async _report() {
const isStandardStartup = await this._isStandardStartup();
this._reportStartupTimes(isStandardStartup).catch(onUnexpectedError);
this._reportStartupTimes().catch(onUnexpectedError);
this._appendStartupTimes(isStandardStartup).catch(onUnexpectedError);
}
private async _reportStartupTimes(isStandardStartup: boolean): Promise<void> {
private async _reportStartupTimes(): Promise<void> {
const metrics = await this._timerService.startupMetrics;
/* __GDPR__
......@@ -56,15 +56,6 @@ export class StartupTimings implements IWorkbenchContribution {
}
*/
this._telemetryService.publicLog('startupTimeVaried', metrics);
/* __GDPR__
"startupTime" : {
"${include}": [
"${IStartupMetrics}"
]
}
*/
this._telemetryService.publicLog('startupTime', metrics);
}
private async _appendStartupTimes(isStandardStartup: boolean) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册