LL perf (UI): Every chat/IM line appended synchronously #367

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

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

Every chat/IM line appended synchronously

  • Where: lllogchat.cpp:267-300, 380-441; callers llimview.cpp:1725, llfloaterimnearbychat.cpp:754-767.
  • Per line: 2 regexes for the filename, LLSD build, open/append/close on the main thread.
  • Fix: cache the filename per session; buffered writer thread.
  • Confirmed. M.

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

From the LL-origin inefficiency audit (finding U11). File/line references are from commit 0229f8872c; re-locate them before working. **Every chat/IM line appended synchronously** - **Where:** `lllogchat.cpp:267-300, 380-441`; callers `llimview.cpp:1725`, `llfloaterimnearbychat.cpp:754-767`. - **Per line:** 2 regexes for the filename, LLSD build, open/append/close on the main thread. - **Fix:** cache the filename per session; buffered writer thread. - 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:13 +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#367
No description provided.