Thread view: fetch only the stats it will use when walking down #312
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!312
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-311-fetch-after-burst"
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 #311
The thread view's walk down asked for the stats and subject lines of the next 200 texts in one go, about 400 calls. On a slow CPU that took up a whole reading step; the perf budgets on #303 caught steps of 434 and 633 ms on CI. Now the view asks for stats only, and only as many as its 100-text cap leaves room for. The thread index still asks for 200 texts with their subject lines.
PERF_CPU=4 tools/perf.sh LABELslows the browser's CPU 4× to reproduce CI's runners locally.🤖 Generated with Claude Code
https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8