From 91fb3a5a11a4a01e8c38677b4884b80cccaeefe4 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 17 Feb 2026 05:45:04 +0000 Subject: [PATCH] Trim perf interaction intensity to reduce CI dispatch spikes Co-authored-by: Julius Marminge --- apps/desktop/src/desktopPerfAutomation.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/desktop/src/desktopPerfAutomation.ts b/apps/desktop/src/desktopPerfAutomation.ts index 0880de8a93..520e8dc7ed 100644 --- a/apps/desktop/src/desktopPerfAutomation.ts +++ b/apps/desktop/src/desktopPerfAutomation.ts @@ -251,7 +251,7 @@ function resolvePerfSeed(): ResolvedPerfSeed { source: "file", resolvedPath, state: parsed, - benchmarkThreads: pickBenchmarkThreads(stats, false), + benchmarkThreads: pickBenchmarkThreads(stats, false).slice(0, 1), }; } @@ -654,7 +654,7 @@ async function runRendererPerfInteractions( }; }); - const clickCount = Math.min(4, threadButtons.length); + const clickCount = Math.min(1, threadButtons.length); for (let index = 0; index < clickCount; index += 1) { clickElement(threadButtons[index]); await sleep(80); @@ -705,7 +705,7 @@ async function runRendererPerfInteractions( ); const setValue = valueDescriptor?.set; must(typeof setValue === "function", "Textarea value setter unavailable."); - const inputText = "Benchmarking typing and selector workflows in desktop mode."; + const inputText = "Perf typing check."; for (const character of inputText) { textarea.dispatchEvent(