LL perf (UI): Each new IM session builds its full floater plus a sync loadHistory on its first message, even if never viewed #371

Closed
opened 2026-10-04 14:09:31 +00:00 by sky_line · 2 comments
Owner

From the LL-origin inefficiency audit (finding U15). File/line references are from commit 0229f8872c; re-locate them before working.

Each new IM session builds its full floater plus a sync loadHistory on its first message, even if never viewed

  • Where: llfloaterimsessiontab.cpp:189-227; llfloaterimcontainer.cpp:143-160.
  • Confirmed. M.

Verify the cost (profile or timer) before and after changing it.

From the LL-origin inefficiency audit (finding U15). File/line references are from commit 0229f8872c; re-locate them before working. **Each new IM session builds its full floater plus a sync `loadHistory` on its first message, even if never viewed** - **Where:** `llfloaterimsessiontab.cpp:189-227`; `llfloaterimcontainer.cpp:143-160`. - Confirmed. M. Verify the cost (profile or timer) before and after changing it.
sky_line added this to the Slipstream project 2026-10-06 15:04:14 +00:00
Author
Owner

Pushed to main at 07c8a3ac73. Chat history is now read from disk in pages on a background thread, and IM floaters are built only when first opened. To test: IM storm with unopened floaters (toasts, unread counts), relog and restore open IMs.

Pushed to main at 07c8a3ac73. Chat history is now read from disk in pages on a background thread, and IM floaters are built only when first opened. To test: IM storm with unopened floaters (toasts, unread counts), relog and restore open IMs.
Author
Owner

Shipped in a published release and tested; closing (testing-lane sweep 2026-10-11).

Shipped in a published release and tested; closing (testing-lane sweep 2026-10-11).
sky_line 2026-10-11 13:25:03 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#371
No description provided.