Menghuan1918
427552e4f9
perf: cut the boot and poll overhead (one settings fetch, one git process per tick, one fold per poll)
...
Boot: loadPrefs and loadExternalDisable each fetched the settings
document, serially, before the first paint — and the second had no
timeout, so a stalled wire kept the sidebar unmounted forever. Both
decisions now ride ONE fetch (loadBootDecision) under the existing
2s race.
GitLens: the 2s silent poll re-listed worktrees on every tick (a
second git process per tick for a list that almost never changes, and
a fresh worktrees array re-render each time). Silent ticks now fetch
only the selected checkout's status; every 15th tick (~30s) re-lists
and re-runs auto-selection, so an agent-created linked checkout is
still picked up mid-session.
ChangesTab: extractFileOps parses every accumulated tool/call (up to
4000 events); the poll ran it once for the badge and the render ran
it AGAIN per tick, and the fresh array defeated the downstream memo.
The fold now runs once per poll and its result rides a ref shared by
badge and render (reset on session switch).
2026-09-01 15:58:44 +08:00
..
2026-09-01 15:58:44 +08:00
2026-08-18 20:29:14 +08:00
2026-08-16 22:32:17 +08:00
2026-08-27 21:44:04 +08:00
2026-08-10 21:43:58 +08:00
2026-08-26 18:33:52 +08:00
2026-08-15 00:28:59 +08:00
2026-08-24 16:41:02 +08:00
2026-08-21 23:49:13 +08:00
2026-08-12 18:27:28 +08:00
2026-08-20 02:09:36 +08:00
2026-08-11 19:28:48 +08:00
2026-08-11 19:28:48 +08:00
2026-08-31 17:52:59 +08:00
2026-08-18 01:22:28 +08:00
2026-08-31 01:31:22 +08:00
2026-08-31 17:52:59 +08:00
2026-08-18 01:22:28 +08:00
2026-08-30 23:42:16 +08:00
2026-08-14 21:28:41 +08:00
2026-08-21 01:28:17 +08:00
2026-08-31 01:31:22 +08:00
2026-08-31 01:31:22 +08:00
2026-09-01 15:02:28 +08:00
2026-08-24 18:40:04 +08:00
2026-08-11 11:16:36 +08:00
2026-08-24 18:40:04 +08:00
2026-08-29 15:49:19 +08:00
2026-08-29 15:49:19 +08:00
2026-08-29 15:49:19 +08:00
2026-08-18 18:05:01 +08:00
2026-08-22 22:50:13 +08:00
2026-08-24 17:54:33 +08:00
2026-08-23 10:28:05 +08:00
2026-08-23 02:50:37 +08:00
2026-08-16 23:35:57 +08:00
2026-08-16 23:35:57 +08:00
2026-08-22 23:11:27 +08:00
2026-08-31 01:31:22 +08:00
2026-08-24 14:18:18 +08:00
2026-08-31 01:31:22 +08:00
2026-08-16 23:35:57 +08:00
2026-08-12 01:16:20 +08:00
2026-08-24 17:54:33 +08:00
2026-08-13 09:06:55 +08:00
2026-08-21 23:41:33 +08:00
2026-08-21 23:41:33 +08:00
2026-08-14 22:30:34 +08:00
2026-08-15 15:05:06 +08:00
2026-08-31 01:31:22 +08:00
2026-08-30 23:42:16 +08:00
2026-08-13 10:26:57 +08:00
2026-08-24 12:05:14 +08:00
2026-08-24 12:05:14 +08:00
2026-08-23 22:02:47 +08:00
2026-08-24 18:40:04 +08:00
2026-08-30 23:42:16 +08:00
2026-08-24 12:05:14 +08:00
2026-08-18 01:22:28 +08:00
2026-08-23 01:50:07 +08:00
2026-08-18 01:22:28 +08:00
2026-08-22 23:19:17 +08:00
2026-08-14 14:53:03 +08:00
2026-08-22 23:19:17 +08:00
2026-08-22 23:19:17 +08:00
2026-08-24 01:39:53 +08:00
2026-08-11 11:22:28 +08:00
2026-08-16 23:35:57 +08:00
2026-08-26 21:40:32 +08:00
2026-08-16 23:35:57 +08:00
2026-08-14 23:04:25 +08:00
2026-08-31 17:52:59 +08:00
2026-09-01 15:58:44 +08:00
2026-08-16 23:06:44 +08:00
2026-08-21 00:48:16 +08:00
2026-08-18 19:56:04 +08:00
2026-08-24 18:40:04 +08:00
2026-08-13 01:39:59 +08:00
2026-08-23 23:44:18 +08:00
2026-08-16 16:24:28 +08:00
2026-08-21 01:28:17 +08:00
2026-08-20 02:09:36 +08:00
2026-08-24 01:19:43 +08:00
2026-08-24 16:41:02 +08:00
2026-08-22 00:15:06 +08:00
2026-08-22 15:34:05 +08:00
2026-08-30 22:38:09 +08:00
2026-08-21 15:41:14 +08:00
2026-08-31 23:28:20 +08:00
2026-08-31 23:28:20 +08:00
2026-08-31 17:52:59 +08:00
2026-08-26 18:27:32 +08:00
2026-08-21 18:15:49 +08:00
2026-08-22 15:34:05 +08:00
2026-08-21 18:15:49 +08:00
2026-08-13 09:06:55 +08:00
2026-08-21 18:15:49 +08:00
2026-08-21 18:15:49 +08:00
2026-08-26 18:42:34 +08:00
2026-08-23 23:44:18 +08:00
2026-08-23 23:44:18 +08:00
2026-08-26 21:40:32 +08:00
2026-08-17 00:06:20 +08:00
2026-08-24 18:40:04 +08:00
2026-08-27 21:44:32 +08:00
2026-08-16 16:37:11 +08:00
2026-08-21 01:28:17 +08:00
2026-08-27 21:44:04 +08:00
2026-08-18 23:23:17 +08:00
2026-08-24 01:36:29 +08:00
2026-08-20 18:28:57 +08:00
2026-08-21 01:28:17 +08:00