From 9ba2fbdf954c75fd68915a1a36dbaab8c69ca20a Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 27 Oct 2022 14:56:42 +0200 Subject: [PATCH] fix name of profile tmp-file --- .../performance/electron-sandbox/rendererAutoProfiler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/performance/electron-sandbox/rendererAutoProfiler.ts b/src/vs/workbench/contrib/performance/electron-sandbox/rendererAutoProfiler.ts index d603e837ee364..85120e038274d 100644 --- a/src/vs/workbench/contrib/performance/electron-sandbox/rendererAutoProfiler.ts +++ b/src/vs/workbench/contrib/performance/electron-sandbox/rendererAutoProfiler.ts @@ -106,7 +106,7 @@ export class RendererProfiling { private async _store(profile: IV8Profile, sessionId: string): Promise { - const path = joinPath(this._environmentService.tmpDir, `exthost-${Math.random().toString(16).slice(2, 8)}.cpuprofile`); + const path = joinPath(this._environmentService.tmpDir, `renderer-${Math.random().toString(16).slice(2, 8)}.cpuprofile`); await this._fileService.writeFile(path, VSBuffer.fromString(JSON.stringify(profile))); this._logService.info(`[perf] stored profile to DISK '${path}'`, sessionId); }