LL perf (Textures/assets): Asset storage: duplicate cache probes, main-thread disk round trip, linear lists #302
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.
Blocks
Reference
sky_line/Slipstream#302
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 T6). File/line references are from commit
0229f8872c; re-locate them before working.Asset storage: duplicate cache probes, main-thread disk round trip, linear lists
getExists, the constructor andgetSizerun twice back to back (llassetstorage.cpp:522-530).llviewerassetstorage.cpp:550-569). The consumer then reads it back from disk.mPendingDownloadsis astd::listscanned per request and per completion (:556, 595, 652).checkForTimeoutswalks all request lists twice per frame: once fromprocessAcks(message.cpp:757-767) and once fromidleNetwork(llappviewer.cpp:9750-9751).unordered_multimapkeyed by (uuid, type).Verify the cost (profile or timer) before and after changing it.
Part of #405 (RAM/VRAM management epic).
Shipped in a published release and tested; closing (testing-lane sweep 2026-10-11).