The repository table: the cost of building a row, and pages that are rebuilt when switching accounts #194

Open
opened 2026-11-11 05:58:43 +00:00 by james.maes · 0 comments
Owner

Carried over from 1.1.1 (#167, #168).

Building one row of the repository table takes about 20 ms. With progress batched (1.1.1) the window stays responsive, but rows that move while a sync runs still cause short hitches (up to about a third of a second in the worst case measured, 281 repositories). Switching between account pages rebuilds the page.

  • Find what makes a row expensive (the TableView's cell templates) and make it cheaper, or move fewer rows.
  • Keep workspace pages alive when switching, if memory allows.
Carried over from 1.1.1 (#167, #168). Building one row of the repository table takes about 20 ms. With progress batched (1.1.1) the window stays responsive, but rows that move while a sync runs still cause short hitches (up to about a third of a second in the worst case measured, 281 repositories). Switching between account pages rebuilds the page. - Find what makes a row expensive (the TableView's cell templates) and make it cheaper, or move fewer rows. - Keep workspace pages alive when switching, if memory allows.
james.maes added the deferredenhancement labels 2026-11-11 05:58:43 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/gclo#194