diff --git a/skymp5-client/src/services/services/profilingService.ts b/skymp5-client/src/services/services/profilingService.ts index 9f2a9c320d..21967fe252 100644 --- a/skymp5-client/src/services/services/profilingService.ts +++ b/skymp5-client/src/services/services/profilingService.ts @@ -62,7 +62,8 @@ export class ProfilingService extends ClientListener { }); }); - fs.writeFileSync('./profile.cpuprofile', JSON.stringify(profile)); + const fileNameSuffix = Math.random().toString().replace(".0", ""); + fs.writeFileSync(`./profile${fileNameSuffix}.cpuprofile`, JSON.stringify(profile)); } private getInteger(value: unknown) {