Channel list at login: counts six at a time, read ranges in one call #262
No reviewers
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!262
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-238-channel-list"
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?
Closes #238
get-membershipat login brings every membership's read ranges (want-read-ranges), so counting needs noquery-read-textsper channel.local-to-global255 texts a call (the protocol's most), not 100.Kom::overviewcounts six channels at a time, not one after the other.Kom::conf_names: the channel list's names 16 at a time.Measured with
tools/perf.sh(300 channels plus Stort möte and the mailbox, 30 ms each way):Left of #238: the list is still rebuilt after each batch of marks (it costs no calls now; #254 batches the marks). Drawing only changed rows comes with the list work in #236.
Verified: devserver tests (15), full e2e on three profiles 332 passed, lint four ways.
🤖 Generated with Claude Code
https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8