Every new post anywhere is downloaded in full, pictures included #240
Labels
No labels
area/ci
area/desktop
area/packaging
area/protocol
area/reading
area/ui
area/web
area/writing
kind/bug
kind/feature
kind/infra
kind/request
needs/user
parked
perf
security
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
littlefox/neokom#240
Loading…
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?
Found in the performance review (#230, D-058).
events.rsnotify_new_textruns for every new text in every conference we are a member of. For each one it fetches:kom.preview: the whole body, pictures included, plus aget-text-statfor every link and name lookups;The preview is fetched before checking whether any notification kind is turned on, because "Nämner dig" (#217) needs to know about mentions. So on a busy server, every post in every channel you are in is downloaded in full as it is written, whether or not you will ever read it, and whatever the notification settings.
Directions:
<person N:or the person's name in the body only (kom.body), without building a view.Merged in #260; main run #429 green. Verified: notifications, mentions, messages, side-column, presence and inbox specs on three profiles;
tools/perf.shwith a burst of 20 new posts (10 pictures) from another session: server calls 97 → 19, main-thread time 0.22 → 0.05 s.