Skip to content

Commit e8ae985

Browse files
authored
starting timings (perf machine) shouldn't complain about missing cached data (microsoft#165342)
1 parent b3523bc commit e8ae985

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/vs/workbench/contrib/performance/electron-sandbox/startupTimings.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ import { IUpdateService } from 'vs/platform/update/common/update';
1515
import { INativeHostService } from 'vs/platform/native/electron-sandbox/native';
1616
import * as files from 'vs/workbench/contrib/files/common/files';
1717
import { IEditorService } from 'vs/workbench/services/editor/common/editorService';
18-
import { didUseCachedData } from 'vs/workbench/services/timer/electron-sandbox/timerService';
1918
import { ITimerService } from 'vs/workbench/services/timer/browser/timerService';
2019
import { IFileService } from 'vs/platform/files/common/files';
2120
import { URI } from 'vs/base/common/uri';
2221
import { VSBuffer } from 'vs/base/common/buffer';
2322
import { IWorkspaceTrustManagementService } from 'vs/platform/workspace/common/workspaceTrust';
24-
import { IStorageService } from 'vs/platform/storage/common/storage';
2523
import { IPaneCompositePartService } from 'vs/workbench/services/panecomposite/browser/panecomposite';
2624
import { ViewContainerLocation } from 'vs/workbench/common/views';
2725

@@ -39,7 +37,6 @@ export class StartupTimings implements IWorkbenchContribution {
3937
@INativeWorkbenchEnvironmentService private readonly _environmentService: INativeWorkbenchEnvironmentService,
4038
@IProductService private readonly _productService: IProductService,
4139
@IWorkspaceTrustManagementService private readonly _workspaceTrustService: IWorkspaceTrustManagementService,
42-
@IStorageService private readonly _storageService: IStorageService
4340
) {
4441
this._report().catch(onUnexpectedError);
4542
}
@@ -110,10 +107,6 @@ export class StartupTimings implements IWorkbenchContribution {
110107
if (activePanel) {
111108
return 'Current active panel : ' + this._paneCompositeService.getPaneComposite(activePanel.getId(), ViewContainerLocation.Panel)?.name;
112109
}
113-
const noCachedData = this._environmentService.args['no-cached-data'];
114-
if (!noCachedData && !didUseCachedData(this._productService, this._storageService, this._environmentService)) {
115-
return 'Either cache data is rejected or not created';
116-
}
117110
if (!await this._updateService.isLatestVersion()) {
118111
return 'Not on latest version, updates available';
119112
}

0 commit comments

Comments
 (0)