Skip to content

Commit bd2ec9f

Browse files
authored
use .cpuprofile.json suffix (microsoft#201219)
1 parent 48a9149 commit bd2ec9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class RendererProfiling {
106106

107107

108108
private async _store(profile: IV8Profile, sessionId: string): Promise<void> {
109-
const path = joinPath(this._environmentService.tmpDir, `renderer-${Math.random().toString(16).slice(2, 8)}.json`);
109+
const path = joinPath(this._environmentService.tmpDir, `renderer-${Math.random().toString(16).slice(2, 8)}.cpuprofile.json`);
110110
await this._fileService.writeFile(path, VSBuffer.fromString(JSON.stringify(profile)));
111111
this._logService.info(`[perf] stored profile to DISK '${path}'`, sessionId);
112112
}

0 commit comments

Comments
 (0)