History

Reduce desktop perf scripted workload for CI stability

Cursor Agent committed 9 months ago

Commit 003cbd91 parent 8bd17f81 file · +2 −2Browse files

Unified · Split

apps/desktop/src/desktopPerfAutomation.ts+2−2
@@ -251,7 +251,7 @@ function resolvePerfSeed(): ResolvedPerfSeed { · 250 unmodified lines
251251 source: "file",
252252 resolvedPath,
253253 state: parsed,
254− benchmarkThreads: pickBenchmarkThreads(stats, true),
254+ benchmarkThreads: pickBenchmarkThreads(stats, false),
255255 };
256256 }
257257
@@ -654,7 +654,7 @@ async function runRendererPerfInteractions( · 396 unmodified lines
654654 };
655655 });
656656
657− const clickCount = Math.min(8, threadButtons.length);
657+ const clickCount = Math.min(4, threadButtons.length);
658658 for (let index = 0; index < clickCount; index += 1) {
659659 clickElement(threadButtons[index]);
660660 await sleep(80);