Perf harness: large-Home fixtures, edit storms, perf-VM gate #44
Closed
opened 2026-10-13 18:29:47 +00:00 by kayg
·
12 comments
No Branch/Tag specified
main
port/tasks-float-2
fix/train-1116-2
fix/train-1116-3
fix/train-1116-1
fix/flake-1134
fix/server-1182
dev
port/notes-float-3c
docs/auto-update-ig
feat/dav-transport
port/tasks-float-1
wip/mail1011-sv-order-1116
fix/flake-1179
fix/flake-1178
fix/guards-1153-fsio-split
fix/guards-1153-notes-split-we
fix/guards-1153-notes-lib
fix/guards-1153-notes-home
fix/guards-1153-ui-primitives
fix/guards-1153-primitives-e2e
fix/guards-1153-visibility-doc
feat/paper-grey-1116
fix/flake-1165
fix/flake-1119
docs/imap-766-plan-v2
fix/e2e-unique-ports
t3/paged-search-reconcile-final
wip/mail1011-final-1115
docs/tasks-float-port
perf/editor-first-paint-1c
feat/imap-notes-fetch
feat/imap-notes-projection
feat/imap-notes-readonly
feat/imap-notes-auth
feat/imap-notes-server-foundation
wip/mail1011-txn-ownvocab-1115
wip/mail1011-txn-novocab-1115
perf/p1117-final-harness
perf/single-shot-repeats
port/tasks-matrix
wip/mail1011-txn-1115
fix/static-gates-1155
feat/files-s1-identity-r7
fix/files-r7-idle-loop
fix/daily-train-1152
port/notes-float
fix/editor-tables-test-types
port/notes-float-listscript
feat/tasks-actions
port/notes-float-phone-preload
perf/sound-comparator
port/notes-float-listscroll
port/notes-float-budgets
port/notes-float-suite-fix-b
port/notes-float-sidebar-fix
port/notes-float-trim
port/notes-float-3-lists
fix/attachments-meta-capability
docs/carddav-writes-v2-plan
feat/contacts-companion-pure
issue/carddav-read-perf-fix-r2
issue/carddav-read-r2
port/notes-float-devsync2
review/calendar-2
review/switcher-a-pills
port/notes-float-switcher-a
port/port-tables-2
review/switcher-ends
wip/whiteboard-s1-1114
port/port-tables
wip/mail1011-perfneutral
review/photo-tint
port/notes-float-shell
wip/local/collections-db
wip/local/mail-p1
wip/local/cold-growth-on-tiering
wip/local/tiering-v3-s1
wip/local/wal1051-cap
wip/local/tiering-v3-s1-resume
wip/local/index-position-startup-scan
port/notes-float-flat
port/notes-float-promote
wip/handover/mail1011-candidate
wip/handover/files-s1-candidate
port/notes-float-shell-only
port/notes-float-perf
feat/whiteboard-s1
feat/tiering-v5
fix/app-switch-hitch
wip/local/files-s1-dev-v4-final
feat/files-s1-dev-v4
fix/c2-glass-shared
feat/flat-lists
wip/handover/whiteboard-s1-resume
wip/att-lazy-861
feat/switcher-browse
wip/att-lazy-860
feat/tasks-float
recovered/flat-backup-candidate
perf/stalls-1054-kc
land/ai-toolbar
feat/collections-db
feat/collections-db-fixes
codex/mail-1011-redesign-20261111
fix/ai-toolbar
backup/macos-vm/st3-head
perf/trim-candidate-phonestack
feat/switcher-three
fix/1051-index-idle-checkpoint
perf/stalls-1054-kb
perf/stalls-1054-k
perf/stalls-1054-r3
fix/c2-contrast-tail
perf/stalls-1054-r3-preview
feat/collections-before
feat/tiering-v4
fix/timelog-caret
wip/local/tasks-actions
docs/tasks-writes-v2-plan
st3-r3
feat/pass8
review/calendar-2-before-1111
wip/tiering-v3-cold4
perf/stalls-1054-r2
fix/suite-A4
fix/suite-A5-probe
fix/suite-A6
fix/suite-A3
fix/suite-A2
fix/suite-A5
fix/suite-A1
wip/local/attachments-861-fix
feat/contrast
wip/local/ports-861
storage/wal-checkpoint-off-save-1051
wip/local/mail-1011-reconcile-20261110
feat/style-sheet-fixes
feat/money-round
perf/stalls-1054
wip/tiering-v3-cold5
t3/mail-1011-liveness
feat/iphone-fixes
feat/notes-approve
wip/local/shrow-work
feat/files-s1-identity
feat/quickfix
wip/tiering-v3-cold
wip/local/shared-row-swipes
backup/macos-vm/pfx-B
backup/macos-vm/pfx-C
backup/macos-vm/pfx-D
feat/contrast-r1
feat/tiering-v3-s2-tags
feat/folder-drop
t3/photos-s1
feat/tiering-v3-s1-namespace
wip/local/photos-s1
t3/photos-plan-slice-one
recovered/backup/p1b-61505
t3/paged-search-reconcile
t3/smooth-pane-transitions
t3/index-position-startup-scan
fix/private-staging-759b-r2
backup/macos-vm/hk/hk1009/pr877
backup/macos-vm/hk/hk1009/pr878
docs/undo-block-ids-plan
fix/undo-768
backup/macos-vm/hk/hk1009/pr875
backup/macos-vm/hk/hk1009/pr904
proto/block-identity-v7d
backup/macos-vm/hk/hk1009/pr846
backup/macos-vm/hk/hk1009/pr860
backup/macos-vm/hk/hk1009/pr861
backup/macos-vm/hk/hk1009/pr849
backup/macos-vm/hk/hk1009/pr848
backup/macos-vm/hk/hk1009/pr853
backup/macos-vm/hk/hk1009/pr957
backup/macos-vm/hk/hk1009/pr893
backup/macos-vm/hk/hk1009/pr889
backup/macos-vm/hk/hk1009/pr902
docs/imap-notes-plan
docs/quota-plan-2
fix/parallel-test-flakes
docs/calendar-backend-v2-plan
feat/calendar-ical-converter
backup/macos-vm/hk/hk1009/pr808
docs/contacts-import-v2-plan
issue/610-pm-midnight
feat/calendar-v2-s1-containment
backup/macos-vm/hk/hk1009/pr854
backup/macos-vm/hk/hk1009/pr845
backup/macos-vm/hk/hk1009/pr917
docs/dav-recorder-v2-plan
plan/previews-865
plan/save-log-durable-entry
backup/macos-vm/hk/hk1009/pr934
fix/e2e-data-on-ram
backup/macos-vm/hk/hk1009/pr888
feat/appwindow3
feat/appwindow2
feat/appwindow
feat/money-p1
feat/keys-sheet
review/calendar-2-themes
feat/smooth-cursor
fix/float-style
review/calendar-2-float
release/2026-11-06-hotfix
archive/port/rows-drop-code
archive/port/rows-actions
archive/port/rows
scratch/tasks-894-ui-gates
review/calendar-2-night-wip
recovered/flaky/toast-reduced
release/2026-11-05
archive/flaky/rows-drop-fixed
archive/flaky/rows-actions
archive/flaky/rows
sim/bm15-final
sim/bm15-bis-932
sim/bm15-bis-909
sim/bm15
sim/bm15-bis-887
perf/tiering-option-b
fix/sw-lazy-precache
archive/plan/save-log-durable-entry
mock/money-fix2
archive/fix/e2e-data-on-ram
mock/appearance-all
mock/pill-press
mock/pill-press-mac
backup/macos-vm/appearance-after
mock/auto-swipes
mock/mail-actions
backup/macos-vm/mock/mail-actions
mock/money-static
archive/review/standards-917
perf/tiering-761-fix
mock/type-audit
mock/third-pane
feat/contacts-import-v2-s1
perf/executor-hot-path
archive/port/hidden-blocks
archive/port/devices
scratch/executor-on-894
scratch/executor-spans2
scratch/executor-spans
archive/port/rows-drop
feat/tiering-761-d-scale
feat/tiering-761-c-index
feat/tiering-761-b-reader
archive/review/sharing-pr3-review-9fec3d1f
perf/ports-lazy-budgets
feat/tiering-761-a-migration
archive/review/sharing-pr3-review
archive/review/sharing-pr3-review-code
archive/plan/previews-865
archive/port/port-attachments-3
archive/port/contacts-merge
fix/motion-audit-859
fix/motion-audit-859-mac
archive/port/port-pickers
archive/port/port-tables-2
archive/port/port-tables
recovered/local/sharing-s1-pr2-room-snapshot-candidate
archive/fix/parallel-test-flakes-code-minipc01
docs/imap-766-readonly-slice
feat/dav-recorder-v3
research/788-diagnosis
archive/fix/parallel-test-flakes
archive/perf/pr792-cold-index-edit
docs/sharing-slice-1
recovered/feat/dav-recorder-v2
recovered/feat/dav-recorder-v2-edd7bbb
spike/imap-766-s0-cases
archive/fix/undo-768
recovered/feat/dav-recorder
recovered/feat/dav-recorder-901acd4
feat/contacts-import
perf/cold-growth-on-764
perf/cold-growth-on-tiering
recovered/feat/tasks-set-status
feat/tasks-move-reorder
feat/tasks-delete-promote-duplicate
feat/carddav-writes
perf/quota-on-tiering
perf/quota-simple
perf/cold-growth-on-quota-stack
recovered/perf/cold-growth-on-tiering
feat/calendar-identity
feat/calendar-event-parser
feat/calendar-props-maps
port/glass-when-ring
recovered/feat/tiering-761-s1-wip-8132a84
recovered/feat/tiering-761-s1-wip-9da4094
recovered/feat/tiering-761-s1-wip-724512c
recovered/feat/tiering-761-s1-wip-66e667e
recovered/feat/tiering-761-s1
wip/6by32-01-tier-761-s1-pause-20261030
spike/imap-766-s0
wip/6by32-02-calternal-pause-20261030
wip/8by64-01-review-688-pause-20261030
wip/6by32-01-verify-744-pause-20261030
wip/6by32-01-verify-742-pause-20261030
fix/private-staging-759b
wip/6by32-01-review-748-pause-20261030
wip/6by32-01-review-733c-pause-20261030
wip/6by32-01-review-733b-pause-20261030
review/calendar-month
wip/local/bm15-trash
plan/759b-staging
review/767b-tests
review/preview-2026-10-29
docs/tiering-731-plan
wip/c6b02-review-733d
wip/c6b02-bm1-full-a
docs/deploy-plan
fix/storage-owner-liveness-642
fix/storage-fix-7
feat/tiering-731
wip/tiering-731-first-attempt
perf/idle-honest-2
fix/storage-private-tmp-642-dev
fix/storage-exact-file-quarantine-642
perf/one-flush-save
review/calendar-static
review/indexing-ring
review/when-field-2
proto/block-identity-2-review
proto/block-identity-review
review/when-field
issue/tasks-create-ids
issue/tasks-create
review/combined
review/task-polish
review/top-buttons
review/q1-q5
archive/integ325-293
archive/integ325-ci
issue/calendar-adr
archive/old/train/2026-10-23bk2
archive/old/train/2026-10-23bk
issue/469-mockup-9a
issue/smart-tasks-mockup
issue/469-menus
issue/652-signout-flake
issue/652-history-fix7
issue/652-history-fix6
archive/old/issue/spring-check-perf
issue/spring-check-perf
issue/659-rename-fast
archive/old/train/2026-10-21ar
issue/search-hardening-3
issue/652-history-fix5
issue/660-port-sheets-glass
issue/652-history-fix4
issue/652-history-fix3
issue/652-history-fix2
issue/652-history-flake
train/2026-10-21an
issue/settings-admin-port
issue/search-port
train/2026-10-20am
issue/storage-split-fix2
issue/storage-split
archive/old/issue/folder-ids-fix
train/2026-10-20al
archive/old/issue/folder-ids
train/2026-10-20ak
issue/tables-mockup
train/2026-10-19aj
train/2026-10-19ai
issue/469-merge-fixes
issue/sidebar-band
archive/old/issue/608-settings-spec
train/2026-10-19ah
issue/swipe-offscreen
train/2026-10-19ag
archive/old/issue/590-nlp-adr
archive/old/issue/587-event-after-write-2
train/2026-10-19af
archive/old/issue/587-event-after-write
issue/469-pill-room-c
issue/469-pill-room
train/2026-10-19ae
issue/469-narrow-handle
issue/397-ios-swipe-2
issue/469-desk-fixes
archive/old/issue/auto-update-adr
issue/469-filter-gap
issue/469-port-1b
issue/442-opacity-flake
issue/327-web-fast-3
archive/old/issue/469-port-1
issue/469-port-1
issue/327-web-fast-2
archive/old/issue/327-web-fast
archive/old/issue/425-stt-bench-vq1
archive/old/issue/445-no-bleed
archive/old/issue/400-swipe-mockup-2
issue/426-client-review
issue/426-client-2
issue/426-client
archive/old/issue/476-safe-area-lab
archive/old/issue/445-top-light
issue/471-blocks-mockup
archive/old/issue/448-links-app-2
archive/old/issue/448-links-app
archive/old/issue/398-cold-links
issue/434-442-small-2
issue/434-442-small
archive/old/issue/398-unload
archive/old/issue/445-bottom-band
issue/445-bottom-band
issue/351-rem-3
issue/351-rem-2
issue/351-rem
archive/old/issue/327-first-note
issue/395-width-phone
archive/old/issue/327-typing
issue/396-ios-edges
issue/397-ios-swipe
archive/old/issue/327-notes-index
issue/345-347-contrast-empty-2
archive/old/issue/44-arenas
issue/44-arenas
archive/integ325
archive/old/issue/327-perf-harness
archive/old/issue/44-thp
issue/44-thp
archive/old/issue/285-sticky-pills
archive/old/issue/44-trim-3
issue/44-trim-3
archive/old/issue/165-cards
archive/old/issue/165-picker-2
archive/old/issue/212-multi-select
No results found.
Labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
kayg/calternal#44
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?
kayg: "always benchmark/check for performance with a lot of edits/lots of notes". Build the harness every feature is measured with.
First perf baseline (PR #49)
Perf VM 10.69.69.63: Linux 6.12, 4 vCPUs, 7.7 GB, ext4 on a non-rotational disk with no host cache; page cache dropped before every server start.
devat5e727fd+ the harness (release build). Fixtures seed 1. Warm metrics: 5 runs per size, each a fresh server; p50/p95 = median over runs of each run's p50/p95; noise = spread of the run p50s over their median. Cold (never-indexed Home): 5 runs at 1k and 10k, 1 at 100k (18 min). Ran after the #14 benchmark finished, nothing else running.startup.healthzcold.startupcold.first_listcold.indexcold.notes_per_scold.disk_writtencold.mem_peakhome.first_listhome.listjournal.catch_upjournal.entriesopen.noteopen.api_getopen.long_notesync.round_tripsync.save_ackstorm.save_ackstorm.edits_per_sstorm.typingstorm.convergestorm.disk_writtenstorm.outside_editsstorm.dropped_clientsmem.idlemem.after_listmem.after_opensmem.peakshutdownNoise is high on single-sample metrics (startup, long note: one sample per run) because every fsync and cold read on this disk is slow and jumpy; the latency distributions (200 to 10,000 samples per run) are steadier (round trip 27-77%, storm ack 19-32%).
What looks like a real problem
notes.changed(by: outside) for every note never opened.watch::changed_on_diskcompares the file hash with history'sbase_hash, which unopened notes don't have. Confirmed in the 10k journal: 50,164notes.changedafter 6 starts vs 10,000notes.created. At 100k: 100k file reads + 100k journal rows per restart (470k entries after 6 starts, catch-up 4-5 s), and it probably drives the 600 MB peak and the worse typing latency at 100k.ids.jsonlfsync + one journal write per note.synchronous = FULLhistory transaction and the room awaits it before the next message, so nothing is grouped. (#32)notes.list2.5 s, later ones 0.6 s (7 MB answer), 170 MB RSS after listing. Needs paging / background index load.Correctness: the storm (4 clients x 2,500 keystrokes with save checks, outside app rewriting the file every 500 ms, ~250 rewrites per run) never lost or doubled text in 15 runs, all copies converged in ~0.2 s (0.5 s at 100k), file == note after save, no client dropped.
Budgets proposed in
docs/perf/budgets.md/perf/budgets.json: gated limits just above today's numbers, targets (not gated yet) for the items above. The browser keystroke-to-paint number is still the existing@perfPlaywright test (perf/browser.sh); running it on a big fixture Home is the next step.Perf baseline on current
dev(PR #87, replaces #49)The numbers in my comment above are from
devat5e727fd. While they ran, #78 (batched startup scan, paged lists) and #83 (fan-out before the disk) landed and fixed four of the six problems listed there, so here is the baseline ondevate2f4928, which the budgets indocs/perf/budgets.mdare now set from.Same perf VM (4 vCPUs, 7.7 GB, ext4 on a non-rotational disk, no host cache), page cache dropped before every start, nothing else running. 5 warm runs (fresh server each) and 3 cold runs per size; p50/p95 = median over runs of each run's p50/p95; noise = spread of run p50s over their median.
startup.healthzcold.startupcold.first_listcold.indexcold.notes_per_scold.disk_writtencold.mem_peakhome.first_pagehome.pagehome.page_titlehome.page_taghome.page_nexthome.first_listhome.listjournal.catch_upjournal.entriesopen.noteopen.api_getopen.long_notesync.round_tripsync.save_ackstorm.save_ackstorm.edits_per_sstorm.typingstorm.convergestorm.disk_writtenstorm.outside_editsstorm.dropped_clientsmem.idlemem.after_listmem.after_opensmem.peakshutdownFixed on dev since the first baseline (the harness saw it)
5e727fde2f4928notes.changedjournaled per unopened note per startStill looks like a real problem
notes.listis 0.4-0.6 s at 100k (pages: 3-7 ms).Correctness: the storm (4 clients x 2,500 keystrokes with save checks, outside app rewriting the file every 500 ms) never lost or doubled text in any run on either commit, all copies converged in ~0.2 s, file == note after save, no client dropped. (Two storm failures in my very first run were a harness bug, fixed in
045e021: typing could glue onto an outside line. The saved files had every line exactly once.)Every gated budget passes on this baseline; the items above are recorded as non-gating targets in
perf/budgets.json.New targets (kayg, 2026-10-14), replacing the earlier 250 MB goal:
All three become gates in
perf/budgets.json.#44 fixes: before/after on the perf VM (rebased stack, PRs #191-#200)
Same VM, same fixtures, page cache dropped before each start, 5 warm runs + 3 cold runs per size, idle stretch 300 s once per size after the Home settled, search caught up and rooms closed. before =
dev2a2478c+ the harness (#191); after = the whole stack (#200, mimalloc). Same harness binary for both. p50/p95.home.first_page(ms)open.note(ms)sync.save_ack(ms)storm.edits_per_s(/s)search.query(ms)cold.index(s)mem.after_search(MB)mem.peak(MB)idle.rss(MB)idle.cpu_pct(%)idle.wakeups_per_s(/s)load.typing_cpu_pct(%)Met
Not met / open
search.queryp95 ~460 ms at 100k (unchanged, budget 100) and the first search build takes ~2 min at 100k on the VM (search.catch_up): search's own work, not touched here.#44 perf VM, rounds 11 and 13: search, memory, and the cold index at 100k
Machine: perf VM, 4 CPUs, 7.7 GiB. Every run drops caches. Numbers are p50 / p95.
The build sets in the table:
583c46e, round 11, 5 runs, dev's harness.notes.listcalls left out (PERF_NO_WHOLE_LIST=1, VM-only).Rounds 13 and later take
flock /root/perf-vm.lock(with-o, so servers never inherit it).100k notes
At 1k and 10k, all5 gives:
save_ackandcold.indexmoved for all4 between round 11 and round 13 with the same binary (r11: 5.94 / 7.88 and 41.5 s). They are noisy across rounds, so compare within a round.What I found and what changed
CROSS JOINplus an index onfrecency(at).titles(contentless, about 3 MB at 100k). A title lookup goes from 3–11 ms to under 1 ms; the first keystroke goes from 8 ms to 0.7 ms. Existing indexes fill it on open in 0.25 s, with no rebuild.coffee*) before it answers, which takes 7–25 ms per common word. A whole word stops after the newest 150 matches, in under 0.5 ms. The prefix form still runs when that finds too few, so a word still being typed is found.notes.listmakes most of the peak and the leftover. Without it, after_opens drops from 442 to 49 MB and the peak from 477 to 123 MB (p50). It builds aserde_json::Valueof 100,000 objects per call (Outcome::new→to_value), and the harness calls it 21 times. Question for kayg: its description says "deprecated; for one release". Can it go now? The web app already pages (limit: 500). If it has to stay, I'll make it cheap instead.alwayswithmax_ptes_none511. Sampling the server's memory map every 20 s showed RSS growing while idle, 126 → 155 MB, asAnonHugePageswent 31 → 84 MB. The kernel merges thinned-out heap into 2 MB pages that trimming can't return. #358 (on top of #314) turns THP off for the process withprctl(PR_SET_THP_DISABLE). That is a secondunsafecall incalternal-memoryand needs a nod.Next: round 15 (all6 = all5 + #358 + #372, with and without the whole list), round 16 (first page), and a heap profile of a warm 100k run without the whole list, to find what still keeps idle at about 100 MB.
#44 perf VM, round 15: no huge pages (#358) and the cold fill (#372)
all6 = all5 + #358 + #372: #227, #314, #315, #316, #338, #339, #340, #358, #372. Same harness and setup as round 13 (#291 harness, 3 runs, dropped caches, under the VM lock). Numbers are p50 / p95.
100k notes
At 1k / 10k, all6 gives:
Where things stand
notes.listbuilds aserde_json::Valueof 100,000 objects per call. I'd like to remove it (its description says "for one release"; the web app already pages). The alternative is to stream it without theValue. Which would kayg prefer?New since the last comment: #382, a small PR that cuts the list store's WAL back to 8 MB after checkpoints. It had grown to 127 MB next to a 240 MB
meta.db.#44 perf VM, rounds 17–21: first page, two heaps, and where it stands
New PRs
notes_updatedso the app's pages stay indexed while a cold Home fillsmeta.db-walsat beside a 240 MB storemallopt(M_ARENA_MAX, 2)before the runtime startsunsafecall in calternal-memory, needs a nodRound 17: timing probes inside the server, 100k, dropped caches. A 41 ms first page was:
#385 fixes the first part. Round 20 (all6 + #384, #382, #385) gave
home.first_pageat 100k of 49 / 88 → 17.9 / 22.6 ms, at 10k 36 / 62 → 10.6 / 11.7, and at 1k 16 / 53 → 8.0 / 9.4.Round 19: the same binary with
glibc.malloc.arena_max=2. idle.rss 102 → 80 MB, peak 451 → 263 MB, cold peak 529 → 304 MB, and no request got slower. #386 makes it part of the server.100k now: all8 = every open #44 PR (round 21, 3 runs)
all8 is #227, #314, #315, #316, #338, #339, #340, #358, #382, #384, #385, #386. Numbers are p50 / p95.
* dev's harness measured search during the index's first build. With #291's harness, all4 was 39.9 / 73.3.
At 1k / 10k, all8 gives:
This round was noisy at the small sizes: first_page 47 / 72 at 1k, against 8 / 9 for all7 in round 20. Round 23 is running an interleaved A/B of all7 vs all8 (5 runs, 1k and 10k) to check that two heaps cost no latency.
Open questions
notes.listis the last big memory item: peak 269 MB with it, 111 MB without. Remove it now, or should I make it stream without theserde_json::Valuetree?history.rs, next to #298's work. Should I do it, or coordinate with #298?#44 perf VM, rounds 22–25: a short follow-up
Two heaps (#386), latency A/B (round 23): all7 and all8 interleaved, 1k and 10k, 5 runs each, done twice. No request got slower and the peak is lower; table on #386.
#388 closed. Compact cold-open events didn't move
cold.mem_peakat 100k (300 → 300 MB). An 8 MB page cache for the fresh fill didn't either, so it was never opened as a PR.Where the cold peak comes from (round 25, RSS sampled every 0.5 s during a cold 100k open with every PR):
This is the one memory number still well above 150 MB. It happens once per Home, on its first open. A 100k heap profile needs more than heaptrack can do on this VM in reasonable time, so I've left it for now.
Every #44 PR, its base, and what it's measured to do are listed in the round 17–21 comment above.
Live 02:25 IST: train j (#391, dev
a305ee2). Contains the #44 server speed PRs #227 #291 #315 #316 #338 #339 #340 #382 #384 #385, plus #389 (the #387 test). fmt/clippy/workspace tests clean; e2e 160 passed, 0 failed; no errors in the server log after the start. Held for kayg: #314, #358, #386 (questions 4 and 5 above).#44 memory, continued in #398: where 100k stands now
Perf VM, 100k notes, dropped caches, 3 runs each. Values are p50 / p95. Details, the allocator A/B and the leak soak are on #398.
a305ee2The PRs:
notes.list.arena_max=2as a tunable in the quadlets. Replaces #386.Still open: the cold-open peak, and a +7.9 MB idle step between the two soak cycles (dev's step is +24 MB).
Closing during the 26 Oct handover cleanup: The perf harness is in dev (PRs #340, #384, #408, #418, #444). Memory work continued in #398.
ADR 0003 evidence migration:
docs/perf/budgets.mdSource commit: a4574fea2b107efd11858603c12d6cdab49a5e76; snapshot from dev
55f35fcd. Full original source preserved below before repository removal/stripping. Design, code and test inputs are retained where applicable.