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
251 source: "file",251 source: "file",
252 resolvedPath,252 resolvedPath,
253 state: parsed,253 state: parsed,
254 benchmarkThreads: pickBenchmarkThreads(stats, true),254 benchmarkThreads: pickBenchmarkThreads(stats, false),
255 };255 };
256}256}
257 257
@@ -654,7 +654,7 @@ async function runRendererPerfInteractions( · 396 unmodified lines
654 };654 };
655 });655 });
656 656
657 const clickCount = Math.min(8, threadButtons.length);657 const clickCount = Math.min(4, threadButtons.length);
658 for (let index = 0; index < clickCount; index += 1) {658 for (let index = 0; index < clickCount; index += 1) {
659 clickElement(threadButtons[index]);659 clickElement(threadButtons[index]);
660 await sleep(80);660 await sleep(80);