From bd2ec9f549ca5f883263165f7fb8b3b34993f5ae Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Tue, 19 Dec 2023 16:56:12 +0100 Subject: [PATCH] use `.cpuprofile.json` suffix (#201219) --- .../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 39a5ffc2dad..18f0addea7d 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, `renderer-${Math.random().toString(16).slice(2, 8)}.json`); + const path = joinPath(this._environmentService.tmpDir, `renderer-${Math.random().toString(16).slice(2, 8)}.cpuprofile.json`); await this._fileService.writeFile(path, VSBuffer.fromString(JSON.stringify(profile))); this._logService.info(`[perf] stored profile to DISK '${path}'`, sessionId); }