Measure first: a big meeting, a perf spec and a desktop memory run #252
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!252
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-225-measure"
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 #225
Measuring for 0.6 (D-057), not part of the normal e2e run:
tools/perf.sh LABEL: the perf seed (NEOKOM_SEED_PERF=1) on a lyskomd kept in memory (LYSKOM_TMPFS=1; lyskomd fsyncs each new text), 30 ms each way between relay and server (forward.py --delay), thene2e/perf/perf.spec.tsin Chromium. Numbers ine2e/perf-results/LABEL.json;tools/perf-table.py A Bcompares.tools/desktop-perf.sh LABEL: the release desktop app under Xvfb, RSS of the app and its WebKit processes over 300 posts, idle CPU.window.__neokomMemory(wasm memory) andwindow.__neokomCalls()(calls sent by the session).Baseline (web, desktop Chromium, main at 2026-10-21):
Desktop baseline: RSS 391 MB at start (WebKitGTK, software rendering), 401 MB after login, 406 MB after 300 posts (flat); 0.04 s CPU in 20 s idle.
Found while building this, and filed: #250 (Inkorg/Alla kanaler/Nytt inlägg covered by a channel's posts or a profile), #251 (reading a thread walks it all from the root: 12.5 s steps), #249 (two flaky specs), and a correction on #237 (the inbox reads only the newest 200 texts: 2.5 s, 213 calls).
Verified: lint four ways (incl. kom-seed); the perf spec passes end to end; normal e2e changes are opt-in (latency, PERF_SPEC/PERF_LABEL), so CI's run covers the rest.
🤖 Generated with Claude Code
https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8