Skip to content

Commit 2f88e15

Browse files
authored
fix name of profile tmp-file (microsoft#164805)
1 parent 37f16a8 commit 2f88e15

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, `exthost-${Math.random().toString(16).slice(2, 8)}.cpuprofile`);
109+
const path = joinPath(this._environmentService.tmpDir, `renderer-${Math.random().toString(16).slice(2, 8)}.cpuprofile`);
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)