LL perf (UI): Chat history #369
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#369
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From the LL-origin inefficiency audit (finding U13). File/line references are from commit
0229f8872c; re-locate them before working.Chat history
inspector_info_ctrl.xmlper header (llchathistory.cpp:144-149, 626, 1261-1269).max_length="2147483647"(widgets/chat_history.xml:13), so it never trims.updateRectsplusupdateLayoutover all segments (lltextbase.cpp:1974-1982, 4247-4251), i.e. O(N²) per session.LLIMSession::mMsgs(llimview.cpp:1079).Verify the cost (profile or timer) before and after changing it.
Pushed to main at
07c8a3ac73. Windowed chat history: 250-message window with infinite scroll, log paging, find across the whole conversation, pooled headers. A crash after Find (a pooled header's avatar icon registered under a null ID) is fixed. To test: scroll back, Find, live messages while scrolled up, timestamps / compact toggles.Shipped in a published release and tested; closing (testing-lane sweep 2026-10-11).