Skip to content

The agent that grows with you

perf(desktop): let the hidden link-title window throttle

Brooklyn Nicholsonbe7c4b8fe744
diff --git a/apps/desktop/electron/link-title-window.ts b/apps/desktop/electron/link-title-window.ts
index 0920976a528..226ac3ce60e 100644
--- a/apps/desktop/electron/link-title-window.ts
+++ b/apps/desktop/electron/link-title-window.ts
@@ -9,7 +9,13 @@ export function linkTitleWindowOptions(partitionSession) {
width: 1280,
height: 800,
webPreferences: {
- backgroundThrottling: false,
+ // Deliberately throttled: this hidden window loads arbitrary user-linked
+ // pages, and an unthrottled heavy page burns full CPU for the window's
+ // whole lifetime. Title resolution rides load events
+ // (page-title-updated / did-finish-load) plus main-process timers, none
+ // of which the renderer clamp touches — hidden-page throttling only
+ // slows the page's own timer-driven JS, and the grace window already
+ // absorbs that.
contextIsolation: true,
javascript: true,
nodeIntegration: false,