Files slice 1 r7: Home identity, joined index, reconcile (idle-time walk) #1117

Open
kayg wants to merge 28 commits from feat/files-s1-identity-r7 into dev
Owner

Status (2026-11-14 11:20 UTC, head 934ef1c36, on dev 796d80cba)

  • Supersedes #1010. It is the tested r6 candidate rebased onto current dev, plus the idle-time walk fix. It is not a fast-forward of #1010's head, so it is a new PR.
  • Gates: all Rust gates and the Files e2e (4 projects) pass.
  • Profile: in r7 the walk touches no marker in any measured server life (strace, openat2 included); r6 did.
  • Perf, r6 method: FAIL.
    • First r7 turn: 129/288. Void, because it overlapped infraternal's backup01 jobs.
    • Re-run: 144/288. An A/A no-change block in the same turn fails 131/288, so this gate can't separate r7 from no change.
    • r6's 2× search/save_ack rows and its cold marker writes are gone.
    • Open cells to watch: 10k home.page/home.page_title/search p95.
    • Details and a proposed method are in the latest comment.
  • Not READY. Do not merge.

What this PR does

Files slice 1 gives ordinary Home files and folders stable IDs:

  • Folders: a .calternal-id marker inside each folder.
  • Files: a sidecar in the parent folder's .calternal-file-ids/, bound to device and inode.

These IDs live in the same append-only ID log as Notes (scope: "home" lines; Notes lines keep their exact JSON). A quiet background walk, plus the Home-root watcher, keeps the joined index in step. There is no tier metadata in this slice, so it stays compatible with tiering v5.

Why r6 failed, and the fix (r7)

r6 measured 111/288 comparisons over the dev-copy bound. A syscall profile on dev-01 (strace of fsync/openat/getdents/accept4 per server start, dev vs r6 vs r7) found these causes:

  1. The walk's "quiet" check missed most requests. It read the idle-unload timer. Only Notes index lookups move that timer, and only when unloading is on. notes.list opens the Home through start_home, and search never touches the Notes Home. So in r6:
    • the walk ran during measured search, open and save at 100k (one warm run: 4.1–17.7 s, overlapping 274 requests);
    • in cold runs it wrote folder markers while the harness was still polling.
  2. A paused walk slept 100 ms at a time on a blocking thread. Home shutdown joins that thread.
  3. Skipped .md entries never counted toward the 512-entry yield. One folder of 100,000 notes was read in one burst.
  4. Each new marker paid two fsyncs (the file and its folder).

The fix:

  • Requests mark the Home. EventRecorder::idle_for (default None) exposes the engine's per-person runtime stamp, which every action already sets. start_home and Notes::home mark the Home itself.
  • The walk needs both signals quiet for 5 s (200 ms in unit tests), and no client, open note or job.
  • Pauses wait on the runtime and return at once on shutdown. Quiet polls run every 250 ms and use has_open_room, which clones nothing under the rooms lock.
  • Quiet is checked every 512 directory entries, skipped notes included.
  • One sync per page for markers. New markers are written without their own fsyncs, and one syncfs per page makes them durable before that page's rows are published. That's Linux only; elsewhere each marker is still synced on write.

The r7 profile on dev-01 (strace, hot-only, cold + 2 warm runs at 1k/10k/100k):

  • the walk never runs inside a measured server life;
  • per-run sync counts match dev (e.g. 181 vs 181 for 100k cold; 424–437 vs 427–446 for warm);
  • the only difference left is one extra inotify watch for the Home root.

An idle probe at 100k (one request, then 90 s idle) gives the first walk's cost when it does run:

Build Walk time Syncs
r6 ~140 ms 4 fsyncs
r7 ~70 ms 1 syncfs

Plan (as built)

Sizes.

  • Each Home row is one packed id + path allocation plus about 60 bytes of metadata.
  • A walk holds at most 512 pending rows and IDs, plus an inode→ID map of existing file rows.
  • Folder markers are 37 bytes; file sidecars are under 160 bytes.

Big-O.

  • ID and path lookups are O(1) hash lookups.
  • A walk is O(entries) in the background, in bounded steps.
  • Each published page is one log append and at most one filesystem sync.
  • Stale rows are retired in pages, only after a complete walk.
  • No request path walks the Home.

Failure table.

Failure Effect Detection Recovery Test
Crash after marker writes, before the page's syncfs A marker may be missing or empty Marker read: absent, or malformed bytes Malformed bytes are kept beside the folder; the row was never published, so a fresh or path-matched ID is chosen on the next walk interrupted_home_scan_keeps_stale_rows_for_restart_reconcile, restart tests
Crash or shutdown mid-walk Index lags the tree The walk returns Interrupted; no stale rows are retired The next start walks again; unchanged rows are not rewritten notes_crash, restart reconcile tests
Requests keep arriving The walk never starts — Intended: it is idle-time work. The watcher still queues a walk for outside changes requests_hold_the_home_file_walk_until_quiet
Shutdown while the walk is paused Shutdown could wait The pause selects on the shutdown signal Returns at once Home shutdown joins background tasks; dropping_notes_releases_the_home_file_scan
Marker copied with a folder or file Two entries claim one ID Row path/kind, device/inode checks The established ID stays; the copy gets a fresh ID restart_reconcile_* tests

Gates

  • fmt and strict workspace clippy
  • crash tests and the Home Files unit tests
  • workspace tests
  • release build
  • home-files-identity.spec.ts on chromium-1440, chromium-390, webkit-1440 and webkit-390
  • perf r7: ABAB ×5 at 1k/10k/100k with the r6 method

🤖 Generated with Claude Code

<!-- files-r7-status --> ## Status (2026-11-14 11:20 UTC, head `934ef1c36`, on dev `796d80cba`) - **Supersedes #1010.** It is the tested r6 candidate rebased onto current dev, plus the idle-time walk fix. It is not a fast-forward of #1010's head, so it is a new PR. - **Gates:** all Rust gates and the Files e2e (4 projects) pass. - **Profile:** in r7 the walk touches no marker in any measured server life (strace, `openat2` included); r6 did. - **Perf, r6 method: FAIL.** - First r7 turn: 129/288. **Void**, because it overlapped infraternal's backup01 jobs. - Re-run: 144/288. An **A/A no-change block in the same turn fails 131/288**, so this gate can't separate r7 from no change. - r6's 2× search/save_ack rows and its cold marker writes are gone. - Open cells to watch: 10k `home.page`/`home.page_title`/`search` p95. - Details and a proposed method are in the latest comment. - **Not READY. Do not merge.** <!-- files-r7-status --> ## What this PR does Files slice 1 gives ordinary Home files and folders stable IDs: - **Folders:** a `.calternal-id` marker inside each folder. - **Files:** a sidecar in the parent folder's `.calternal-file-ids/`, bound to device and inode. These IDs live in the same append-only ID log as Notes (`scope: "home"` lines; Notes lines keep their exact JSON). A quiet background walk, plus the Home-root watcher, keeps the joined index in step. There is no tier metadata in this slice, so it stays compatible with tiering v5. ## Why r6 failed, and the fix (r7) r6 measured 111/288 comparisons over the dev-copy bound. A syscall profile on dev-01 (strace of fsync/openat/getdents/accept4 per server start, dev vs r6 vs r7) found these causes: 1. **The walk's "quiet" check missed most requests.** It read the idle-unload timer. Only Notes index lookups move that timer, and only when unloading is on. `notes.list` opens the Home through `start_home`, and search never touches the Notes Home. So in r6: - the walk ran during measured search, open and save at 100k (one warm run: 4.1–17.7 s, overlapping 274 requests); - in cold runs it wrote folder markers while the harness was still polling. 2. **A paused walk slept 100 ms at a time on a blocking thread.** Home shutdown joins that thread. 3. **Skipped `.md` entries never counted toward the 512-entry yield.** One folder of 100,000 notes was read in one burst. 4. **Each new marker paid two fsyncs** (the file and its folder). The fix: - **Requests mark the Home.** `EventRecorder::idle_for` (default `None`) exposes the engine's per-person runtime stamp, which every action already sets. `start_home` and `Notes::home` mark the Home itself. - **The walk needs both signals quiet** for 5 s (200 ms in unit tests), and no client, open note or job. - **Pauses wait on the runtime** and return at once on shutdown. Quiet polls run every 250 ms and use `has_open_room`, which clones nothing under the rooms lock. - **Quiet is checked every 512 directory entries**, skipped notes included. - **One sync per page for markers.** New markers are written without their own fsyncs, and one `syncfs` per page makes them durable before that page's rows are published. That's Linux only; elsewhere each marker is still synced on write. The r7 profile on dev-01 (strace, hot-only, cold + 2 warm runs at 1k/10k/100k): - the walk never runs inside a measured server life; - per-run sync counts match dev (e.g. 181 vs 181 for 100k cold; 424–437 vs 427–446 for warm); - the only difference left is one extra inotify watch for the Home root. An idle probe at 100k (one request, then 90 s idle) gives the first walk's cost when it does run: | Build | Walk time | Syncs | |---|---|---| | r6 | ~140 ms | 4 fsyncs | | r7 | ~70 ms | 1 syncfs | ## Plan (as built) **Sizes.** - Each Home row is one packed `id + path` allocation plus about 60 bytes of metadata. - A walk holds at most 512 pending rows and IDs, plus an inode→ID map of existing file rows. - Folder markers are 37 bytes; file sidecars are under 160 bytes. **Big-O.** - ID and path lookups are O(1) hash lookups. - A walk is O(entries) in the background, in bounded steps. - Each published page is one log append and at most one filesystem sync. - Stale rows are retired in pages, only after a complete walk. - No request path walks the Home. **Failure table.** | Failure | Effect | Detection | Recovery | Test | |---|---|---|---|---| | Crash after marker writes, before the page's `syncfs` | A marker may be missing or empty | Marker read: absent, or malformed bytes | Malformed bytes are kept beside the folder; the row was never published, so a fresh or path-matched ID is chosen on the next walk | `interrupted_home_scan_keeps_stale_rows_for_restart_reconcile`, restart tests | | Crash or shutdown mid-walk | Index lags the tree | The walk returns `Interrupted`; no stale rows are retired | The next start walks again; unchanged rows are not rewritten | `notes_crash`, restart reconcile tests | | Requests keep arriving | The walk never starts | — | Intended: it is idle-time work. The watcher still queues a walk for outside changes | `requests_hold_the_home_file_walk_until_quiet` | | Shutdown while the walk is paused | Shutdown could wait | The pause selects on the shutdown signal | Returns at once | Home shutdown joins background tasks; `dropping_notes_releases_the_home_file_scan` | | Marker copied with a folder or file | Two entries claim one ID | Row path/kind, device/inode checks | The established ID stays; the copy gets a fresh ID | `restart_reconcile_*` tests | ## Gates - fmt and strict workspace clippy - crash tests and the Home Files unit tests - workspace tests - release build - `home-files-identity.spec.ts` on chromium-1440, chromium-390, webkit-1440 and webkit-390 - perf r7: ABAB ×5 at 1k/10k/100k with the r6 method 🤖 Generated with [Claude Code](https://claude.com/claude-code)
kayg added 28 commits 2026-11-13 23:41:42 +00:00
The r6 perf run on #1010 showed the Home Files walk overlapping measured
work. Its quiet check read the unload timer, which only Notes index lookups
move (and only when unloading is on), so searches and list requests never
held it back. Cold runs wrote folder markers while the harness was still
polling, and warm runs walked during search and open.

- Every request through Notes::home marks the Home as used; the walk waits
  for 5 s without one (200 ms in unit tests), no open note, no client, no job.
- The walk checks for quiet every 512 directory entries, skipped notes
  included, so one folder of 100,000 notes is read in short steps.
- Pauses wait on the runtime and end at once on shutdown, instead of
  sleeping 100 ms steps on a blocking thread that shutdown had to join.
- Quiet polls use has_open_room (no clone under the rooms lock), every 250 ms.
- New markers are written without their own fsyncs; one syncfs per page makes
  them durable before that page's rows are published (Linux; elsewhere each
  marker is still synced on write).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
perf(files): count every action as Home use for the quiet walk
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled
934ef1c36d
The r7 profile still found the walk writing folder markers while the cold
perf run polled notes.list: that action opens the Home through start_home,
not Notes::home, so the request stamp never moved. Search queries never touch
the Notes Home at all.

- The engine already stamps each person's runtime on every action; expose it
  as EventRecorder::idle_for (default None, so other recorders are unchanged).
- The walk now needs both quiet signals: no engine action and no Notes Home
  open for QUIET_FOR, plus no client, open note or job.
- start_home marks the Home on every request that finds it open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
Owner

r7 functional gates: head 934ef1c36 on dev-01 (all run through ~/bin/slot, inside nix develop)

Gate Command Result
fmt cargo fmt --all -- --check exit 0
strict clippy cargo clippy --workspace --all-targets --locked -j4 -- -D warnings exit 0
crash tests cargo test -p calternal --test notes_crash --locked -j4 exit 0
Home Files tests cargo test -p calternal-notes --lib home_files --locked -j4 exit 0 (7 tests, including the new requests_hold_the_home_file_walk_until_quiet)
interrupted walk cargo test -p calternal-notes --lib interrupted_home_scan_keeps_stale_rows_for_restart_reconcile --locked -j4 exit 0
workspace tests cargo test --workspace --locked -j4 --no-fail-fast -- --test-threads=2 exit 0; 1816 passed, 0 failed
release build cargo build --workspace --release --locked -j4 exit 0; calternal SHA-256 09fdc5db8428182a499ece6b3e286bbf39fb2d83e87803ba92ba96e2dc2f0ade (the binary staged for perf r7)
Files e2e CALTERNAL_BIN=…/target/debug/calternal bunx playwright test e2e/home-files-identity.spec.ts --project=chromium-1440 --project=chromium-390 --project=webkit-1440 --project=webkit-390 --workers=1 4 passed

Profile (dev-01, strace --seccomp-bpf of fsync/fdatasync/syncfs/openat/getdents64/accept4 per server start; calternal-perf --hot-only --runs 2 --cold-runs 1, 1k/10k/100k)

Build Server starts where the walk ran inside the measured life Per-run syncs (100k cold / warm)
dev 796d80cba n/a 181 / 446, 436
r6 1609d3c54 (rebased) 1 of 9: 100k warm run 2, walk 4.1–17.7 s, overlapping 274 requests (the search phase) 177 / 443, 448
r7 first fix 508a33c96 1 of 9: 100k cold, markers written at 33.1 s while notes.list was polled (it opens the Home through start_home) 178 / 448, 439
r7 934ef1c36 0 of 9 181 / 437, 437

Inotify watches: 3 vs dev's 2. The extra one is the Home root.

Idle probe, 100k, one request then 90 s idle, first walk (markers absent):

Build Walk time Syncs Started at
r6 ~140 ms 4 fsyncs 39.3 s
r7 ~70 ms 1 syncfs 38.3 s, after the Notes scan plus 5 s quiet

In the warm pass, neither build walked within 90 s: the Home was still busy with its startup work, and the walk waits for that by design.

### r7 functional gates: head `934ef1c36` on dev-01 (all run through `~/bin/slot`, inside `nix develop`) | Gate | Command | Result | |---|---|---| | fmt | `cargo fmt --all -- --check` | exit 0 | | strict clippy | `cargo clippy --workspace --all-targets --locked -j4 -- -D warnings` | exit 0 | | crash tests | `cargo test -p calternal --test notes_crash --locked -j4` | exit 0 | | Home Files tests | `cargo test -p calternal-notes --lib home_files --locked -j4` | exit 0 (7 tests, including the new `requests_hold_the_home_file_walk_until_quiet`) | | interrupted walk | `cargo test -p calternal-notes --lib interrupted_home_scan_keeps_stale_rows_for_restart_reconcile --locked -j4` | exit 0 | | workspace tests | `cargo test --workspace --locked -j4 --no-fail-fast -- --test-threads=2` | exit 0; 1816 passed, 0 failed | | release build | `cargo build --workspace --release --locked -j4` | exit 0; `calternal` SHA-256 `09fdc5db8428182a499ece6b3e286bbf39fb2d83e87803ba92ba96e2dc2f0ade` (the binary staged for perf r7) | | Files e2e | `CALTERNAL_BIN=…/target/debug/calternal bunx playwright test e2e/home-files-identity.spec.ts --project=chromium-1440 --project=chromium-390 --project=webkit-1440 --project=webkit-390 --workers=1` | 4 passed | ### Profile (dev-01, strace `--seccomp-bpf` of fsync/fdatasync/syncfs/openat/getdents64/accept4 per server start; `calternal-perf --hot-only --runs 2 --cold-runs 1`, 1k/10k/100k) | Build | Server starts where the walk ran inside the measured life | Per-run syncs (100k cold / warm) | |---|---|---| | dev `796d80cba` | n/a | 181 / 446, 436 | | r6 `1609d3c54` (rebased) | 1 of 9: 100k warm run 2, walk 4.1–17.7 s, overlapping 274 requests (the search phase) | 177 / 443, 448 | | r7 first fix `508a33c96` | 1 of 9: 100k cold, markers written at 33.1 s while `notes.list` was polled (it opens the Home through `start_home`) | 178 / 448, 439 | | r7 `934ef1c36` | **0 of 9** | 181 / 437, 437 | Inotify watches: 3 vs dev's 2. The extra one is the Home root. Idle probe, 100k, one request then 90 s idle, first walk (markers absent): | Build | Walk time | Syncs | Started at | |---|---|---|---| | r6 | ~140 ms | 4 fsyncs | 39.3 s | | r7 | ~70 ms | 1 syncfs | 38.3 s, after the Notes scan plus 5 s quiet | In the warm pass, neither build walked within 90 s: the Home was still busy with its startup work, and the walk waits for that by design.
Author
Owner

Profile correction (02:35 CET)

My first profile traced openat but not openat2. Folder reads markers with openat2 (RESOLVE_BENEATH), so a walk that only read existing markers was invisible there.

I re-ran the r6 and r7b profiles with openat2 and syncfs added to the filter: same harness, hot-only, cold + 2 warm runs, 1k/10k/100k on dev-01.

Build Server lives that touch .calternal-id / .calternal-file-ids (read or write)
r6 1 of 9: 100k warm run 2. That walk wrote both folder markers mid-run; 591 requests landed while it ran
r7b 934ef1c36 0 of 9

The earlier conclusion stands, now verified for reads too: in r7 the walk never runs inside a measured server life.

Idle probe repeated with 300 s idle at 100k (first walk, writing markers):

Build Walk time Syncs
r6 337 ms 4 fsyncs
r7b 52 ms 1 syncfs

The probe's "warm" pass didn't trace openat2, so I'm not reporting a warm-walk time from it.

### Profile correction (02:35 CET) My first profile traced `openat` but not `openat2`. `Folder` reads markers with `openat2` (`RESOLVE_BENEATH`), so a walk that only *read* existing markers was invisible there. I re-ran the r6 and r7b profiles with `openat2` and `syncfs` added to the filter: same harness, hot-only, cold + 2 warm runs, 1k/10k/100k on dev-01. | Build | Server lives that touch `.calternal-id` / `.calternal-file-ids` (read or write) | |---|---| | r6 | 1 of 9: 100k warm run 2. That walk wrote both folder markers mid-run; 591 requests landed while it ran | | r7b `934ef1c36` | **0 of 9** | The earlier conclusion stands, now verified for reads too: in r7 the walk never runs inside a measured server life. Idle probe repeated with 300 s idle at 100k (first walk, writing markers): | Build | Walk time | Syncs | |---|---|---| | r6 | 337 ms | 4 fsyncs | | r7b | 52 ms | 1 syncfs | The probe's "warm" pass didn't trace `openat2`, so I'm not reporting a warm-walk time from it.
Author
Owner

Perf r7 verdict (r6 method): FAIL, 129/288

Session. ~/bin/perf-turn files-s1-r7 on perf-01, with perf-02's lock held by a unit on perf-02 for the whole run. Measured 07:34–08:05 CET 14 Nov. Five paired rounds (dev, candidate-a, dev-copy, candidate-b) at 1k, 10k and 100k, --hot-only --runs 1 --cold-runs 1. All 20 arms exited 0.

Binaries (sha256-checked on perf-01):

Arm Build SHA-256
candidate 934ef1c36 09fdc5db…f0ade
dev, dev-copy 796d80cba 1160fe3e…4eac7e
harness (calternal-perf) 062dd8a7…cadb

Result. Comparator compare-files-s1.py, unchanged from r6 (20,000 resamples; candidate U95 ≤ dev-copy U95): 129/288 over the bound (1k 32/96, 10k 52/96, 100k 45/96). r6 was 111/288. Not READY.

What this does and doesn't show:

  1. The large r6 regressions are gone.
    • 100k search.prefix p99: 1.02 (U95 2.12), vs r6 2.17 (U95 4.43).
    • 100k search.query p95: 0.99, vs r6 2.01.
    • 10k sync.save_ack p99: 0.97, vs r6 1.98.
    • 1k cold.disk_written: 1.0000, vs r6 1.0008 (no marker writes in the cold window any more).
    • These match the profile: in r7 the walk touches no marker in any measured server life.
  2. Many remaining "fails" have a candidate gmean near 1.00 and a control well below 1. For example, 100k cold.startup (control 0.81), 10k shutdown (0.87), 100k save_ack p99 (0.71).
    • dev always runs in slot 1 and dev-copy in slot 3. So the control (dev-copy/dev) measures slot drift, and the candidate (slots 2 and 4) is judged against a different slot pairing.
    • With one warm run per arm, single-sample metrics (open.long_note, cold.*, shutdown, search.first_query) carry ten samples each.
  3. A position-balanced reading of the same data doesn't settle it either. Each arm is compared with the dev arms on both sides of it; the control is dev-copy vs its neighbours.
    • r7: 144/288 over the bound; 31 comparisons with candidate gmean > 1.05.
    • r6: 129/288; 50 comparisons, including the 2× search rows.
    • r7's largest remaining point estimates are the ones to watch, even though nothing in r7 runs in their paths during measurement:
      • 10k open.long_note 1.40 (control 1.00)
      • 10k search.first_query 1.13
      • 10k sync.durable_write p95 1.11
      • 100k cold.startup 1.10 (control 0.83)
      • 1k search.prefix p99 1.14

Next (decision taken, not merging). I've queued one A/A session with the identical layout and comparator: dev, dev-b, dev-copy, dev-b, all the same dev binary. It measures how many of the 288 comparisons this gate fails with no change at all.

  • If a no-change run also fails about 100+, r7 can't be told apart from noise with this method. The gate then needs more warm runs per arm, or a slot-balanced layout. That's for the orchestrator to decide.
  • If A/A passes cleanly, the r7 flags above are real, and I'll chase them.
Full r7 comparison table (r6 method)
Notes Metric Quantile Candidate ratio gmean Candidate upper 95% Dev-copy ratio gmean Dev-copy upper 95% Gate
1000 cold.disk_written p50 1.0000 1.0031 1.0035 1.0079 pass
1000 cold.disk_written p95 1.0000 1.0033 1.0035 1.0079 pass
1000 cold.disk_written p99 1.0000 1.0033 1.0035 1.0079 pass
1000 cold.first_page p50 0.9699 0.9916 0.9936 1.0130 pass
1000 cold.first_page p95 0.9699 0.9916 0.9936 1.0130 pass
1000 cold.first_page p99 0.9699 0.9916 0.9936 1.0130 pass
1000 cold.index p50 0.9753 0.9925 0.9946 1.0101 pass
1000 cold.index p95 0.9753 0.9925 0.9946 1.0103 pass
1000 cold.index p99 0.9753 0.9925 0.9946 1.0101 pass
1000 cold.mem_peak p50 1.0043 1.0159 0.9966 1.0088 FAIL
1000 cold.mem_peak p95 1.0043 1.0159 0.9966 1.0088 FAIL
1000 cold.mem_peak p99 1.0043 1.0159 0.9966 1.0088 FAIL
1000 cold.notes_per_s p50 0.9753 0.9925 0.9946 1.0101 pass
1000 cold.notes_per_s p95 0.9753 0.9925 0.9946 1.0101 pass
1000 cold.notes_per_s p99 0.9753 0.9925 0.9946 1.0101 pass
1000 cold.startup p50 0.9498 0.9647 1.1611 1.6748 pass
1000 cold.startup p95 0.9498 0.9647 1.1611 1.6748 pass
1000 cold.startup p99 0.9498 0.9653 1.1611 1.6748 pass
1000 home.first_page p50 0.9259 1.0623 0.8889 1.1082 pass
1000 home.first_page p95 0.9259 1.0623 0.8889 1.1082 pass
1000 home.first_page p99 0.9259 1.0623 0.8889 1.1082 pass
1000 home.page p50 0.9878 1.0573 1.0495 1.1266 pass
1000 home.page p95 0.9658 1.0213 0.7250 1.0096 FAIL
1000 home.page p99 1.2771 1.6349 0.6894 0.9919 FAIL
1000 home.page_big p50 0.9921 1.0335 0.9627 1.0357 pass
1000 home.page_big p95 0.9921 1.0335 0.9627 1.0357 pass
1000 home.page_big p99 0.9921 1.0335 0.9627 1.0357 pass
1000 home.page_next p50 0.9933 1.0204 0.9909 1.0912 pass
1000 home.page_next p95 0.9819 1.0487 0.9672 1.1858 pass
1000 home.page_next p99 0.9104 0.9943 0.8626 1.2236 pass
1000 home.page_tag p50 1.0313 1.0831 0.9793 0.9988 FAIL
1000 home.page_tag p95 0.9953 1.1296 0.9570 1.0865 FAIL
1000 home.page_tag p99 1.0363 1.2018 0.8896 1.0085 FAIL
1000 home.page_title p50 1.0150 1.0714 1.0297 1.0854 pass
1000 home.page_title p95 0.9957 1.1572 0.9472 1.0796 FAIL
1000 home.page_title p99 0.9814 1.1352 1.0028 1.2604 pass
1000 journal.catch_up p50 1.0107 1.0774 1.0352 1.1783 pass
1000 journal.catch_up p95 1.0107 1.0774 1.0352 1.1783 pass
1000 journal.catch_up p99 1.0107 1.0774 1.0352 1.1783 pass
1000 journal.entries p50 1.0000 1.0000 1.0000 1.0000 pass
1000 journal.entries p95 1.0000 1.0000 1.0000 1.0000 pass
1000 journal.entries p99 1.0000 1.0000 1.0000 1.0000 pass
1000 journal.page p50 1.0075 1.0785 1.0342 1.1888 pass
1000 journal.page p95 1.0075 1.0785 1.0342 1.1861 pass
1000 journal.page p99 1.0075 1.0785 1.0342 1.1888 pass
1000 mem.after_first_page p50 1.0013 1.0159 0.9924 1.0118 FAIL
1000 mem.after_first_page p95 1.0013 1.0159 0.9924 1.0118 FAIL
1000 mem.after_first_page p99 1.0013 1.0159 0.9924 1.0122 FAIL
1000 mem.after_opens p50 1.0042 1.0134 0.9979 1.0100 FAIL
1000 mem.after_opens p95 1.0042 1.0136 0.9979 1.0102 FAIL
1000 mem.after_opens p99 1.0042 1.0134 0.9979 1.0100 FAIL
1000 mem.after_search p50 0.9830 0.9965 0.9818 1.0175 pass
1000 mem.after_search p95 0.9830 0.9965 0.9818 1.0175 pass
1000 mem.after_search p99 0.9830 0.9965 0.9818 1.0159 pass
1000 mem.idle p50 1.0004 1.0120 1.0146 1.0469 pass
1000 mem.idle p95 1.0004 1.0120 1.0146 1.0479 pass
1000 mem.idle p99 1.0004 1.0120 1.0146 1.0479 pass
1000 open.api_get p50 1.0111 1.0356 0.9951 1.0170 FAIL
1000 open.api_get p95 0.8950 0.9391 1.1127 1.2018 pass
1000 open.api_get p99 1.0208 1.1028 1.0086 1.0622 FAIL
1000 open.long_note p50 1.0110 1.0423 1.0130 1.0448 pass
1000 open.long_note p95 1.0110 1.0423 1.0130 1.0448 pass
1000 open.long_note p99 1.0110 1.0423 1.0130 1.0448 pass
1000 open.note p50 1.0251 1.0914 1.0292 1.0566 FAIL
1000 open.note p95 0.9911 1.0466 1.0051 1.0759 pass
1000 open.note p99 0.9927 1.0339 0.9995 1.0685 pass
1000 search.catch_up p50 1.0000 1.0000 1.0000 1.0002 pass
1000 search.catch_up p95 1.0000 1.0000 1.0000 1.0002 pass
1000 search.catch_up p99 1.0000 1.0000 1.0000 1.0002 pass
1000 search.first_query p50 1.0055 1.0957 0.9764 1.0380 FAIL
1000 search.first_query p95 1.0055 1.0957 0.9764 1.0380 FAIL
1000 search.first_query p99 1.0055 1.0957 0.9764 1.0380 FAIL
1000 search.prefix p50 1.0167 1.0690 1.0306 1.1112 pass
1000 search.prefix p95 1.0564 1.2052 0.9692 1.0591 FAIL
1000 search.prefix p99 1.0931 1.2724 0.9891 1.1158 FAIL
1000 search.query p50 1.0449 1.1158 0.9952 1.0621 FAIL
1000 search.query p95 1.0209 1.0842 1.0361 1.1228 pass
1000 search.query p99 1.0189 1.0815 0.9865 1.0297 FAIL
1000 search.typo p50 1.0169 1.0528 0.9801 1.0283 FAIL
1000 search.typo p95 1.0246 1.0810 0.9887 1.0359 FAIL
1000 search.typo p99 1.0607 1.1030 0.9801 1.0281 FAIL
1000 shutdown p50 1.0002 1.1458 1.1403 1.4765 pass
1000 shutdown p95 1.0002 1.1458 1.1403 1.4765 pass
1000 shutdown p99 1.0002 1.1458 1.1403 1.4765 pass
1000 startup.healthz p50 1.0204 1.1000 1.1640 1.3011 pass
1000 startup.healthz p95 1.0204 1.1000 1.1640 1.3011 pass
1000 startup.healthz p99 1.0204 1.1000 1.1640 1.3011 pass
1000 sync.durable_write p50 0.9797 1.0007 1.0047 1.0377 pass
1000 sync.durable_write p95 1.1638 1.3720 0.9976 1.1016 FAIL
1000 sync.durable_write p99 1.0437 1.1691 1.0007 1.1178 FAIL
1000 sync.round_trip p50 1.0265 1.0964 1.0151 1.0684 FAIL
1000 sync.round_trip p95 0.9835 1.0123 0.9512 1.0696 pass
1000 sync.round_trip p99 0.7683 0.8970 1.2271 1.9959 pass
1000 sync.save_ack p50 1.0064 1.0188 0.9890 1.0029 FAIL
1000 sync.save_ack p95 1.0138 1.0399 1.0344 1.0639 pass
1000 sync.save_ack p99 1.0155 1.0673 0.9894 1.1225 pass
10000 cold.disk_written p50 1.0019 1.0023 0.9979 1.0002 FAIL
10000 cold.disk_written p95 1.0019 1.0023 0.9979 1.0003 FAIL
10000 cold.disk_written p99 1.0019 1.0023 0.9979 1.0002 FAIL
10000 cold.first_page p50 1.0149 1.0455 0.9684 1.0085 FAIL
10000 cold.first_page p95 1.0149 1.0455 0.9684 1.0085 FAIL
10000 cold.first_page p99 1.0149 1.0455 0.9684 1.0085 FAIL
10000 cold.index p50 1.0119 1.0465 1.0181 1.0446 FAIL
10000 cold.index p95 1.0119 1.0457 1.0181 1.0446 FAIL
10000 cold.index p99 1.0119 1.0457 1.0181 1.0446 FAIL
10000 cold.mem_peak p50 1.0002 1.0024 1.0010 1.0040 pass
10000 cold.mem_peak p95 1.0002 1.0023 1.0010 1.0040 pass
10000 cold.mem_peak p99 1.0002 1.0024 1.0010 1.0039 pass
10000 cold.notes_per_s p50 1.0119 1.0457 1.0181 1.0446 FAIL
10000 cold.notes_per_s p95 1.0119 1.0457 1.0181 1.0446 FAIL
10000 cold.notes_per_s p99 1.0119 1.0457 1.0181 1.0446 FAIL
10000 cold.startup p50 0.9795 1.0172 0.9485 0.9933 FAIL
10000 cold.startup p95 0.9795 1.0172 0.9485 0.9935 FAIL
10000 cold.startup p99 0.9795 1.0172 0.9485 0.9933 FAIL
10000 home.first_page p50 0.9273 1.1629 1.1210 1.5706 pass
10000 home.first_page p95 0.9273 1.1598 1.1210 1.5754 pass
10000 home.first_page p99 0.9273 1.1629 1.1210 1.5754 pass
10000 home.page p50 0.9684 1.0126 1.0190 1.1261 pass
10000 home.page p95 1.3460 1.9345 1.5674 2.1630 pass
10000 home.page p99 1.5183 2.3707 1.1312 1.9541 FAIL
10000 home.page_big p50 0.9984 1.0292 0.9878 1.0284 FAIL
10000 home.page_big p95 1.0043 1.0278 1.0005 1.0788 pass
10000 home.page_big p99 1.0043 1.0278 1.0005 1.0788 pass
10000 home.page_next p50 0.9872 1.0249 1.0701 1.1013 pass
10000 home.page_next p95 1.0317 1.1602 1.1197 1.2085 pass
10000 home.page_next p99 0.9330 1.1569 1.0158 1.2035 pass
10000 home.page_tag p50 0.9781 1.0187 1.0771 1.1317 pass
10000 home.page_tag p95 0.8602 0.9165 1.0201 1.3405 pass
10000 home.page_tag p99 0.8989 0.9919 1.0035 1.2274 pass
10000 home.page_title p50 0.9395 1.0206 1.0472 1.1201 pass
10000 home.page_title p95 0.9760 1.1962 1.2052 1.4498 pass
10000 home.page_title p99 1.1697 1.5046 1.0998 1.7554 pass
10000 journal.catch_up p50 0.9755 1.0025 0.9845 1.0353 pass
10000 journal.catch_up p95 0.9755 1.0025 0.9845 1.0353 pass
10000 journal.catch_up p99 0.9755 1.0025 0.9845 1.0353 pass
10000 journal.entries p50 1.0000 1.0000 1.0000 1.0000 pass
10000 journal.entries p95 1.0000 1.0000 1.0000 1.0000 pass
10000 journal.entries p99 1.0000 1.0000 1.0000 1.0000 pass
10000 journal.page p50 0.9657 0.9933 0.9781 1.0292 pass
10000 journal.page p95 1.0111 1.0685 0.9858 1.0462 FAIL
10000 journal.page p99 1.0111 1.0685 0.9858 1.0462 FAIL
10000 mem.after_first_page p50 0.9946 1.0047 0.9823 1.0054 pass
10000 mem.after_first_page p95 0.9946 1.0047 0.9823 1.0054 pass
10000 mem.after_first_page p99 0.9946 1.0047 0.9823 1.0054 pass
10000 mem.after_opens p50 0.9993 1.0146 0.9972 1.0277 pass
10000 mem.after_opens p95 0.9993 1.0146 0.9972 1.0277 pass
10000 mem.after_opens p99 0.9993 1.0146 0.9972 1.0277 pass
10000 mem.after_search p50 0.9953 1.0013 1.0014 1.0214 pass
10000 mem.after_search p95 0.9953 1.0013 1.0014 1.0214 pass
10000 mem.after_search p99 0.9953 1.0013 1.0014 1.0214 pass
10000 mem.idle p50 0.9926 1.0057 0.9725 1.0043 FAIL
10000 mem.idle p95 0.9926 1.0057 0.9725 1.0043 FAIL
10000 mem.idle p99 0.9926 1.0057 0.9725 1.0043 FAIL
10000 open.api_get p50 1.0762 1.1469 0.9450 0.9944 FAIL
10000 open.api_get p95 1.1533 1.2832 1.0168 1.1596 FAIL
10000 open.api_get p99 1.0849 1.1930 0.8987 0.9527 FAIL
10000 open.long_note p50 1.2854 1.9764 1.2466 1.8740 FAIL
10000 open.long_note p95 1.2854 1.9764 1.2466 1.8740 FAIL
10000 open.long_note p99 1.2854 1.9764 1.2466 1.8740 FAIL
10000 open.note p50 1.0401 1.0992 0.9958 1.0584 FAIL
10000 open.note p95 0.8425 1.0545 0.5820 0.8334 FAIL
10000 open.note p99 0.8608 0.9298 1.0214 1.2111 pass
10000 search.catch_up p50 1.0001 1.0001 1.0000 1.0000 FAIL
10000 search.catch_up p95 1.0001 1.0001 1.0000 1.0000 FAIL
10000 search.catch_up p99 1.0001 1.0001 1.0000 1.0000 FAIL
10000 search.first_query p50 1.1299 1.2597 0.9754 1.0286 FAIL
10000 search.first_query p95 1.1299 1.2629 0.9754 1.0286 FAIL
10000 search.first_query p99 1.1299 1.2597 0.9754 1.0312 FAIL
10000 search.prefix p50 0.9934 1.0674 1.0045 1.0845 pass
10000 search.prefix p95 1.0531 1.8143 0.9722 1.6649 FAIL
10000 search.prefix p99 1.1648 2.0874 1.0859 1.8427 FAIL
10000 search.query p50 1.0081 1.1038 0.9830 1.0802 FAIL
10000 search.query p95 1.0069 1.4491 0.9093 1.0397 FAIL
10000 search.query p99 1.0620 1.0771 0.9872 1.0098 FAIL
10000 search.typo p50 1.0530 1.2722 1.1240 1.4780 pass
10000 search.typo p95 0.8800 1.1467 1.5405 3.4911 pass
10000 search.typo p99 0.9352 1.4179 1.7944 4.8006 pass
10000 shutdown p50 1.0024 1.3966 0.8697 0.9999 FAIL
10000 shutdown p95 1.0024 1.3969 0.8697 0.9999 FAIL
10000 shutdown p99 1.0024 1.3966 0.8697 0.9999 FAIL
10000 startup.healthz p50 0.9437 0.9870 0.9475 1.1841 pass
10000 startup.healthz p95 0.9437 0.9870 0.9475 1.1841 pass
10000 startup.healthz p99 0.9437 0.9870 0.9475 1.1841 pass
10000 sync.durable_write p50 1.0764 1.1193 0.9811 0.9851 FAIL
10000 sync.durable_write p95 1.0981 1.1422 1.0018 1.0351 FAIL
10000 sync.durable_write p99 1.0848 1.2041 1.0796 1.1654 FAIL
10000 sync.round_trip p50 1.0550 1.1000 0.9826 1.0107 FAIL
10000 sync.round_trip p95 1.0131 1.0367 0.9955 1.0201 FAIL
10000 sync.round_trip p99 0.7281 0.9877 0.5812 1.0984 pass
10000 sync.save_ack p50 1.0149 1.0396 0.9736 0.9879 FAIL
10000 sync.save_ack p95 1.0013 1.0871 0.9510 1.0203 FAIL
10000 sync.save_ack p99 0.9717 1.3107 0.7774 0.9458 FAIL
100000 cold.disk_written p50 0.9999 1.0001 1.0001 1.0003 pass
100000 cold.disk_written p95 0.9999 1.0001 1.0001 1.0003 pass
100000 cold.disk_written p99 0.9999 1.0001 1.0001 1.0003 pass
100000 cold.first_page p50 0.9764 0.9938 0.9727 1.0194 pass
100000 cold.first_page p95 0.9764 0.9938 0.9727 1.0194 pass
100000 cold.first_page p99 0.9764 0.9943 0.9727 1.0194 pass
100000 cold.index p50 0.9685 1.0076 1.0487 1.1452 pass
100000 cold.index p95 0.9685 1.0082 1.0487 1.1452 pass
100000 cold.index p99 0.9685 1.0076 1.0487 1.1452 pass
100000 cold.mem_peak p50 0.9961 1.0036 1.0128 1.0285 pass
100000 cold.mem_peak p95 0.9961 1.0036 1.0128 1.0278 pass
100000 cold.mem_peak p99 0.9961 1.0036 1.0128 1.0282 pass
100000 cold.notes_per_s p50 0.9685 1.0076 1.0487 1.1452 pass
100000 cold.notes_per_s p95 0.9685 1.0076 1.0487 1.1452 pass
100000 cold.notes_per_s p99 0.9685 1.0076 1.0487 1.1452 pass
100000 cold.startup p50 1.0957 1.4696 0.8111 0.9017 FAIL
100000 cold.startup p95 1.0957 1.4748 0.8111 0.9017 FAIL
100000 cold.startup p99 1.0957 1.4696 0.8111 0.9017 FAIL
100000 home.first_page p50 0.9069 1.0477 0.7953 0.9683 FAIL
100000 home.first_page p95 0.9069 1.0477 0.7953 0.9683 FAIL
100000 home.first_page p99 0.9069 1.0477 0.7953 0.9683 FAIL
100000 home.page p50 0.9597 0.9992 1.0001 1.0210 pass
100000 home.page p95 0.8005 1.1352 0.9415 1.7072 pass
100000 home.page p99 0.7467 1.0260 0.6893 1.5315 pass
100000 home.page_big p50 1.0166 1.0295 1.0033 1.0478 pass
100000 home.page_big p95 0.8679 1.0114 1.2150 1.5816 pass
100000 home.page_big p99 0.8679 1.0178 1.2150 1.5816 pass
100000 home.page_next p50 1.0429 1.0802 1.0151 1.0394 FAIL
100000 home.page_next p95 1.0785 1.2993 1.1175 1.5416 pass
100000 home.page_next p99 1.0139 1.3674 1.0525 1.2222 FAIL
100000 home.page_tag p50 0.9997 1.0105 0.9896 1.0001 FAIL
100000 home.page_tag p95 0.9899 1.0108 0.9740 0.9960 FAIL
100000 home.page_tag p99 1.0158 1.0633 0.9701 1.0074 FAIL
100000 home.page_title p50 1.0139 1.1115 0.9967 1.0888 FAIL
100000 home.page_title p95 0.9329 1.3450 1.1685 2.2757 pass
100000 home.page_title p99 0.6935 1.1922 1.2663 2.3817 pass
100000 journal.catch_up p50 1.0050 1.0458 0.9462 1.0049 FAIL
100000 journal.catch_up p95 1.0050 1.0458 0.9462 1.0060 FAIL
100000 journal.catch_up p99 1.0050 1.0458 0.9462 1.0049 FAIL
100000 journal.entries p50 1.0000 1.0000 1.0000 1.0000 pass
100000 journal.entries p95 1.0000 1.0000 1.0000 1.0000 pass
100000 journal.entries p99 1.0000 1.0000 1.0000 1.0000 pass
100000 journal.page p50 1.0062 1.0486 0.9537 1.0060 FAIL
100000 journal.page p95 1.0100 1.1086 0.8961 1.0611 FAIL
100000 journal.page p99 0.9919 1.1142 0.8656 1.0449 FAIL
100000 mem.after_first_page p50 0.9962 0.9995 0.9859 0.9960 FAIL
100000 mem.after_first_page p95 0.9962 0.9995 0.9859 0.9960 FAIL
100000 mem.after_first_page p99 0.9962 0.9995 0.9859 0.9960 FAIL
100000 mem.after_opens p50 0.9943 1.0261 1.0021 1.0247 FAIL
100000 mem.after_opens p95 0.9943 1.0261 1.0021 1.0247 FAIL
100000 mem.after_opens p99 0.9943 1.0261 1.0021 1.0247 FAIL
100000 mem.after_search p50 1.0100 1.0323 1.0434 1.1145 pass
100000 mem.after_search p95 1.0100 1.0323 1.0434 1.1145 pass
100000 mem.after_search p99 1.0100 1.0323 1.0434 1.1145 pass
100000 mem.idle p50 0.9929 1.0105 0.9697 0.9989 FAIL
100000 mem.idle p95 0.9929 1.0105 0.9697 0.9989 FAIL
100000 mem.idle p99 0.9929 1.0105 0.9697 0.9989 FAIL
100000 open.api_get p50 1.0187 1.0333 0.9875 1.0493 pass
100000 open.api_get p95 0.8271 1.0175 0.8692 1.4498 pass
100000 open.api_get p99 1.0205 1.0726 0.9816 1.0555 FAIL
100000 open.long_note p50 0.9257 1.0060 0.9772 1.1438 pass
100000 open.long_note p95 0.9257 1.0060 0.9772 1.1438 pass
100000 open.long_note p99 0.9257 1.0060 0.9772 1.1438 pass
100000 open.note p50 0.9999 1.0687 0.9840 1.0694 pass
100000 open.note p95 0.9494 0.9848 0.9864 1.0207 pass
100000 open.note p99 0.9740 1.1504 0.9223 1.0575 FAIL
100000 search.catch_up p50 1.0002 1.0005 1.0000 1.0002 FAIL
100000 search.catch_up p95 1.0002 1.0005 1.0000 1.0002 FAIL
100000 search.catch_up p99 1.0002 1.0005 1.0000 1.0002 FAIL
100000 search.first_query p50 1.0366 1.1552 0.9141 0.9833 FAIL
100000 search.first_query p95 1.0366 1.1552 0.9141 0.9833 FAIL
100000 search.first_query p99 1.0366 1.1552 0.9141 0.9833 FAIL
100000 search.prefix p50 0.7090 0.9336 1.2793 1.8470 pass
100000 search.prefix p95 0.8744 1.8075 2.5721 4.3982 pass
100000 search.prefix p99 1.0215 2.1156 2.4846 4.8343 pass
100000 search.query p50 0.6864 0.9160 1.4807 2.1540 pass
100000 search.query p95 0.9881 1.6128 2.0133 3.0465 pass
100000 search.query p99 0.9006 1.0832 1.0002 1.2875 pass
100000 search.typo p50 0.9953 1.0348 1.3523 1.9743 pass
100000 search.typo p95 0.9803 1.0024 1.1541 1.4868 pass
100000 search.typo p99 0.9625 0.9883 1.2080 1.5703 pass
100000 shutdown p50 0.9714 1.0642 0.9434 1.0039 FAIL
100000 shutdown p95 0.9714 1.0642 0.9434 1.0039 FAIL
100000 shutdown p99 0.9714 1.0642 0.9434 1.0039 FAIL
100000 startup.healthz p50 0.9060 1.0267 0.7834 0.9723 FAIL
100000 startup.healthz p95 0.9060 1.0267 0.7834 0.9723 FAIL
100000 startup.healthz p99 0.9060 1.0267 0.7834 0.9749 FAIL
100000 sync.durable_write p50 0.9764 1.0007 1.0019 1.0163 pass
100000 sync.durable_write p95 0.9113 0.9884 0.9831 1.0414 pass
100000 sync.durable_write p99 0.9686 0.9976 0.8888 0.9338 FAIL
100000 sync.round_trip p50 1.0305 1.0710 1.0294 1.0542 FAIL
100000 sync.round_trip p95 0.9528 0.9828 1.0140 1.0706 pass
100000 sync.round_trip p99 0.7101 1.2158 0.7464 1.2310 pass
100000 sync.save_ack p50 1.0784 1.2262 1.0534 1.1406 FAIL
100000 sync.save_ack p95 0.9709 1.1041 0.9516 1.2730 pass
100000 sync.save_ack p99 1.0347 1.8567 0.7139 1.1262 FAIL

Bootstrap resamples: 20000; paired rounds: 5; candidate/control ratio samples: 10/5.
Ratios normalize lower-is-better metrics as candidate/control; cold.notes_per_s is inverted.
Gate: candidate upper 95% bootstrap bound must be at or below the dev-copy control upper bound for every metric and quantile.
FAIL: 129 comparisons exceeded the dev-copy bound.

Position-balanced reading, r7 and r6
logs: 144/288 over the control bound; 31 with candidate gmean > 1.05
  1000: 39 over bound
  10000: 56 over bound
  100000: 49 over bound
  candidate gmean > 1.05 (notes metric q: cand gmean / U95 ; control gmean / U95):
    10000 home.page p99: 1.684 / 2.524 ; 0.915 / 1.436
    10000 home.page p95: 1.479 / 2.022 ; 1.444 / 2.220
    10000 open.long_note p50: 1.401 / 2.055 ; 1.004 / 1.013
    10000 open.long_note p95: 1.401 / 2.055 ; 1.004 / 1.013
    10000 open.long_note p99: 1.401 / 2.055 ; 1.004 / 1.013
    10000 home.page_title p99: 1.400 / 1.684 ; 1.052 / 1.448
    1000 home.page p99: 1.288 / 1.795 ; 0.639 / 0.747
    10000 search.prefix p99: 1.264 / 2.215 ; 0.791 / 1.040
    100000 sync.save_ack p99: 1.231 / 1.841 ; 0.612 / 1.245
    1000 sync.durable_write p95: 1.185 / 1.422 ; 0.992 / 1.057
    10000 open.api_get p95: 1.175 / 1.318 ; 1.010 / 1.329
    1000 search.prefix p99: 1.135 / 1.248 ; 0.911 / 0.953
    10000 search.prefix p95: 1.133 / 1.853 ; 0.685 / 0.873
    10000 search.first_query p50: 1.131 / 1.264 ; 0.988 / 1.019
    10000 search.first_query p95: 1.131 / 1.264 ; 0.988 / 1.019
    10000 search.first_query p99: 1.131 / 1.264 ; 0.988 / 1.019
    10000 sync.durable_write p95: 1.112 / 1.144 ; 0.992 / 1.025
    10000 sync.durable_write p99: 1.105 / 1.234 ; 1.058 / 1.226
    100000 cold.startup p50: 1.104 / 1.429 ; 0.826 / 0.877
    100000 cold.startup p95: 1.104 / 1.429 ; 0.826 / 0.877
    100000 cold.startup p99: 1.104 / 1.429 ; 0.826 / 0.877
    100000 sync.save_ack p50: 1.092 / 1.335 ; 1.059 / 1.153
    10000 open.api_get p99: 1.090 / 1.184 ; 0.873 / 0.921
    10000 open.api_get p50: 1.085 / 1.145 ; 0.935 / 0.987
    1000 search.prefix p95: 1.084 / 1.195 ; 0.911 / 0.939

/home/claude/Developer/Worktrees/files-s1-perf-c8688c-DE10q9/gate-logs/perf-abab-postboot-r6: 129/288 over the control bound; 50 with candidate gmean > 1.05
  1000: 48 over bound
  10000: 39 over bound
  100000: 42 over bound
  candidate gmean > 1.05 (notes metric q: cand gmean / U95 ; control gmean / U95):
    100000 search.prefix p95: 2.524 / 3.404 ; 0.740 / 1.534
    100000 search.prefix p99: 2.170 / 4.413 ; 0.964 / 2.455
    100000 search.query p95: 2.007 / 3.161 ; 0.886 / 1.771
    10000 sync.save_ack p99: 1.984 / 2.891 ; 1.369 / 1.753
    100000 search.query p99: 1.371 / 1.655 ; 0.892 / 1.236
    100000 search.query p50: 1.367 / 1.795 ; 0.596 / 0.872
    10000 home.first_page p50: 1.351 / 1.623 ; 1.021 / 1.464
    10000 home.first_page p95: 1.351 / 1.623 ; 1.021 / 1.464
    10000 home.first_page p99: 1.351 / 1.648 ; 1.021 / 1.288
    10000 sync.round_trip p99: 1.305 / 1.631 ; 1.111 / 1.584
    100000 search.prefix p50: 1.291 / 1.656 ; 0.657 / 0.914
    10000 sync.save_ack p95: 1.231 / 1.825 ; 1.062 / 1.154
    10000 open.api_get p95: 1.154 / 1.377 ; 1.059 / 1.213
    100000 search.first_query p50: 1.131 / 1.553 ; 1.016 / 1.093
    100000 search.first_query p95: 1.131 / 1.553 ; 1.016 / 1.093
    100000 search.first_query p99: 1.131 / 1.553 ; 1.016 / 1.093
    1000 sync.durable_write p95: 1.107 / 1.310 ; 1.061 / 1.111
    100000 search.typo p50: 1.095 / 1.324 ; 0.900 / 2.220
    1000 sync.save_ack p99: 1.092 / 1.616 ; 1.122 / 1.205
    100000 home.page_big p95: 1.090 / 1.383 ; 0.817 / 0.976
    100000 home.page_big p99: 1.090 / 1.383 ; 0.817 / 0.976
    1000 startup.healthz p50: 1.087 / 1.249 ; 0.973 / 1.016
    1000 startup.healthz p95: 1.087 / 1.249 ; 0.973 / 1.016
    1000 startup.healthz p99: 1.087 / 1.249 ; 0.973 / 1.015
    1000 shutdown p50: 1.086 / 1.232 ; 1.008 / 1.021

### Perf r7 verdict (r6 method): FAIL, 129/288 **Session.** `~/bin/perf-turn files-s1-r7` on perf-01, with perf-02's lock held by a unit on perf-02 for the whole run. Measured 07:34–08:05 CET 14 Nov. Five paired rounds (dev, candidate-a, dev-copy, candidate-b) at 1k, 10k and 100k, `--hot-only --runs 1 --cold-runs 1`. All 20 arms exited 0. **Binaries** (sha256-checked on perf-01): | Arm | Build | SHA-256 | |---|---|---| | candidate | `934ef1c36` | `09fdc5db…f0ade` | | dev, dev-copy | `796d80cba` | `1160fe3e…4eac7e` | | harness (`calternal-perf`) | | `062dd8a7…cadb` | **Result.** Comparator `compare-files-s1.py`, unchanged from r6 (20,000 resamples; candidate U95 ≤ dev-copy U95): **129/288 over the bound** (1k 32/96, 10k 52/96, 100k 45/96). r6 was 111/288. **Not READY.** **What this does and doesn't show:** 1. **The large r6 regressions are gone.** - 100k `search.prefix` p99: 1.02 (U95 2.12), vs r6 2.17 (U95 4.43). - 100k `search.query` p95: 0.99, vs r6 2.01. - 10k `sync.save_ack` p99: 0.97, vs r6 1.98. - 1k `cold.disk_written`: 1.0000, vs r6 1.0008 (no marker writes in the cold window any more). - These match the profile: in r7 the walk touches no marker in any measured server life. 2. **Many remaining "fails" have a candidate gmean near 1.00 and a control well below 1.** For example, 100k `cold.startup` (control 0.81), 10k `shutdown` (0.87), 100k `save_ack` p99 (0.71). - dev always runs in slot 1 and dev-copy in slot 3. So the control (dev-copy/dev) measures slot drift, and the candidate (slots 2 and 4) is judged against a different slot pairing. - With one warm run per arm, single-sample metrics (`open.long_note`, `cold.*`, `shutdown`, `search.first_query`) carry ten samples each. 3. **A position-balanced reading of the same data doesn't settle it either.** Each arm is compared with the dev arms on both sides of it; the control is dev-copy vs its neighbours. - r7: 144/288 over the bound; 31 comparisons with candidate gmean > 1.05. - r6: 129/288; 50 comparisons, including the 2× search rows. - r7's largest remaining point estimates are the ones to watch, even though nothing in r7 runs in their paths during measurement: - 10k `open.long_note` 1.40 (control 1.00) - 10k `search.first_query` 1.13 - 10k `sync.durable_write` p95 1.11 - 100k `cold.startup` 1.10 (control 0.83) - 1k `search.prefix` p99 1.14 **Next (decision taken, not merging).** I've queued one A/A session with the identical layout and comparator: dev, dev-b, dev-copy, dev-b, all the same dev binary. It measures how many of the 288 comparisons this gate fails with no change at all. - If a no-change run also fails about 100+, r7 can't be told apart from noise with this method. The gate then needs more warm runs per arm, or a slot-balanced layout. That's for the orchestrator to decide. - If A/A passes cleanly, the r7 flags above are real, and I'll chase them. <details><summary>Full r7 comparison table (r6 method)</summary> | Notes | Metric | Quantile | Candidate ratio gmean | Candidate upper 95% | Dev-copy ratio gmean | Dev-copy upper 95% | Gate | |---:|---|---|---:|---:|---:|---:|---| | 1000 | cold.disk_written | p50 | 1.0000 | 1.0031 | 1.0035 | 1.0079 | pass | | 1000 | cold.disk_written | p95 | 1.0000 | 1.0033 | 1.0035 | 1.0079 | pass | | 1000 | cold.disk_written | p99 | 1.0000 | 1.0033 | 1.0035 | 1.0079 | pass | | 1000 | cold.first_page | p50 | 0.9699 | 0.9916 | 0.9936 | 1.0130 | pass | | 1000 | cold.first_page | p95 | 0.9699 | 0.9916 | 0.9936 | 1.0130 | pass | | 1000 | cold.first_page | p99 | 0.9699 | 0.9916 | 0.9936 | 1.0130 | pass | | 1000 | cold.index | p50 | 0.9753 | 0.9925 | 0.9946 | 1.0101 | pass | | 1000 | cold.index | p95 | 0.9753 | 0.9925 | 0.9946 | 1.0103 | pass | | 1000 | cold.index | p99 | 0.9753 | 0.9925 | 0.9946 | 1.0101 | pass | | 1000 | cold.mem_peak | p50 | 1.0043 | 1.0159 | 0.9966 | 1.0088 | FAIL | | 1000 | cold.mem_peak | p95 | 1.0043 | 1.0159 | 0.9966 | 1.0088 | FAIL | | 1000 | cold.mem_peak | p99 | 1.0043 | 1.0159 | 0.9966 | 1.0088 | FAIL | | 1000 | cold.notes_per_s | p50 | 0.9753 | 0.9925 | 0.9946 | 1.0101 | pass | | 1000 | cold.notes_per_s | p95 | 0.9753 | 0.9925 | 0.9946 | 1.0101 | pass | | 1000 | cold.notes_per_s | p99 | 0.9753 | 0.9925 | 0.9946 | 1.0101 | pass | | 1000 | cold.startup | p50 | 0.9498 | 0.9647 | 1.1611 | 1.6748 | pass | | 1000 | cold.startup | p95 | 0.9498 | 0.9647 | 1.1611 | 1.6748 | pass | | 1000 | cold.startup | p99 | 0.9498 | 0.9653 | 1.1611 | 1.6748 | pass | | 1000 | home.first_page | p50 | 0.9259 | 1.0623 | 0.8889 | 1.1082 | pass | | 1000 | home.first_page | p95 | 0.9259 | 1.0623 | 0.8889 | 1.1082 | pass | | 1000 | home.first_page | p99 | 0.9259 | 1.0623 | 0.8889 | 1.1082 | pass | | 1000 | home.page | p50 | 0.9878 | 1.0573 | 1.0495 | 1.1266 | pass | | 1000 | home.page | p95 | 0.9658 | 1.0213 | 0.7250 | 1.0096 | FAIL | | 1000 | home.page | p99 | 1.2771 | 1.6349 | 0.6894 | 0.9919 | FAIL | | 1000 | home.page_big | p50 | 0.9921 | 1.0335 | 0.9627 | 1.0357 | pass | | 1000 | home.page_big | p95 | 0.9921 | 1.0335 | 0.9627 | 1.0357 | pass | | 1000 | home.page_big | p99 | 0.9921 | 1.0335 | 0.9627 | 1.0357 | pass | | 1000 | home.page_next | p50 | 0.9933 | 1.0204 | 0.9909 | 1.0912 | pass | | 1000 | home.page_next | p95 | 0.9819 | 1.0487 | 0.9672 | 1.1858 | pass | | 1000 | home.page_next | p99 | 0.9104 | 0.9943 | 0.8626 | 1.2236 | pass | | 1000 | home.page_tag | p50 | 1.0313 | 1.0831 | 0.9793 | 0.9988 | FAIL | | 1000 | home.page_tag | p95 | 0.9953 | 1.1296 | 0.9570 | 1.0865 | FAIL | | 1000 | home.page_tag | p99 | 1.0363 | 1.2018 | 0.8896 | 1.0085 | FAIL | | 1000 | home.page_title | p50 | 1.0150 | 1.0714 | 1.0297 | 1.0854 | pass | | 1000 | home.page_title | p95 | 0.9957 | 1.1572 | 0.9472 | 1.0796 | FAIL | | 1000 | home.page_title | p99 | 0.9814 | 1.1352 | 1.0028 | 1.2604 | pass | | 1000 | journal.catch_up | p50 | 1.0107 | 1.0774 | 1.0352 | 1.1783 | pass | | 1000 | journal.catch_up | p95 | 1.0107 | 1.0774 | 1.0352 | 1.1783 | pass | | 1000 | journal.catch_up | p99 | 1.0107 | 1.0774 | 1.0352 | 1.1783 | pass | | 1000 | journal.entries | p50 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 1000 | journal.entries | p95 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 1000 | journal.entries | p99 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 1000 | journal.page | p50 | 1.0075 | 1.0785 | 1.0342 | 1.1888 | pass | | 1000 | journal.page | p95 | 1.0075 | 1.0785 | 1.0342 | 1.1861 | pass | | 1000 | journal.page | p99 | 1.0075 | 1.0785 | 1.0342 | 1.1888 | pass | | 1000 | mem.after_first_page | p50 | 1.0013 | 1.0159 | 0.9924 | 1.0118 | FAIL | | 1000 | mem.after_first_page | p95 | 1.0013 | 1.0159 | 0.9924 | 1.0118 | FAIL | | 1000 | mem.after_first_page | p99 | 1.0013 | 1.0159 | 0.9924 | 1.0122 | FAIL | | 1000 | mem.after_opens | p50 | 1.0042 | 1.0134 | 0.9979 | 1.0100 | FAIL | | 1000 | mem.after_opens | p95 | 1.0042 | 1.0136 | 0.9979 | 1.0102 | FAIL | | 1000 | mem.after_opens | p99 | 1.0042 | 1.0134 | 0.9979 | 1.0100 | FAIL | | 1000 | mem.after_search | p50 | 0.9830 | 0.9965 | 0.9818 | 1.0175 | pass | | 1000 | mem.after_search | p95 | 0.9830 | 0.9965 | 0.9818 | 1.0175 | pass | | 1000 | mem.after_search | p99 | 0.9830 | 0.9965 | 0.9818 | 1.0159 | pass | | 1000 | mem.idle | p50 | 1.0004 | 1.0120 | 1.0146 | 1.0469 | pass | | 1000 | mem.idle | p95 | 1.0004 | 1.0120 | 1.0146 | 1.0479 | pass | | 1000 | mem.idle | p99 | 1.0004 | 1.0120 | 1.0146 | 1.0479 | pass | | 1000 | open.api_get | p50 | 1.0111 | 1.0356 | 0.9951 | 1.0170 | FAIL | | 1000 | open.api_get | p95 | 0.8950 | 0.9391 | 1.1127 | 1.2018 | pass | | 1000 | open.api_get | p99 | 1.0208 | 1.1028 | 1.0086 | 1.0622 | FAIL | | 1000 | open.long_note | p50 | 1.0110 | 1.0423 | 1.0130 | 1.0448 | pass | | 1000 | open.long_note | p95 | 1.0110 | 1.0423 | 1.0130 | 1.0448 | pass | | 1000 | open.long_note | p99 | 1.0110 | 1.0423 | 1.0130 | 1.0448 | pass | | 1000 | open.note | p50 | 1.0251 | 1.0914 | 1.0292 | 1.0566 | FAIL | | 1000 | open.note | p95 | 0.9911 | 1.0466 | 1.0051 | 1.0759 | pass | | 1000 | open.note | p99 | 0.9927 | 1.0339 | 0.9995 | 1.0685 | pass | | 1000 | search.catch_up | p50 | 1.0000 | 1.0000 | 1.0000 | 1.0002 | pass | | 1000 | search.catch_up | p95 | 1.0000 | 1.0000 | 1.0000 | 1.0002 | pass | | 1000 | search.catch_up | p99 | 1.0000 | 1.0000 | 1.0000 | 1.0002 | pass | | 1000 | search.first_query | p50 | 1.0055 | 1.0957 | 0.9764 | 1.0380 | FAIL | | 1000 | search.first_query | p95 | 1.0055 | 1.0957 | 0.9764 | 1.0380 | FAIL | | 1000 | search.first_query | p99 | 1.0055 | 1.0957 | 0.9764 | 1.0380 | FAIL | | 1000 | search.prefix | p50 | 1.0167 | 1.0690 | 1.0306 | 1.1112 | pass | | 1000 | search.prefix | p95 | 1.0564 | 1.2052 | 0.9692 | 1.0591 | FAIL | | 1000 | search.prefix | p99 | 1.0931 | 1.2724 | 0.9891 | 1.1158 | FAIL | | 1000 | search.query | p50 | 1.0449 | 1.1158 | 0.9952 | 1.0621 | FAIL | | 1000 | search.query | p95 | 1.0209 | 1.0842 | 1.0361 | 1.1228 | pass | | 1000 | search.query | p99 | 1.0189 | 1.0815 | 0.9865 | 1.0297 | FAIL | | 1000 | search.typo | p50 | 1.0169 | 1.0528 | 0.9801 | 1.0283 | FAIL | | 1000 | search.typo | p95 | 1.0246 | 1.0810 | 0.9887 | 1.0359 | FAIL | | 1000 | search.typo | p99 | 1.0607 | 1.1030 | 0.9801 | 1.0281 | FAIL | | 1000 | shutdown | p50 | 1.0002 | 1.1458 | 1.1403 | 1.4765 | pass | | 1000 | shutdown | p95 | 1.0002 | 1.1458 | 1.1403 | 1.4765 | pass | | 1000 | shutdown | p99 | 1.0002 | 1.1458 | 1.1403 | 1.4765 | pass | | 1000 | startup.healthz | p50 | 1.0204 | 1.1000 | 1.1640 | 1.3011 | pass | | 1000 | startup.healthz | p95 | 1.0204 | 1.1000 | 1.1640 | 1.3011 | pass | | 1000 | startup.healthz | p99 | 1.0204 | 1.1000 | 1.1640 | 1.3011 | pass | | 1000 | sync.durable_write | p50 | 0.9797 | 1.0007 | 1.0047 | 1.0377 | pass | | 1000 | sync.durable_write | p95 | 1.1638 | 1.3720 | 0.9976 | 1.1016 | FAIL | | 1000 | sync.durable_write | p99 | 1.0437 | 1.1691 | 1.0007 | 1.1178 | FAIL | | 1000 | sync.round_trip | p50 | 1.0265 | 1.0964 | 1.0151 | 1.0684 | FAIL | | 1000 | sync.round_trip | p95 | 0.9835 | 1.0123 | 0.9512 | 1.0696 | pass | | 1000 | sync.round_trip | p99 | 0.7683 | 0.8970 | 1.2271 | 1.9959 | pass | | 1000 | sync.save_ack | p50 | 1.0064 | 1.0188 | 0.9890 | 1.0029 | FAIL | | 1000 | sync.save_ack | p95 | 1.0138 | 1.0399 | 1.0344 | 1.0639 | pass | | 1000 | sync.save_ack | p99 | 1.0155 | 1.0673 | 0.9894 | 1.1225 | pass | | 10000 | cold.disk_written | p50 | 1.0019 | 1.0023 | 0.9979 | 1.0002 | FAIL | | 10000 | cold.disk_written | p95 | 1.0019 | 1.0023 | 0.9979 | 1.0003 | FAIL | | 10000 | cold.disk_written | p99 | 1.0019 | 1.0023 | 0.9979 | 1.0002 | FAIL | | 10000 | cold.first_page | p50 | 1.0149 | 1.0455 | 0.9684 | 1.0085 | FAIL | | 10000 | cold.first_page | p95 | 1.0149 | 1.0455 | 0.9684 | 1.0085 | FAIL | | 10000 | cold.first_page | p99 | 1.0149 | 1.0455 | 0.9684 | 1.0085 | FAIL | | 10000 | cold.index | p50 | 1.0119 | 1.0465 | 1.0181 | 1.0446 | FAIL | | 10000 | cold.index | p95 | 1.0119 | 1.0457 | 1.0181 | 1.0446 | FAIL | | 10000 | cold.index | p99 | 1.0119 | 1.0457 | 1.0181 | 1.0446 | FAIL | | 10000 | cold.mem_peak | p50 | 1.0002 | 1.0024 | 1.0010 | 1.0040 | pass | | 10000 | cold.mem_peak | p95 | 1.0002 | 1.0023 | 1.0010 | 1.0040 | pass | | 10000 | cold.mem_peak | p99 | 1.0002 | 1.0024 | 1.0010 | 1.0039 | pass | | 10000 | cold.notes_per_s | p50 | 1.0119 | 1.0457 | 1.0181 | 1.0446 | FAIL | | 10000 | cold.notes_per_s | p95 | 1.0119 | 1.0457 | 1.0181 | 1.0446 | FAIL | | 10000 | cold.notes_per_s | p99 | 1.0119 | 1.0457 | 1.0181 | 1.0446 | FAIL | | 10000 | cold.startup | p50 | 0.9795 | 1.0172 | 0.9485 | 0.9933 | FAIL | | 10000 | cold.startup | p95 | 0.9795 | 1.0172 | 0.9485 | 0.9935 | FAIL | | 10000 | cold.startup | p99 | 0.9795 | 1.0172 | 0.9485 | 0.9933 | FAIL | | 10000 | home.first_page | p50 | 0.9273 | 1.1629 | 1.1210 | 1.5706 | pass | | 10000 | home.first_page | p95 | 0.9273 | 1.1598 | 1.1210 | 1.5754 | pass | | 10000 | home.first_page | p99 | 0.9273 | 1.1629 | 1.1210 | 1.5754 | pass | | 10000 | home.page | p50 | 0.9684 | 1.0126 | 1.0190 | 1.1261 | pass | | 10000 | home.page | p95 | 1.3460 | 1.9345 | 1.5674 | 2.1630 | pass | | 10000 | home.page | p99 | 1.5183 | 2.3707 | 1.1312 | 1.9541 | FAIL | | 10000 | home.page_big | p50 | 0.9984 | 1.0292 | 0.9878 | 1.0284 | FAIL | | 10000 | home.page_big | p95 | 1.0043 | 1.0278 | 1.0005 | 1.0788 | pass | | 10000 | home.page_big | p99 | 1.0043 | 1.0278 | 1.0005 | 1.0788 | pass | | 10000 | home.page_next | p50 | 0.9872 | 1.0249 | 1.0701 | 1.1013 | pass | | 10000 | home.page_next | p95 | 1.0317 | 1.1602 | 1.1197 | 1.2085 | pass | | 10000 | home.page_next | p99 | 0.9330 | 1.1569 | 1.0158 | 1.2035 | pass | | 10000 | home.page_tag | p50 | 0.9781 | 1.0187 | 1.0771 | 1.1317 | pass | | 10000 | home.page_tag | p95 | 0.8602 | 0.9165 | 1.0201 | 1.3405 | pass | | 10000 | home.page_tag | p99 | 0.8989 | 0.9919 | 1.0035 | 1.2274 | pass | | 10000 | home.page_title | p50 | 0.9395 | 1.0206 | 1.0472 | 1.1201 | pass | | 10000 | home.page_title | p95 | 0.9760 | 1.1962 | 1.2052 | 1.4498 | pass | | 10000 | home.page_title | p99 | 1.1697 | 1.5046 | 1.0998 | 1.7554 | pass | | 10000 | journal.catch_up | p50 | 0.9755 | 1.0025 | 0.9845 | 1.0353 | pass | | 10000 | journal.catch_up | p95 | 0.9755 | 1.0025 | 0.9845 | 1.0353 | pass | | 10000 | journal.catch_up | p99 | 0.9755 | 1.0025 | 0.9845 | 1.0353 | pass | | 10000 | journal.entries | p50 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 10000 | journal.entries | p95 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 10000 | journal.entries | p99 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 10000 | journal.page | p50 | 0.9657 | 0.9933 | 0.9781 | 1.0292 | pass | | 10000 | journal.page | p95 | 1.0111 | 1.0685 | 0.9858 | 1.0462 | FAIL | | 10000 | journal.page | p99 | 1.0111 | 1.0685 | 0.9858 | 1.0462 | FAIL | | 10000 | mem.after_first_page | p50 | 0.9946 | 1.0047 | 0.9823 | 1.0054 | pass | | 10000 | mem.after_first_page | p95 | 0.9946 | 1.0047 | 0.9823 | 1.0054 | pass | | 10000 | mem.after_first_page | p99 | 0.9946 | 1.0047 | 0.9823 | 1.0054 | pass | | 10000 | mem.after_opens | p50 | 0.9993 | 1.0146 | 0.9972 | 1.0277 | pass | | 10000 | mem.after_opens | p95 | 0.9993 | 1.0146 | 0.9972 | 1.0277 | pass | | 10000 | mem.after_opens | p99 | 0.9993 | 1.0146 | 0.9972 | 1.0277 | pass | | 10000 | mem.after_search | p50 | 0.9953 | 1.0013 | 1.0014 | 1.0214 | pass | | 10000 | mem.after_search | p95 | 0.9953 | 1.0013 | 1.0014 | 1.0214 | pass | | 10000 | mem.after_search | p99 | 0.9953 | 1.0013 | 1.0014 | 1.0214 | pass | | 10000 | mem.idle | p50 | 0.9926 | 1.0057 | 0.9725 | 1.0043 | FAIL | | 10000 | mem.idle | p95 | 0.9926 | 1.0057 | 0.9725 | 1.0043 | FAIL | | 10000 | mem.idle | p99 | 0.9926 | 1.0057 | 0.9725 | 1.0043 | FAIL | | 10000 | open.api_get | p50 | 1.0762 | 1.1469 | 0.9450 | 0.9944 | FAIL | | 10000 | open.api_get | p95 | 1.1533 | 1.2832 | 1.0168 | 1.1596 | FAIL | | 10000 | open.api_get | p99 | 1.0849 | 1.1930 | 0.8987 | 0.9527 | FAIL | | 10000 | open.long_note | p50 | 1.2854 | 1.9764 | 1.2466 | 1.8740 | FAIL | | 10000 | open.long_note | p95 | 1.2854 | 1.9764 | 1.2466 | 1.8740 | FAIL | | 10000 | open.long_note | p99 | 1.2854 | 1.9764 | 1.2466 | 1.8740 | FAIL | | 10000 | open.note | p50 | 1.0401 | 1.0992 | 0.9958 | 1.0584 | FAIL | | 10000 | open.note | p95 | 0.8425 | 1.0545 | 0.5820 | 0.8334 | FAIL | | 10000 | open.note | p99 | 0.8608 | 0.9298 | 1.0214 | 1.2111 | pass | | 10000 | search.catch_up | p50 | 1.0001 | 1.0001 | 1.0000 | 1.0000 | FAIL | | 10000 | search.catch_up | p95 | 1.0001 | 1.0001 | 1.0000 | 1.0000 | FAIL | | 10000 | search.catch_up | p99 | 1.0001 | 1.0001 | 1.0000 | 1.0000 | FAIL | | 10000 | search.first_query | p50 | 1.1299 | 1.2597 | 0.9754 | 1.0286 | FAIL | | 10000 | search.first_query | p95 | 1.1299 | 1.2629 | 0.9754 | 1.0286 | FAIL | | 10000 | search.first_query | p99 | 1.1299 | 1.2597 | 0.9754 | 1.0312 | FAIL | | 10000 | search.prefix | p50 | 0.9934 | 1.0674 | 1.0045 | 1.0845 | pass | | 10000 | search.prefix | p95 | 1.0531 | 1.8143 | 0.9722 | 1.6649 | FAIL | | 10000 | search.prefix | p99 | 1.1648 | 2.0874 | 1.0859 | 1.8427 | FAIL | | 10000 | search.query | p50 | 1.0081 | 1.1038 | 0.9830 | 1.0802 | FAIL | | 10000 | search.query | p95 | 1.0069 | 1.4491 | 0.9093 | 1.0397 | FAIL | | 10000 | search.query | p99 | 1.0620 | 1.0771 | 0.9872 | 1.0098 | FAIL | | 10000 | search.typo | p50 | 1.0530 | 1.2722 | 1.1240 | 1.4780 | pass | | 10000 | search.typo | p95 | 0.8800 | 1.1467 | 1.5405 | 3.4911 | pass | | 10000 | search.typo | p99 | 0.9352 | 1.4179 | 1.7944 | 4.8006 | pass | | 10000 | shutdown | p50 | 1.0024 | 1.3966 | 0.8697 | 0.9999 | FAIL | | 10000 | shutdown | p95 | 1.0024 | 1.3969 | 0.8697 | 0.9999 | FAIL | | 10000 | shutdown | p99 | 1.0024 | 1.3966 | 0.8697 | 0.9999 | FAIL | | 10000 | startup.healthz | p50 | 0.9437 | 0.9870 | 0.9475 | 1.1841 | pass | | 10000 | startup.healthz | p95 | 0.9437 | 0.9870 | 0.9475 | 1.1841 | pass | | 10000 | startup.healthz | p99 | 0.9437 | 0.9870 | 0.9475 | 1.1841 | pass | | 10000 | sync.durable_write | p50 | 1.0764 | 1.1193 | 0.9811 | 0.9851 | FAIL | | 10000 | sync.durable_write | p95 | 1.0981 | 1.1422 | 1.0018 | 1.0351 | FAIL | | 10000 | sync.durable_write | p99 | 1.0848 | 1.2041 | 1.0796 | 1.1654 | FAIL | | 10000 | sync.round_trip | p50 | 1.0550 | 1.1000 | 0.9826 | 1.0107 | FAIL | | 10000 | sync.round_trip | p95 | 1.0131 | 1.0367 | 0.9955 | 1.0201 | FAIL | | 10000 | sync.round_trip | p99 | 0.7281 | 0.9877 | 0.5812 | 1.0984 | pass | | 10000 | sync.save_ack | p50 | 1.0149 | 1.0396 | 0.9736 | 0.9879 | FAIL | | 10000 | sync.save_ack | p95 | 1.0013 | 1.0871 | 0.9510 | 1.0203 | FAIL | | 10000 | sync.save_ack | p99 | 0.9717 | 1.3107 | 0.7774 | 0.9458 | FAIL | | 100000 | cold.disk_written | p50 | 0.9999 | 1.0001 | 1.0001 | 1.0003 | pass | | 100000 | cold.disk_written | p95 | 0.9999 | 1.0001 | 1.0001 | 1.0003 | pass | | 100000 | cold.disk_written | p99 | 0.9999 | 1.0001 | 1.0001 | 1.0003 | pass | | 100000 | cold.first_page | p50 | 0.9764 | 0.9938 | 0.9727 | 1.0194 | pass | | 100000 | cold.first_page | p95 | 0.9764 | 0.9938 | 0.9727 | 1.0194 | pass | | 100000 | cold.first_page | p99 | 0.9764 | 0.9943 | 0.9727 | 1.0194 | pass | | 100000 | cold.index | p50 | 0.9685 | 1.0076 | 1.0487 | 1.1452 | pass | | 100000 | cold.index | p95 | 0.9685 | 1.0082 | 1.0487 | 1.1452 | pass | | 100000 | cold.index | p99 | 0.9685 | 1.0076 | 1.0487 | 1.1452 | pass | | 100000 | cold.mem_peak | p50 | 0.9961 | 1.0036 | 1.0128 | 1.0285 | pass | | 100000 | cold.mem_peak | p95 | 0.9961 | 1.0036 | 1.0128 | 1.0278 | pass | | 100000 | cold.mem_peak | p99 | 0.9961 | 1.0036 | 1.0128 | 1.0282 | pass | | 100000 | cold.notes_per_s | p50 | 0.9685 | 1.0076 | 1.0487 | 1.1452 | pass | | 100000 | cold.notes_per_s | p95 | 0.9685 | 1.0076 | 1.0487 | 1.1452 | pass | | 100000 | cold.notes_per_s | p99 | 0.9685 | 1.0076 | 1.0487 | 1.1452 | pass | | 100000 | cold.startup | p50 | 1.0957 | 1.4696 | 0.8111 | 0.9017 | FAIL | | 100000 | cold.startup | p95 | 1.0957 | 1.4748 | 0.8111 | 0.9017 | FAIL | | 100000 | cold.startup | p99 | 1.0957 | 1.4696 | 0.8111 | 0.9017 | FAIL | | 100000 | home.first_page | p50 | 0.9069 | 1.0477 | 0.7953 | 0.9683 | FAIL | | 100000 | home.first_page | p95 | 0.9069 | 1.0477 | 0.7953 | 0.9683 | FAIL | | 100000 | home.first_page | p99 | 0.9069 | 1.0477 | 0.7953 | 0.9683 | FAIL | | 100000 | home.page | p50 | 0.9597 | 0.9992 | 1.0001 | 1.0210 | pass | | 100000 | home.page | p95 | 0.8005 | 1.1352 | 0.9415 | 1.7072 | pass | | 100000 | home.page | p99 | 0.7467 | 1.0260 | 0.6893 | 1.5315 | pass | | 100000 | home.page_big | p50 | 1.0166 | 1.0295 | 1.0033 | 1.0478 | pass | | 100000 | home.page_big | p95 | 0.8679 | 1.0114 | 1.2150 | 1.5816 | pass | | 100000 | home.page_big | p99 | 0.8679 | 1.0178 | 1.2150 | 1.5816 | pass | | 100000 | home.page_next | p50 | 1.0429 | 1.0802 | 1.0151 | 1.0394 | FAIL | | 100000 | home.page_next | p95 | 1.0785 | 1.2993 | 1.1175 | 1.5416 | pass | | 100000 | home.page_next | p99 | 1.0139 | 1.3674 | 1.0525 | 1.2222 | FAIL | | 100000 | home.page_tag | p50 | 0.9997 | 1.0105 | 0.9896 | 1.0001 | FAIL | | 100000 | home.page_tag | p95 | 0.9899 | 1.0108 | 0.9740 | 0.9960 | FAIL | | 100000 | home.page_tag | p99 | 1.0158 | 1.0633 | 0.9701 | 1.0074 | FAIL | | 100000 | home.page_title | p50 | 1.0139 | 1.1115 | 0.9967 | 1.0888 | FAIL | | 100000 | home.page_title | p95 | 0.9329 | 1.3450 | 1.1685 | 2.2757 | pass | | 100000 | home.page_title | p99 | 0.6935 | 1.1922 | 1.2663 | 2.3817 | pass | | 100000 | journal.catch_up | p50 | 1.0050 | 1.0458 | 0.9462 | 1.0049 | FAIL | | 100000 | journal.catch_up | p95 | 1.0050 | 1.0458 | 0.9462 | 1.0060 | FAIL | | 100000 | journal.catch_up | p99 | 1.0050 | 1.0458 | 0.9462 | 1.0049 | FAIL | | 100000 | journal.entries | p50 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 100000 | journal.entries | p95 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 100000 | journal.entries | p99 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 100000 | journal.page | p50 | 1.0062 | 1.0486 | 0.9537 | 1.0060 | FAIL | | 100000 | journal.page | p95 | 1.0100 | 1.1086 | 0.8961 | 1.0611 | FAIL | | 100000 | journal.page | p99 | 0.9919 | 1.1142 | 0.8656 | 1.0449 | FAIL | | 100000 | mem.after_first_page | p50 | 0.9962 | 0.9995 | 0.9859 | 0.9960 | FAIL | | 100000 | mem.after_first_page | p95 | 0.9962 | 0.9995 | 0.9859 | 0.9960 | FAIL | | 100000 | mem.after_first_page | p99 | 0.9962 | 0.9995 | 0.9859 | 0.9960 | FAIL | | 100000 | mem.after_opens | p50 | 0.9943 | 1.0261 | 1.0021 | 1.0247 | FAIL | | 100000 | mem.after_opens | p95 | 0.9943 | 1.0261 | 1.0021 | 1.0247 | FAIL | | 100000 | mem.after_opens | p99 | 0.9943 | 1.0261 | 1.0021 | 1.0247 | FAIL | | 100000 | mem.after_search | p50 | 1.0100 | 1.0323 | 1.0434 | 1.1145 | pass | | 100000 | mem.after_search | p95 | 1.0100 | 1.0323 | 1.0434 | 1.1145 | pass | | 100000 | mem.after_search | p99 | 1.0100 | 1.0323 | 1.0434 | 1.1145 | pass | | 100000 | mem.idle | p50 | 0.9929 | 1.0105 | 0.9697 | 0.9989 | FAIL | | 100000 | mem.idle | p95 | 0.9929 | 1.0105 | 0.9697 | 0.9989 | FAIL | | 100000 | mem.idle | p99 | 0.9929 | 1.0105 | 0.9697 | 0.9989 | FAIL | | 100000 | open.api_get | p50 | 1.0187 | 1.0333 | 0.9875 | 1.0493 | pass | | 100000 | open.api_get | p95 | 0.8271 | 1.0175 | 0.8692 | 1.4498 | pass | | 100000 | open.api_get | p99 | 1.0205 | 1.0726 | 0.9816 | 1.0555 | FAIL | | 100000 | open.long_note | p50 | 0.9257 | 1.0060 | 0.9772 | 1.1438 | pass | | 100000 | open.long_note | p95 | 0.9257 | 1.0060 | 0.9772 | 1.1438 | pass | | 100000 | open.long_note | p99 | 0.9257 | 1.0060 | 0.9772 | 1.1438 | pass | | 100000 | open.note | p50 | 0.9999 | 1.0687 | 0.9840 | 1.0694 | pass | | 100000 | open.note | p95 | 0.9494 | 0.9848 | 0.9864 | 1.0207 | pass | | 100000 | open.note | p99 | 0.9740 | 1.1504 | 0.9223 | 1.0575 | FAIL | | 100000 | search.catch_up | p50 | 1.0002 | 1.0005 | 1.0000 | 1.0002 | FAIL | | 100000 | search.catch_up | p95 | 1.0002 | 1.0005 | 1.0000 | 1.0002 | FAIL | | 100000 | search.catch_up | p99 | 1.0002 | 1.0005 | 1.0000 | 1.0002 | FAIL | | 100000 | search.first_query | p50 | 1.0366 | 1.1552 | 0.9141 | 0.9833 | FAIL | | 100000 | search.first_query | p95 | 1.0366 | 1.1552 | 0.9141 | 0.9833 | FAIL | | 100000 | search.first_query | p99 | 1.0366 | 1.1552 | 0.9141 | 0.9833 | FAIL | | 100000 | search.prefix | p50 | 0.7090 | 0.9336 | 1.2793 | 1.8470 | pass | | 100000 | search.prefix | p95 | 0.8744 | 1.8075 | 2.5721 | 4.3982 | pass | | 100000 | search.prefix | p99 | 1.0215 | 2.1156 | 2.4846 | 4.8343 | pass | | 100000 | search.query | p50 | 0.6864 | 0.9160 | 1.4807 | 2.1540 | pass | | 100000 | search.query | p95 | 0.9881 | 1.6128 | 2.0133 | 3.0465 | pass | | 100000 | search.query | p99 | 0.9006 | 1.0832 | 1.0002 | 1.2875 | pass | | 100000 | search.typo | p50 | 0.9953 | 1.0348 | 1.3523 | 1.9743 | pass | | 100000 | search.typo | p95 | 0.9803 | 1.0024 | 1.1541 | 1.4868 | pass | | 100000 | search.typo | p99 | 0.9625 | 0.9883 | 1.2080 | 1.5703 | pass | | 100000 | shutdown | p50 | 0.9714 | 1.0642 | 0.9434 | 1.0039 | FAIL | | 100000 | shutdown | p95 | 0.9714 | 1.0642 | 0.9434 | 1.0039 | FAIL | | 100000 | shutdown | p99 | 0.9714 | 1.0642 | 0.9434 | 1.0039 | FAIL | | 100000 | startup.healthz | p50 | 0.9060 | 1.0267 | 0.7834 | 0.9723 | FAIL | | 100000 | startup.healthz | p95 | 0.9060 | 1.0267 | 0.7834 | 0.9723 | FAIL | | 100000 | startup.healthz | p99 | 0.9060 | 1.0267 | 0.7834 | 0.9749 | FAIL | | 100000 | sync.durable_write | p50 | 0.9764 | 1.0007 | 1.0019 | 1.0163 | pass | | 100000 | sync.durable_write | p95 | 0.9113 | 0.9884 | 0.9831 | 1.0414 | pass | | 100000 | sync.durable_write | p99 | 0.9686 | 0.9976 | 0.8888 | 0.9338 | FAIL | | 100000 | sync.round_trip | p50 | 1.0305 | 1.0710 | 1.0294 | 1.0542 | FAIL | | 100000 | sync.round_trip | p95 | 0.9528 | 0.9828 | 1.0140 | 1.0706 | pass | | 100000 | sync.round_trip | p99 | 0.7101 | 1.2158 | 0.7464 | 1.2310 | pass | | 100000 | sync.save_ack | p50 | 1.0784 | 1.2262 | 1.0534 | 1.1406 | FAIL | | 100000 | sync.save_ack | p95 | 0.9709 | 1.1041 | 0.9516 | 1.2730 | pass | | 100000 | sync.save_ack | p99 | 1.0347 | 1.8567 | 0.7139 | 1.1262 | FAIL | Bootstrap resamples: 20000; paired rounds: 5; candidate/control ratio samples: 10/5. Ratios normalize lower-is-better metrics as candidate/control; cold.notes_per_s is inverted. Gate: candidate upper 95% bootstrap bound must be at or below the dev-copy control upper bound for every metric and quantile. FAIL: 129 comparisons exceeded the dev-copy bound. </details> <details><summary>Position-balanced reading, r7 and r6</summary> ``` logs: 144/288 over the control bound; 31 with candidate gmean > 1.05 1000: 39 over bound 10000: 56 over bound 100000: 49 over bound candidate gmean > 1.05 (notes metric q: cand gmean / U95 ; control gmean / U95): 10000 home.page p99: 1.684 / 2.524 ; 0.915 / 1.436 10000 home.page p95: 1.479 / 2.022 ; 1.444 / 2.220 10000 open.long_note p50: 1.401 / 2.055 ; 1.004 / 1.013 10000 open.long_note p95: 1.401 / 2.055 ; 1.004 / 1.013 10000 open.long_note p99: 1.401 / 2.055 ; 1.004 / 1.013 10000 home.page_title p99: 1.400 / 1.684 ; 1.052 / 1.448 1000 home.page p99: 1.288 / 1.795 ; 0.639 / 0.747 10000 search.prefix p99: 1.264 / 2.215 ; 0.791 / 1.040 100000 sync.save_ack p99: 1.231 / 1.841 ; 0.612 / 1.245 1000 sync.durable_write p95: 1.185 / 1.422 ; 0.992 / 1.057 10000 open.api_get p95: 1.175 / 1.318 ; 1.010 / 1.329 1000 search.prefix p99: 1.135 / 1.248 ; 0.911 / 0.953 10000 search.prefix p95: 1.133 / 1.853 ; 0.685 / 0.873 10000 search.first_query p50: 1.131 / 1.264 ; 0.988 / 1.019 10000 search.first_query p95: 1.131 / 1.264 ; 0.988 / 1.019 10000 search.first_query p99: 1.131 / 1.264 ; 0.988 / 1.019 10000 sync.durable_write p95: 1.112 / 1.144 ; 0.992 / 1.025 10000 sync.durable_write p99: 1.105 / 1.234 ; 1.058 / 1.226 100000 cold.startup p50: 1.104 / 1.429 ; 0.826 / 0.877 100000 cold.startup p95: 1.104 / 1.429 ; 0.826 / 0.877 100000 cold.startup p99: 1.104 / 1.429 ; 0.826 / 0.877 100000 sync.save_ack p50: 1.092 / 1.335 ; 1.059 / 1.153 10000 open.api_get p99: 1.090 / 1.184 ; 0.873 / 0.921 10000 open.api_get p50: 1.085 / 1.145 ; 0.935 / 0.987 1000 search.prefix p95: 1.084 / 1.195 ; 0.911 / 0.939 /home/claude/Developer/Worktrees/files-s1-perf-c8688c-DE10q9/gate-logs/perf-abab-postboot-r6: 129/288 over the control bound; 50 with candidate gmean > 1.05 1000: 48 over bound 10000: 39 over bound 100000: 42 over bound candidate gmean > 1.05 (notes metric q: cand gmean / U95 ; control gmean / U95): 100000 search.prefix p95: 2.524 / 3.404 ; 0.740 / 1.534 100000 search.prefix p99: 2.170 / 4.413 ; 0.964 / 2.455 100000 search.query p95: 2.007 / 3.161 ; 0.886 / 1.771 10000 sync.save_ack p99: 1.984 / 2.891 ; 1.369 / 1.753 100000 search.query p99: 1.371 / 1.655 ; 0.892 / 1.236 100000 search.query p50: 1.367 / 1.795 ; 0.596 / 0.872 10000 home.first_page p50: 1.351 / 1.623 ; 1.021 / 1.464 10000 home.first_page p95: 1.351 / 1.623 ; 1.021 / 1.464 10000 home.first_page p99: 1.351 / 1.648 ; 1.021 / 1.288 10000 sync.round_trip p99: 1.305 / 1.631 ; 1.111 / 1.584 100000 search.prefix p50: 1.291 / 1.656 ; 0.657 / 0.914 10000 sync.save_ack p95: 1.231 / 1.825 ; 1.062 / 1.154 10000 open.api_get p95: 1.154 / 1.377 ; 1.059 / 1.213 100000 search.first_query p50: 1.131 / 1.553 ; 1.016 / 1.093 100000 search.first_query p95: 1.131 / 1.553 ; 1.016 / 1.093 100000 search.first_query p99: 1.131 / 1.553 ; 1.016 / 1.093 1000 sync.durable_write p95: 1.107 / 1.310 ; 1.061 / 1.111 100000 search.typo p50: 1.095 / 1.324 ; 0.900 / 2.220 1000 sync.save_ack p99: 1.092 / 1.616 ; 1.122 / 1.205 100000 home.page_big p95: 1.090 / 1.383 ; 0.817 / 0.976 100000 home.page_big p99: 1.090 / 1.383 ; 0.817 / 0.976 1000 startup.healthz p50: 1.087 / 1.249 ; 0.973 / 1.016 1000 startup.healthz p95: 1.087 / 1.249 ; 0.973 / 1.016 1000 startup.healthz p99: 1.087 / 1.249 ; 0.973 / 1.015 1000 shutdown p50: 1.086 / 1.232 ; 1.008 / 1.021 ``` </details>
Author
Owner

Perf r7 session is SUSPECT for timing (backup01 contention)

The r7 turn measured 06:34:49–07:05:10 UTC on 14 Nov. That is entirely inside infraternal #260's J618/J610 benchmark jobs on backup01, the host under perf-01 and perf-02 (about 06:15–07:30 UTC).

The dev/dev-copy control in the same session saw the same contention, but it can't make the comparison trustworthy: the drift was large (the control is far from 1 on several metrics, e.g. 100k cold.startup 0.81). So treat the 129/288 above and the position-balanced reading as void for the verdict.

The r6-vs-r7 contrast on the 2× rows (100k search, 10k save_ack) still matches the syscall profile, which doesn't depend on timing.

Re-run, decided: I replaced the queued A/A ticket with one combined turn, files-s1-r7-combo (about 62 min, under the 90-minute limit). Each round runs dev, candidate-a, dev-copy, candidate-b, then dev, dev-b, dev-copy, dev-b (dev-b is the dev binary). Five rounds at 1k/10k/100k. The r7 re-run and its no-change control share every round, so they see the same drift. Before reading results I'll check #260 for overlap.

### Perf r7 session is SUSPECT for timing (backup01 contention) The r7 turn measured **06:34:49–07:05:10 UTC** on 14 Nov. That is entirely inside infraternal #260's J618/J610 benchmark jobs on backup01, the host under perf-01 and perf-02 (about 06:15–07:30 UTC). The dev/dev-copy control in the same session saw the same contention, but it can't make the comparison trustworthy: the drift was large (the control is far from 1 on several metrics, e.g. 100k `cold.startup` 0.81). So treat the 129/288 above and the position-balanced reading as **void for the verdict**. The r6-vs-r7 contrast on the 2× rows (100k search, 10k save_ack) still matches the syscall profile, which doesn't depend on timing. **Re-run, decided:** I replaced the queued A/A ticket with one combined turn, `files-s1-r7-combo` (about 62 min, under the 90-minute limit). Each round runs dev, candidate-a, dev-copy, candidate-b, then dev, dev-b, dev-copy, dev-b (dev-b is the dev binary). Five rounds at 1k/10k/100k. The r7 re-run and its no-change control share every round, so they see the same drift. Before reading results I'll check #260 for overlap.
Author
Owner

Perf r7 re-run + A/A control (combined turn): r6 method FAIL, and a no-change run fails it about equally

Session. ~/bin/perf-turn files-s1-r7-combo on perf-01, with perf-02's lock held by a unit for the whole run. Measured 10:02:06–11:03:56 UTC 14 Nov; all 40 arms exited 0.

  • Each round ran block 1 (dev, candidate-a, dev-copy, candidate-b) and then block 2 (dev, dev-b, dev-copy, dev-b). dev-b is the dev binary.
  • Binaries are the same as r7 and sha256-checked. Five rounds at 1k/10k/100k, --hot-only --runs 1 --cold-runs 1.

Overlap check against infraternal #260. J618/J610 had ended. J629 took backup01 at 11:01:28 UTC, so it overlaps only the last ~2.5 min: round 5's final block-2 arm (dev-b). That arm is marked suspect. The difference-in-differences reading below is also given without round 5; the conclusions don't change.

Comparator (compare-files-s1.py, unchanged) 1k 10k 100k Total
r7 candidate vs dev-copy bound 37/96 47/96 60/96 144/288
A/A, dev vs dev vs dev-copy bound 47/96 42/96 42/96 131/288

The A/A row is the key fact. With the identical layout and comparator and no code change at all, 131 of 288 comparisons fail.

  • Comparing two noisy upper bounds is close to a coin flip per comparison.
  • One warm run per arm leaves the p95/p99 cells and the single-sample metrics with ten values each.
  • So this gate can't separate r7 (144) from no change (131). By the rule as written, r7 is FAIL and not READY. But the rule can't be passed by dev itself either.

Difference-in-differences (same session, same slots). Per round, the candidate block is compared with the dev-b block. Each block's own dev and dev-copy arms correct for drift between the two blocks. Bootstrap over rounds, 95% intervals.

Rounds Regressions clearing noise Improvements clearing noise
1–5 23 34
1–4 25 35
  • With honest intervals, no change would put about 7 on each side. Both sides are well above that and roughly balanced, so five rounds understate the noise.
  • Consistent cells to watch (they persist with round 5 dropped):
    • 10k home.page p95: 1.73–1.84
    • 10k and 100k home.page_title p95/p99: 1.4–2.1
    • 10k search.prefix p95: 1.9–2.3
    • 10k search.query p95: 1.36–1.57
  • Mirror-image cells on the improvement side:
    • 1k search.prefix and search.query: 0.82–0.90
    • 10k home.first_page: 0.76
    • 1k mem.idle: 0.94
  • r7 runs no code in those request paths during measurement. The walk touches no marker in any measured server life (strace with openat2, above). The only per-request addition is one relaxed atomic store in start_home.
  • The r6 signal is gone. 100k search.prefix and search.query are no longer 2×, and 1k cold.disk_written is 0.996 [0.992, 0.999] (no marker writes in the cold window).

What I recommend, for the orchestrator to decide; I'm not merging:

  1. Judge #1117 with a method a no-op can pass. For example: --runs 3 per arm (three warm samples), ABAB ×5, and the gate "candidate U95 ≤ A/A U95" taken from an A/A block in the same turn, or the difference-in-differences above with ≥8 rounds. A turn like that is about 2 × 62 min, so split by size: 100k in one turn, 1k+10k in another.
  2. If the 10k home.page/home.page_title/search p95 cells survive that, I'll profile them directly. Nothing in this branch is known to touch them.
r7 re-run, r6 method
Notes Metric Quantile Candidate ratio gmean Candidate upper 95% Dev-copy ratio gmean Dev-copy upper 95% Gate
1000 cold.disk_written p50 0.9992 1.0012 1.0040 1.0055 pass
1000 cold.disk_written p95 0.9992 1.0012 1.0040 1.0055 pass
1000 cold.disk_written p99 0.9992 1.0012 1.0040 1.0055 pass
1000 cold.first_page p50 0.9979 1.0393 1.0190 1.0410 pass
1000 cold.first_page p95 0.9979 1.0391 1.0190 1.0410 pass
1000 cold.first_page p99 0.9979 1.0393 1.0190 1.0410 pass
1000 cold.index p50 0.9980 1.0308 1.0146 1.0332 pass
1000 cold.index p95 0.9980 1.0308 1.0146 1.0332 pass
1000 cold.index p99 0.9980 1.0308 1.0146 1.0332 pass
1000 cold.mem_peak p50 1.0092 1.0196 1.0019 1.0143 FAIL
1000 cold.mem_peak p95 1.0092 1.0196 1.0019 1.0143 FAIL
1000 cold.mem_peak p99 1.0092 1.0196 1.0019 1.0143 FAIL
1000 cold.notes_per_s p50 0.9980 1.0308 1.0146 1.0332 pass
1000 cold.notes_per_s p95 0.9980 1.0308 1.0146 1.0332 pass
1000 cold.notes_per_s p99 0.9980 1.0308 1.0146 1.0332 pass
1000 cold.startup p50 1.0049 1.0611 1.2487 1.7042 pass
1000 cold.startup p95 1.0049 1.0611 1.2487 1.7042 pass
1000 cold.startup p99 1.0049 1.0611 1.2487 1.7042 pass
1000 home.first_page p50 0.9078 1.0465 0.7719 1.1242 pass
1000 home.first_page p95 0.9078 1.0528 0.7719 1.1242 pass
1000 home.first_page p99 0.9078 1.0528 0.7719 1.1171 pass
1000 home.page p50 0.9918 1.0122 0.9471 1.0103 FAIL
1000 home.page p95 1.0559 1.3298 0.9585 1.2542 FAIL
1000 home.page p99 1.1107 1.4984 0.7880 1.1635 FAIL
1000 home.page_big p50 1.0035 1.0191 0.9676 1.0041 FAIL
1000 home.page_big p95 1.0035 1.0191 0.9676 1.0041 FAIL
1000 home.page_big p99 1.0035 1.0191 0.9676 1.0041 FAIL
1000 home.page_next p50 0.9998 1.0189 0.9658 1.0002 FAIL
1000 home.page_next p95 1.0078 1.0433 0.9201 0.9641 FAIL
1000 home.page_next p99 1.0087 1.0448 0.9445 1.0402 FAIL
1000 home.page_tag p50 0.9885 1.0198 0.9449 0.9928 FAIL
1000 home.page_tag p95 0.9974 1.0472 0.8782 0.9788 FAIL
1000 home.page_tag p99 0.9689 1.0382 0.9237 1.0224 FAIL
1000 home.page_title p50 0.9796 1.0145 0.9896 1.0582 pass
1000 home.page_title p95 1.0013 1.0754 0.8823 1.0211 FAIL
1000 home.page_title p99 1.0014 1.2125 0.7339 0.9875 FAIL
1000 journal.catch_up p50 0.9029 0.9750 1.0062 1.1350 pass
1000 journal.catch_up p95 0.9029 0.9788 1.0062 1.1350 pass
1000 journal.catch_up p99 0.9029 0.9750 1.0062 1.1350 pass
1000 journal.entries p50 1.0000 1.0000 1.0000 1.0000 pass
1000 journal.entries p95 1.0000 1.0000 1.0000 1.0000 pass
1000 journal.entries p99 1.0000 1.0000 1.0000 1.0000 pass
1000 journal.page p50 0.8972 0.9770 0.9985 1.1251 pass
1000 journal.page p95 0.8972 0.9741 0.9985 1.1251 pass
1000 journal.page p99 0.8972 0.9770 0.9985 1.1251 pass
1000 mem.after_first_page p50 0.9766 1.0026 0.9664 0.9966 FAIL
1000 mem.after_first_page p95 0.9766 1.0026 0.9664 0.9966 FAIL
1000 mem.after_first_page p99 0.9766 1.0026 0.9664 0.9966 FAIL
1000 mem.after_opens p50 1.0053 1.0106 1.0000 1.0135 pass
1000 mem.after_opens p95 1.0053 1.0106 1.0000 1.0135 pass
1000 mem.after_opens p99 1.0053 1.0106 1.0000 1.0135 pass
1000 mem.after_search p50 1.0031 1.0159 1.0182 1.0455 pass
1000 mem.after_search p95 1.0031 1.0162 1.0182 1.0454 pass
1000 mem.after_search p99 1.0031 1.0162 1.0182 1.0454 pass
1000 mem.idle p50 0.9753 0.9924 0.9644 0.9961 pass
1000 mem.idle p95 0.9753 0.9923 0.9644 0.9961 pass
1000 mem.idle p99 0.9753 0.9924 0.9644 0.9961 pass
1000 open.api_get p50 0.9808 0.9968 0.9837 1.0111 pass
1000 open.api_get p95 0.9463 1.0377 0.8704 1.0168 FAIL
1000 open.api_get p99 0.9884 1.0401 0.9676 1.0378 FAIL
1000 open.long_note p50 0.9548 0.9876 0.9706 1.0288 pass
1000 open.long_note p95 0.9548 0.9876 0.9706 1.0288 pass
1000 open.long_note p99 0.9548 0.9876 0.9706 1.0288 pass
1000 open.note p50 0.9871 1.0174 0.9793 1.0356 pass
1000 open.note p95 0.9360 0.9577 0.9703 1.0303 pass
1000 open.note p99 0.8390 0.9513 0.9773 1.1419 pass
1000 search.catch_up p50 1.0000 1.0000 1.0000 1.0001 pass
1000 search.catch_up p95 1.0000 1.0001 1.0000 1.0001 pass
1000 search.catch_up p99 1.0000 1.0001 1.0000 1.0001 pass
1000 search.first_query p50 1.0320 1.0900 1.0006 1.0653 FAIL
1000 search.first_query p95 1.0320 1.0921 1.0006 1.0653 FAIL
1000 search.first_query p99 1.0320 1.0900 1.0006 1.0653 FAIL
1000 search.prefix p50 0.9368 0.9671 1.0611 1.1801 pass
1000 search.prefix p95 0.9568 0.9772 1.1513 1.3185 pass
1000 search.prefix p99 0.9794 1.1862 1.1054 1.3325 pass
1000 search.query p50 0.9458 0.9689 1.1030 1.2027 pass
1000 search.query p95 0.9448 0.9692 1.0277 1.1222 pass
1000 search.query p99 1.0053 1.0380 0.9518 1.0302 FAIL
1000 search.typo p50 1.0420 1.1221 1.0112 1.1197 FAIL
1000 search.typo p95 1.0034 1.0697 0.9743 1.0641 FAIL
1000 search.typo p99 0.9099 1.0347 0.7411 1.0255 FAIL
1000 shutdown p50 1.0021 1.3163 0.8769 1.3100 FAIL
1000 shutdown p95 1.0021 1.3163 0.8769 1.3100 FAIL
1000 shutdown p99 1.0021 1.3163 0.8769 1.3100 FAIL
1000 startup.healthz p50 1.0889 1.3867 0.7981 0.9017 FAIL
1000 startup.healthz p95 1.0889 1.3867 0.7981 0.9017 FAIL
1000 startup.healthz p99 1.0889 1.3867 0.7981 0.9017 FAIL
1000 sync.durable_write p50 0.9995 1.0332 1.0356 1.0814 pass
1000 sync.durable_write p95 0.9967 1.0291 0.9892 1.1594 pass
1000 sync.durable_write p99 0.9852 1.0098 1.0178 1.0565 pass
1000 sync.round_trip p50 0.9902 1.0039 1.0651 1.1103 pass
1000 sync.round_trip p95 1.0005 1.0406 1.0413 1.0686 pass
1000 sync.round_trip p99 1.0578 1.3560 1.4509 1.7135 pass
1000 sync.save_ack p50 0.9999 1.0110 1.0308 1.0396 pass
1000 sync.save_ack p95 1.0736 1.2083 0.9356 1.0917 FAIL
1000 sync.save_ack p99 1.0680 1.2836 1.0053 1.1782 FAIL
10000 cold.disk_written p50 1.0018 1.0025 0.9965 0.9985 FAIL
10000 cold.disk_written p95 1.0018 1.0025 0.9965 0.9985 FAIL
10000 cold.disk_written p99 1.0018 1.0025 0.9965 0.9985 FAIL
10000 cold.first_page p50 0.9750 1.0276 0.9635 1.0425 pass
10000 cold.first_page p95 0.9750 1.0276 0.9635 1.0425 pass
10000 cold.first_page p99 0.9750 1.0309 0.9635 1.0425 pass
10000 cold.index p50 1.0068 1.0397 0.9917 1.0274 FAIL
10000 cold.index p95 1.0068 1.0390 0.9917 1.0251 FAIL
10000 cold.index p99 1.0068 1.0390 0.9917 1.0251 FAIL
10000 cold.mem_peak p50 1.0041 1.0085 1.0035 1.0072 FAIL
10000 cold.mem_peak p95 1.0041 1.0085 1.0035 1.0073 FAIL
10000 cold.mem_peak p99 1.0041 1.0085 1.0035 1.0073 FAIL
10000 cold.notes_per_s p50 1.0068 1.0390 0.9917 1.0251 FAIL
10000 cold.notes_per_s p95 1.0068 1.0390 0.9917 1.0274 FAIL
10000 cold.notes_per_s p99 1.0068 1.0390 0.9917 1.0251 FAIL
10000 cold.startup p50 0.9829 1.0289 0.9873 1.0493 pass
10000 cold.startup p95 0.9829 1.0289 0.9873 1.0493 pass
10000 cold.startup p99 0.9829 1.0289 0.9873 1.0493 pass
10000 home.first_page p50 0.7379 0.9163 0.7714 1.0565 pass
10000 home.first_page p95 0.7379 0.9163 0.7714 1.0565 pass
10000 home.first_page p99 0.7379 0.9163 0.7714 1.0565 pass
10000 home.page p50 1.0117 1.1029 1.0226 1.1832 pass
10000 home.page p95 1.4709 1.6823 1.1477 1.9861 pass
10000 home.page p99 1.2090 1.6537 0.7385 1.7512 pass
10000 home.page_big p50 1.0275 1.0514 0.9929 1.0034 FAIL
10000 home.page_big p95 1.0081 1.0518 0.9518 0.9997 FAIL
10000 home.page_big p99 1.0081 1.0518 0.9518 0.9974 FAIL
10000 home.page_next p50 1.0542 1.0723 0.9812 1.0370 FAIL
10000 home.page_next p95 1.1085 1.1812 0.9528 1.0430 FAIL
10000 home.page_next p99 1.1041 1.2201 0.8795 1.0045 FAIL
10000 home.page_tag p50 1.0142 1.0475 0.9708 1.0060 FAIL
10000 home.page_tag p95 1.0403 1.1132 0.9575 1.0350 FAIL
10000 home.page_tag p99 0.9454 1.1405 0.8202 1.0475 FAIL
10000 home.page_title p50 1.0217 1.0996 0.9165 0.9911 FAIL
10000 home.page_title p95 1.0835 1.3189 1.1687 1.5716 pass
10000 home.page_title p99 1.3502 2.0820 1.0371 1.1257 FAIL
10000 journal.catch_up p50 1.0459 1.1023 0.9474 1.0017 FAIL
10000 journal.catch_up p95 1.0459 1.1023 0.9474 1.0017 FAIL
10000 journal.catch_up p99 1.0459 1.1023 0.9474 1.0017 FAIL
10000 journal.entries p50 1.0000 1.0000 1.0000 1.0000 pass
10000 journal.entries p95 1.0000 1.0000 1.0000 1.0000 pass
10000 journal.entries p99 1.0000 1.0000 1.0000 1.0000 pass
10000 journal.page p50 1.0552 1.1215 0.9550 1.0029 FAIL
10000 journal.page p95 1.0919 1.1606 0.9162 0.9963 FAIL
10000 journal.page p99 1.0919 1.1606 0.9162 0.9963 FAIL
10000 mem.after_first_page p50 0.9922 1.0032 0.9951 1.0099 pass
10000 mem.after_first_page p95 0.9922 1.0032 0.9951 1.0099 pass
10000 mem.after_first_page p99 0.9922 1.0032 0.9951 1.0099 pass
10000 mem.after_opens p50 1.0195 1.0322 1.0116 1.0261 FAIL
10000 mem.after_opens p95 1.0195 1.0322 1.0116 1.0261 FAIL
10000 mem.after_opens p99 1.0195 1.0322 1.0116 1.0261 FAIL
10000 mem.after_search p50 1.0042 1.0247 1.0052 1.0231 FAIL
10000 mem.after_search p95 1.0042 1.0247 1.0052 1.0231 FAIL
10000 mem.after_search p99 1.0042 1.0247 1.0052 1.0231 FAIL
10000 mem.idle p50 0.9985 1.0106 0.9868 1.0142 pass
10000 mem.idle p95 0.9985 1.0106 0.9868 1.0142 pass
10000 mem.idle p99 0.9985 1.0106 0.9868 1.0142 pass
10000 open.api_get p50 1.0315 1.1230 1.0846 1.1234 pass
10000 open.api_get p95 1.0050 1.0887 1.1266 1.3466 pass
10000 open.api_get p99 1.0179 1.0802 1.0522 1.1406 pass
10000 open.long_note p50 1.2862 2.0350 0.7915 1.0013 FAIL
10000 open.long_note p95 1.2862 2.0350 0.7915 1.0013 FAIL
10000 open.long_note p99 1.2862 2.0350 0.7915 1.0013 FAIL
10000 open.note p50 0.9917 1.0184 1.0351 1.1395 pass
10000 open.note p95 0.8508 0.9105 0.9153 1.1895 pass
10000 open.note p99 0.9947 1.1582 1.0518 1.4718 pass
10000 search.catch_up p50 1.0000 1.0000 1.0001 1.0002 pass
10000 search.catch_up p95 1.0000 1.0001 1.0001 1.0002 pass
10000 search.catch_up p99 1.0000 1.0000 1.0001 1.0002 pass
10000 search.first_query p50 1.0872 1.2229 1.0002 1.2112 FAIL
10000 search.first_query p95 1.0872 1.2308 1.0002 1.2112 FAIL
10000 search.first_query p99 1.0872 1.2229 1.0002 1.2112 FAIL
10000 search.prefix p50 1.0700 1.1664 1.1612 1.3921 pass
10000 search.prefix p95 1.6544 2.2298 2.1880 3.7311 pass
10000 search.prefix p99 1.7778 2.7089 2.3080 5.2863 pass
10000 search.query p50 1.1296 1.2932 1.2230 1.4448 pass
10000 search.query p95 1.3308 1.7791 1.7399 2.6556 pass
10000 search.query p99 1.0781 1.1005 0.9929 1.0368 FAIL
10000 search.typo p50 1.3184 1.6065 1.1214 1.2917 FAIL
10000 search.typo p95 1.1570 1.5047 1.0681 1.5269 pass
10000 search.typo p99 1.1187 1.5832 0.9015 1.7223 pass
10000 shutdown p50 1.0708 1.3011 0.8757 1.3036 pass
10000 shutdown p95 1.0708 1.3011 0.8757 1.3036 pass
10000 shutdown p99 1.0708 1.3011 0.8757 1.3036 pass
10000 startup.healthz p50 0.9177 0.9976 1.0176 1.1300 pass
10000 startup.healthz p95 0.9177 0.9976 1.0176 1.1300 pass
10000 startup.healthz p99 0.9177 0.9976 1.0176 1.1300 pass
10000 sync.durable_write p50 0.9920 0.9982 1.0006 1.0143 pass
10000 sync.durable_write p95 0.9762 1.0238 0.9395 0.9615 FAIL
10000 sync.durable_write p99 1.1028 1.2035 0.9588 1.0123 FAIL
10000 sync.round_trip p50 1.0392 1.0754 0.9798 1.0323 FAIL
10000 sync.round_trip p95 1.0221 1.0306 0.9995 1.0371 pass
10000 sync.round_trip p99 0.7380 0.9087 1.1906 2.2534 pass
10000 sync.save_ack p50 0.9890 1.0043 1.0385 1.1067 pass
10000 sync.save_ack p95 1.0254 1.0940 0.9881 1.0408 FAIL
10000 sync.save_ack p99 0.6140 0.7534 0.7842 1.5289 pass
100000 cold.disk_written p50 1.0000 1.0001 0.9997 0.9999 FAIL
100000 cold.disk_written p95 1.0000 1.0001 0.9997 0.9999 FAIL
100000 cold.disk_written p99 1.0000 1.0001 0.9997 0.9999 FAIL
100000 cold.first_page p50 0.9985 1.0217 1.0348 1.0768 pass
100000 cold.first_page p95 0.9985 1.0217 1.0348 1.0772 pass
100000 cold.first_page p99 0.9985 1.0217 1.0348 1.0768 pass
100000 cold.index p50 1.0034 1.0314 1.0062 1.0188 FAIL
100000 cold.index p95 1.0034 1.0314 1.0062 1.0188 FAIL
100000 cold.index p99 1.0034 1.0314 1.0062 1.0188 FAIL
100000 cold.mem_peak p50 1.0094 1.0195 1.0262 1.0368 pass
100000 cold.mem_peak p95 1.0094 1.0195 1.0262 1.0368 pass
100000 cold.mem_peak p99 1.0094 1.0195 1.0262 1.0368 pass
100000 cold.notes_per_s p50 1.0034 1.0314 1.0062 1.0188 FAIL
100000 cold.notes_per_s p95 1.0034 1.0314 1.0062 1.0188 FAIL
100000 cold.notes_per_s p99 1.0034 1.0314 1.0062 1.0188 FAIL
100000 cold.startup p50 1.0180 1.1584 1.0273 1.1615 pass
100000 cold.startup p95 1.0180 1.1584 1.0273 1.1615 pass
100000 cold.startup p99 1.0180 1.1584 1.0273 1.1615 pass
100000 home.first_page p50 1.0625 1.1133 0.8429 1.0380 FAIL
100000 home.first_page p95 1.0625 1.1133 0.8429 1.0380 FAIL
100000 home.first_page p99 1.0625 1.1133 0.8429 1.0380 FAIL
100000 home.page p50 1.0912 1.2444 1.0008 1.1645 FAIL
100000 home.page p95 1.1303 1.6533 1.0662 1.5464 FAIL
100000 home.page p99 1.0917 1.5971 0.9688 2.2671 pass
100000 home.page_big p50 1.0069 1.0952 1.0270 1.1310 pass
100000 home.page_big p95 1.0171 1.3402 0.9179 1.0433 FAIL
100000 home.page_big p99 1.0171 1.3628 0.9179 1.0433 FAIL
100000 home.page_next p50 1.1699 1.2612 1.0099 1.0585 FAIL
100000 home.page_next p95 1.1080 1.4341 0.6575 1.0441 FAIL
100000 home.page_next p99 1.0173 1.2056 0.9287 1.4288 pass
100000 home.page_tag p50 1.0039 1.0179 1.0258 1.0437 pass
100000 home.page_tag p95 1.0233 1.0494 1.0527 1.1111 pass
100000 home.page_tag p99 1.0314 1.0822 1.0128 1.0908 pass
100000 home.page_title p50 1.1333 1.3004 0.8943 1.0306 FAIL
100000 home.page_title p95 1.3842 1.7948 0.8040 0.9735 FAIL
100000 home.page_title p99 1.2772 2.0307 0.7729 0.9625 FAIL
100000 journal.catch_up p50 0.9571 1.0099 1.0380 1.0980 pass
100000 journal.catch_up p95 0.9571 1.0099 1.0380 1.0980 pass
100000 journal.catch_up p99 0.9571 1.0099 1.0380 1.0980 pass
100000 journal.entries p50 1.0000 1.0000 1.0000 1.0000 pass
100000 journal.entries p95 1.0000 1.0000 1.0000 1.0000 pass
100000 journal.entries p99 1.0000 1.0000 1.0000 1.0000 pass
100000 journal.page p50 0.9644 1.0199 1.0613 1.1183 pass
100000 journal.page p95 0.9338 1.0158 1.0543 1.1558 pass
100000 journal.page p99 0.7867 0.9480 0.8881 1.1217 pass
100000 mem.after_first_page p50 1.0044 1.0188 0.9964 1.0165 FAIL
100000 mem.after_first_page p95 1.0044 1.0188 0.9964 1.0165 FAIL
100000 mem.after_first_page p99 1.0044 1.0188 0.9964 1.0165 FAIL
100000 mem.after_opens p50 1.0011 1.0156 0.9819 1.0096 FAIL
100000 mem.after_opens p95 1.0011 1.0156 0.9819 1.0096 FAIL
100000 mem.after_opens p99 1.0011 1.0156 0.9819 1.0096 FAIL
100000 mem.after_search p50 1.0022 1.0195 1.0043 1.0584 pass
100000 mem.after_search p95 1.0022 1.0195 1.0043 1.0584 pass
100000 mem.after_search p99 1.0022 1.0190 1.0043 1.0584 pass
100000 mem.idle p50 1.0226 1.0456 0.9840 1.0126 FAIL
100000 mem.idle p95 1.0226 1.0456 0.9840 1.0126 FAIL
100000 mem.idle p99 1.0226 1.0456 0.9840 1.0126 FAIL
100000 open.api_get p50 1.0330 1.1418 0.9399 1.0026 FAIL
100000 open.api_get p95 1.1846 1.6184 1.0194 1.4158 FAIL
100000 open.api_get p99 0.9655 1.0428 0.8532 1.0050 FAIL
100000 open.long_note p50 1.0373 1.1744 0.9818 1.0368 FAIL
100000 open.long_note p95 1.0373 1.1744 0.9818 1.0398 FAIL
100000 open.long_note p99 1.0373 1.1744 0.9818 1.0398 FAIL
100000 open.note p50 0.9630 1.0010 1.1035 1.1413 pass
100000 open.note p95 0.7568 0.9825 1.5700 3.7653 pass
100000 open.note p99 0.9210 1.1068 0.9717 1.1637 pass
100000 search.catch_up p50 1.0003 1.0007 0.9997 1.0000 FAIL
100000 search.catch_up p95 1.0003 1.0007 0.9997 1.0000 FAIL
100000 search.catch_up p99 1.0003 1.0007 0.9997 1.0000 FAIL
100000 search.first_query p50 1.0628 1.1652 0.8782 0.9704 FAIL
100000 search.first_query p95 1.0628 1.1652 0.8782 0.9704 FAIL
100000 search.first_query p99 1.0628 1.1652 0.8782 0.9730 FAIL
100000 search.prefix p50 1.1874 1.3013 0.9744 1.0186 FAIL
100000 search.prefix p95 1.3208 2.6567 0.5654 0.9667 FAIL
100000 search.prefix p99 1.6560 3.5550 0.4111 0.8675 FAIL
100000 search.query p50 1.2062 1.3872 0.9701 1.0232 FAIL
100000 search.query p95 1.3437 2.3715 0.6626 1.0421 FAIL
100000 search.query p99 1.1624 1.2666 1.0039 1.0461 FAIL
100000 search.typo p50 1.5209 2.3880 1.0750 1.1753 FAIL
100000 search.typo p95 1.2269 1.5194 1.0291 1.0619 FAIL
100000 search.typo p99 1.3553 1.8672 0.9841 1.0535 FAIL
100000 shutdown p50 1.0015 1.1225 1.0014 1.1310 pass
100000 shutdown p95 1.0015 1.1225 1.0014 1.1310 pass
100000 shutdown p99 1.0015 1.1225 1.0014 1.1348 pass
100000 startup.healthz p50 1.1157 1.1600 0.9217 0.9978 FAIL
100000 startup.healthz p95 1.1157 1.1600 0.9217 0.9987 FAIL
100000 startup.healthz p99 1.1157 1.1602 0.9217 0.9978 FAIL
100000 sync.durable_write p50 0.9920 1.0248 0.9475 1.0068 FAIL
100000 sync.durable_write p95 1.0149 1.0312 0.9551 1.0522 pass
100000 sync.durable_write p99 0.9692 1.0163 0.9191 0.9706 FAIL
100000 sync.round_trip p50 1.0759 1.1328 1.0016 1.0643 FAIL
100000 sync.round_trip p95 1.0009 1.0635 1.0677 1.1736 pass
100000 sync.round_trip p99 0.5664 0.8005 1.1599 1.5776 pass
100000 sync.save_ack p50 1.0108 1.0932 0.9319 0.9798 FAIL
100000 sync.save_ack p95 1.0157 1.1509 0.9624 1.1338 FAIL
100000 sync.save_ack p99 1.0853 1.7499 1.1498 1.5199 FAIL

Bootstrap resamples: 20000; paired rounds: 5; candidate/control ratio samples: 10/5.
Ratios normalize lower-is-better metrics as candidate/control; cold.notes_per_s is inverted.
Gate: candidate upper 95% bootstrap bound must be at or below the dev-copy control upper bound for every metric and quantile.
FAIL: 144 comparisons exceeded the dev-copy bound.

A/A (dev vs dev), r6 method
Notes Metric Quantile Candidate ratio gmean Candidate upper 95% Dev-copy ratio gmean Dev-copy upper 95% Gate
1000 cold.disk_written p50 1.0035 1.0056 0.9985 1.0006 FAIL
1000 cold.disk_written p95 1.0035 1.0056 0.9985 1.0006 FAIL
1000 cold.disk_written p99 1.0035 1.0056 0.9985 1.0006 FAIL
1000 cold.first_page p50 1.0060 1.0240 1.0224 1.0546 pass
1000 cold.first_page p95 1.0060 1.0240 1.0224 1.0546 pass
1000 cold.first_page p99 1.0060 1.0240 1.0224 1.0546 pass
1000 cold.index p50 1.0045 1.0186 1.0173 1.0413 pass
1000 cold.index p95 1.0045 1.0186 1.0173 1.0413 pass
1000 cold.index p99 1.0045 1.0186 1.0173 1.0420 pass
1000 cold.mem_peak p50 1.0012 1.0051 1.0101 1.0275 pass
1000 cold.mem_peak p95 1.0012 1.0053 1.0101 1.0275 pass
1000 cold.mem_peak p99 1.0012 1.0053 1.0101 1.0275 pass
1000 cold.notes_per_s p50 1.0045 1.0186 1.0173 1.0413 pass
1000 cold.notes_per_s p95 1.0045 1.0186 1.0173 1.0412 pass
1000 cold.notes_per_s p99 1.0045 1.0186 1.0173 1.0413 pass
1000 cold.startup p50 1.1456 1.4023 1.0734 1.1369 FAIL
1000 cold.startup p95 1.1456 1.4023 1.0734 1.1338 FAIL
1000 cold.startup p99 1.1456 1.4023 1.0734 1.1351 FAIL
1000 home.first_page p50 0.7864 1.0007 0.8805 0.9879 FAIL
1000 home.first_page p95 0.7864 1.0007 0.8805 0.9879 FAIL
1000 home.first_page p99 0.7864 1.0007 0.8805 0.9903 FAIL
1000 home.page p50 0.9629 1.0045 0.9174 0.9688 FAIL
1000 home.page p95 0.9033 1.1042 1.3361 1.7259 pass
1000 home.page p99 1.0223 1.3662 1.6410 2.7857 pass
1000 home.page_big p50 1.0186 1.0481 0.9763 1.0017 FAIL
1000 home.page_big p95 1.0186 1.0481 0.9763 1.0017 FAIL
1000 home.page_big p99 1.0186 1.0481 0.9763 1.0017 FAIL
1000 home.page_next p50 0.9790 0.9990 0.9717 1.0029 pass
1000 home.page_next p95 1.0165 1.0936 0.9381 1.0182 FAIL
1000 home.page_next p99 0.9408 1.0297 0.8342 1.0139 FAIL
1000 home.page_tag p50 0.9732 0.9979 1.0057 1.0860 pass
1000 home.page_tag p95 0.9365 0.9808 0.9725 1.0976 pass
1000 home.page_tag p99 0.9695 1.0663 0.9213 1.0538 FAIL
1000 home.page_title p50 0.9798 1.0048 1.0019 1.0408 pass
1000 home.page_title p95 1.0049 1.0461 0.9840 1.0015 FAIL
1000 home.page_title p99 0.9871 1.0680 1.1024 1.3181 pass
1000 journal.catch_up p50 0.9688 1.0326 0.9087 1.0286 FAIL
1000 journal.catch_up p95 0.9688 1.0326 0.9087 1.0286 FAIL
1000 journal.catch_up p99 0.9688 1.0326 0.9087 1.0286 FAIL
1000 journal.entries p50 1.0000 1.0000 1.0000 1.0000 pass
1000 journal.entries p95 1.0000 1.0000 1.0000 1.0000 pass
1000 journal.entries p99 1.0000 1.0000 1.0000 1.0000 pass
1000 journal.page p50 0.9687 1.0375 0.9034 1.0361 FAIL
1000 journal.page p95 0.9687 1.0375 0.9034 1.0361 FAIL
1000 journal.page p99 0.9687 1.0363 0.9034 1.0361 FAIL
1000 mem.after_first_page p50 1.0214 1.0358 0.9941 1.0004 FAIL
1000 mem.after_first_page p95 1.0214 1.0367 0.9941 1.0004 FAIL
1000 mem.after_first_page p99 1.0214 1.0367 0.9941 1.0004 FAIL
1000 mem.after_opens p50 1.0052 1.0162 1.0015 1.0128 FAIL
1000 mem.after_opens p95 1.0052 1.0162 1.0015 1.0128 FAIL
1000 mem.after_opens p99 1.0052 1.0162 1.0015 1.0128 FAIL
1000 mem.after_search p50 1.0072 1.0267 1.0354 1.0517 pass
1000 mem.after_search p95 1.0072 1.0267 1.0354 1.0517 pass
1000 mem.after_search p99 1.0072 1.0267 1.0354 1.0517 pass
1000 mem.idle p50 1.0332 1.0577 0.9975 1.0079 FAIL
1000 mem.idle p95 1.0332 1.0577 0.9975 1.0079 FAIL
1000 mem.idle p99 1.0332 1.0577 0.9975 1.0079 FAIL
1000 open.api_get p50 0.9839 0.9965 1.0354 1.0972 pass
1000 open.api_get p95 0.9419 1.0135 1.0508 1.2316 pass
1000 open.api_get p99 1.0293 1.0987 1.0054 1.0573 FAIL
1000 open.long_note p50 0.9960 1.0064 1.0104 1.0550 pass
1000 open.long_note p95 0.9960 1.0064 1.0104 1.0550 pass
1000 open.long_note p99 0.9960 1.0064 1.0104 1.0550 pass
1000 open.note p50 1.0122 1.0381 1.0263 1.0773 pass
1000 open.note p95 1.0152 1.0493 0.9501 1.0015 FAIL
1000 open.note p99 0.9355 1.0076 1.0672 1.1044 pass
1000 search.catch_up p50 1.0001 1.0003 1.0000 1.0005 pass
1000 search.catch_up p95 1.0001 1.0003 1.0000 1.0005 pass
1000 search.catch_up p99 1.0001 1.0003 1.0000 1.0005 pass
1000 search.first_query p50 1.0369 1.0974 1.0810 1.1234 pass
1000 search.first_query p95 1.0369 1.0974 1.0810 1.1234 pass
1000 search.first_query p99 1.0369 1.0974 1.0810 1.1234 pass
1000 search.prefix p50 1.0401 1.0954 1.0019 1.0283 FAIL
1000 search.prefix p95 1.1218 1.2594 0.9615 1.0163 FAIL
1000 search.prefix p99 1.1891 1.3476 0.9896 1.0562 FAIL
1000 search.query p50 1.0549 1.1243 0.9759 1.0460 FAIL
1000 search.query p95 1.1192 1.2581 0.9409 0.9931 FAIL
1000 search.query p99 1.0024 1.0636 0.9552 1.0234 FAIL
1000 search.typo p50 1.0795 1.1853 1.0450 1.1024 FAIL
1000 search.typo p95 1.1011 1.2651 1.0709 1.1323 FAIL
1000 search.typo p99 1.2692 1.5125 1.1119 1.2369 FAIL
1000 shutdown p50 0.9346 1.1480 1.0018 1.0092 FAIL
1000 shutdown p95 0.9346 1.1480 1.0018 1.0092 FAIL
1000 shutdown p99 0.9346 1.1480 1.0018 1.0092 FAIL
1000 startup.healthz p50 1.0302 1.2931 1.1110 1.5779 pass
1000 startup.healthz p95 1.0302 1.2931 1.1110 1.5779 pass
1000 startup.healthz p99 1.0302 1.2931 1.1110 1.5779 pass
1000 sync.durable_write p50 0.9653 1.0107 1.0985 1.1915 pass
1000 sync.durable_write p95 0.9237 1.0139 1.0643 1.3496 pass
1000 sync.durable_write p99 0.9705 1.0342 1.0332 1.1501 pass
1000 sync.round_trip p50 1.0189 1.0567 1.0612 1.1487 pass
1000 sync.round_trip p95 1.0151 1.0334 0.9998 1.0497 pass
1000 sync.round_trip p99 1.1863 1.3016 0.9875 1.0661 FAIL
1000 sync.save_ack p50 0.9967 1.0078 1.0192 1.0257 pass
1000 sync.save_ack p95 0.9860 1.0488 1.0184 1.1037 pass
1000 sync.save_ack p99 0.9391 0.9801 0.9475 1.0601 pass
10000 cold.disk_written p50 1.0009 1.0021 0.9953 0.9968 FAIL
10000 cold.disk_written p95 1.0009 1.0021 0.9953 0.9968 FAIL
10000 cold.disk_written p99 1.0009 1.0021 0.9953 0.9968 FAIL
10000 cold.first_page p50 0.9775 1.0204 1.0223 1.0966 pass
10000 cold.first_page p95 0.9775 1.0204 1.0223 1.0950 pass
10000 cold.first_page p99 0.9775 1.0204 1.0223 1.0950 pass
10000 cold.index p50 0.9755 1.0146 1.0036 1.0519 pass
10000 cold.index p95 0.9755 1.0146 1.0036 1.0519 pass
10000 cold.index p99 0.9755 1.0146 1.0036 1.0519 pass
10000 cold.mem_peak p50 1.0008 1.0031 1.0033 1.0066 pass
10000 cold.mem_peak p95 1.0008 1.0032 1.0033 1.0066 pass
10000 cold.mem_peak p99 1.0008 1.0031 1.0033 1.0067 pass
10000 cold.notes_per_s p50 0.9755 1.0146 1.0036 1.0519 pass
10000 cold.notes_per_s p95 0.9755 1.0146 1.0036 1.0519 pass
10000 cold.notes_per_s p99 0.9755 1.0146 1.0036 1.0519 pass
10000 cold.startup p50 0.9717 0.9944 1.0678 1.1725 pass
10000 cold.startup p95 0.9717 0.9939 1.0678 1.1725 pass
10000 cold.startup p99 0.9717 0.9944 1.0678 1.1725 pass
10000 home.first_page p50 0.9753 1.1044 1.4415 2.6630 pass
10000 home.first_page p95 0.9753 1.1044 1.4415 2.6630 pass
10000 home.first_page p99 0.9753 1.1044 1.4415 2.6630 pass
10000 home.page p50 1.0057 1.0966 0.9604 1.1439 pass
10000 home.page p95 0.7986 1.0797 0.5181 0.9597 FAIL
10000 home.page p99 0.9286 1.1245 0.7020 1.0817 FAIL
10000 home.page_big p50 1.0368 1.0648 1.0045 1.0210 FAIL
10000 home.page_big p95 1.0358 1.0650 0.9965 1.0061 FAIL
10000 home.page_big p99 1.0358 1.0650 0.9965 1.0061 FAIL
10000 home.page_next p50 1.0243 1.0503 0.9955 1.0442 FAIL
10000 home.page_next p95 1.0334 1.0615 0.9363 1.0425 FAIL
10000 home.page_next p99 1.0898 1.1091 0.9304 1.0747 FAIL
10000 home.page_tag p50 1.0389 1.0690 0.9744 1.0304 FAIL
10000 home.page_tag p95 1.0454 1.1404 0.9209 1.0426 FAIL
10000 home.page_tag p99 0.9040 1.0077 0.8492 0.9639 FAIL
10000 home.page_title p50 1.0717 1.1593 0.9613 1.0916 FAIL
10000 home.page_title p95 0.7870 1.0690 0.9834 1.8627 pass
10000 home.page_title p99 0.7285 1.5280 0.7108 1.1083 FAIL
10000 journal.catch_up p50 1.0319 1.0708 1.0539 1.0891 pass
10000 journal.catch_up p95 1.0319 1.0707 1.0539 1.0891 pass
10000 journal.catch_up p99 1.0319 1.0708 1.0539 1.0913 pass
10000 journal.entries p50 1.0000 1.0000 1.0000 1.0000 pass
10000 journal.entries p95 1.0000 1.0000 1.0000 1.0000 pass
10000 journal.entries p99 1.0000 1.0000 1.0000 1.0000 pass
10000 journal.page p50 1.0317 1.0847 1.0456 1.0829 FAIL
10000 journal.page p95 1.0697 1.0920 1.1533 1.2653 pass
10000 journal.page p99 1.0697 1.0920 1.1533 1.2653 pass
10000 mem.after_first_page p50 1.0019 1.0047 1.0314 1.0656 pass
10000 mem.after_first_page p95 1.0019 1.0047 1.0314 1.0656 pass
10000 mem.after_first_page p99 1.0019 1.0047 1.0314 1.0656 pass
10000 mem.after_opens p50 1.0016 1.0085 1.0169 1.0310 pass
10000 mem.after_opens p95 1.0016 1.0085 1.0169 1.0310 pass
10000 mem.after_opens p99 1.0016 1.0085 1.0169 1.0312 pass
10000 mem.after_search p50 0.9971 1.0069 0.9952 1.0081 pass
10000 mem.after_search p95 0.9971 1.0070 0.9952 1.0083 pass
10000 mem.after_search p99 0.9971 1.0070 0.9952 1.0083 pass
10000 mem.idle p50 0.9911 1.0033 0.9959 1.0161 pass
10000 mem.idle p95 0.9911 1.0028 0.9959 1.0161 pass
10000 mem.idle p99 0.9911 1.0033 0.9959 1.0161 pass
10000 open.api_get p50 0.9532 1.0118 1.1158 1.2024 pass
10000 open.api_get p95 0.9317 1.0565 1.1273 1.2387 pass
10000 open.api_get p99 0.9412 0.9763 1.0996 1.2280 pass
10000 open.long_note p50 1.2136 2.1897 1.0173 1.0631 FAIL
10000 open.long_note p95 1.2136 2.1897 1.0173 1.0631 FAIL
10000 open.long_note p99 1.2136 2.1897 1.0173 1.0631 FAIL
10000 open.note p50 1.0439 1.1047 0.9940 1.0499 FAIL
10000 open.note p95 0.9478 1.1190 1.2886 1.9022 pass
10000 open.note p99 0.9688 1.0136 1.1908 1.3925 pass
10000 search.catch_up p50 1.0000 1.0001 1.0000 1.0001 FAIL
10000 search.catch_up p95 1.0000 1.0001 1.0000 1.0001 FAIL
10000 search.catch_up p99 1.0000 1.0001 1.0000 1.0001 FAIL
10000 search.first_query p50 1.0923 1.1900 1.2680 1.4205 pass
10000 search.first_query p95 1.0923 1.1900 1.2680 1.4205 pass
10000 search.first_query p99 1.0923 1.1900 1.2680 1.4205 pass
10000 search.prefix p50 0.9456 1.0244 0.8342 0.9442 FAIL
10000 search.prefix p95 0.7044 0.9377 0.5275 0.8649 FAIL
10000 search.prefix p99 0.9345 1.9062 0.4649 0.9270 FAIL
10000 search.query p50 0.8876 1.0009 0.7523 0.8881 FAIL
10000 search.query p95 0.8487 1.0573 0.6374 0.8507 FAIL
10000 search.query p99 1.0370 1.0703 0.9964 1.0111 FAIL
10000 search.typo p50 1.1818 1.3119 0.9595 1.2529 FAIL
10000 search.typo p95 1.1943 1.4736 0.9834 1.3775 FAIL
10000 search.typo p99 0.9402 1.0825 1.0371 1.9334 pass
10000 shutdown p50 1.0009 1.1530 0.7653 1.1465 FAIL
10000 shutdown p95 1.0009 1.1530 0.7653 1.1465 FAIL
10000 shutdown p99 1.0009 1.1530 0.7653 1.1465 FAIL
10000 startup.healthz p50 0.9622 1.0130 0.9514 1.0042 FAIL
10000 startup.healthz p95 0.9622 1.0141 0.9514 1.0042 FAIL
10000 startup.healthz p99 0.9622 1.0130 0.9514 1.0042 FAIL
10000 sync.durable_write p50 0.9446 1.0041 0.9649 1.0229 pass
10000 sync.durable_write p95 0.9105 1.0054 0.9002 1.0016 FAIL
10000 sync.durable_write p99 0.8615 1.0274 0.7055 0.9958 FAIL
10000 sync.round_trip p50 1.0327 1.0624 1.0015 1.0194 FAIL
10000 sync.round_trip p95 1.0139 1.0568 0.9827 1.0272 FAIL
10000 sync.round_trip p99 0.9619 1.6148 1.3689 2.1356 pass
10000 sync.save_ack p50 0.9812 1.0100 1.0260 1.0848 pass
10000 sync.save_ack p95 0.9570 1.0106 0.9935 1.0728 pass
10000 sync.save_ack p99 0.7861 1.0117 1.2902 1.6693 pass
100000 cold.disk_written p50 1.0000 1.0001 0.9999 1.0002 pass
100000 cold.disk_written p95 1.0000 1.0001 0.9999 1.0002 pass
100000 cold.disk_written p99 1.0000 1.0001 0.9999 1.0002 pass
100000 cold.first_page p50 1.0256 1.0469 1.0031 1.0157 FAIL
100000 cold.first_page p95 1.0256 1.0469 1.0031 1.0157 FAIL
100000 cold.first_page p99 1.0256 1.0469 1.0031 1.0157 FAIL
100000 cold.index p50 0.9922 1.0058 1.0265 1.0762 pass
100000 cold.index p95 0.9922 1.0062 1.0265 1.0780 pass
100000 cold.index p99 0.9922 1.0058 1.0265 1.0762 pass
100000 cold.mem_peak p50 0.9941 1.0046 0.9900 0.9989 FAIL
100000 cold.mem_peak p95 0.9941 1.0053 0.9900 0.9989 FAIL
100000 cold.mem_peak p99 0.9941 1.0053 0.9900 0.9989 FAIL
100000 cold.notes_per_s p50 0.9922 1.0058 1.0265 1.0762 pass
100000 cold.notes_per_s p95 0.9922 1.0058 1.0265 1.0762 pass
100000 cold.notes_per_s p99 0.9922 1.0058 1.0265 1.0762 pass
100000 cold.startup p50 0.9424 0.9552 0.9804 1.0551 pass
100000 cold.startup p95 0.9424 0.9552 0.9804 1.0551 pass
100000 cold.startup p99 0.9424 0.9552 0.9804 1.0551 pass
100000 home.first_page p50 1.1571 1.2863 0.9718 1.0690 FAIL
100000 home.first_page p95 1.1571 1.2863 0.9718 1.0690 FAIL
100000 home.first_page p99 1.1571 1.2863 0.9718 1.0690 FAIL
100000 home.page p50 0.9674 1.0541 1.1345 1.2952 pass
100000 home.page p95 0.9157 1.1173 1.4038 2.1877 pass
100000 home.page p99 0.7107 1.0088 1.1917 2.2508 pass
100000 home.page_big p50 1.0577 1.1227 0.9662 1.0319 FAIL
100000 home.page_big p95 1.0099 1.0637 1.3066 1.6358 pass
100000 home.page_big p99 1.0099 1.0637 1.3066 1.6360 pass
100000 home.page_next p50 0.9886 1.0569 0.9331 0.9964 FAIL
100000 home.page_next p95 1.1007 1.3684 1.1281 1.5886 pass
100000 home.page_next p99 1.0761 1.2910 0.8544 0.9951 FAIL
100000 home.page_tag p50 1.0125 1.0216 0.9910 1.0030 FAIL
100000 home.page_tag p95 1.0159 1.0529 1.0081 1.0430 FAIL
100000 home.page_tag p99 1.0266 1.0961 1.0202 1.0815 FAIL
100000 home.page_title p50 1.0670 1.1733 1.1549 1.4114 pass
100000 home.page_title p95 0.9177 0.9815 1.3102 1.9233 pass
100000 home.page_title p99 0.6689 0.7567 1.1917 2.5274 pass
100000 journal.catch_up p50 1.0866 1.1362 1.0008 1.0485 FAIL
100000 journal.catch_up p95 1.0866 1.1334 1.0008 1.0485 FAIL
100000 journal.catch_up p99 1.0866 1.1334 1.0008 1.0485 FAIL
100000 journal.entries p50 1.0000 1.0000 1.0000 1.0000 pass
100000 journal.entries p95 1.0000 1.0000 1.0000 1.0000 pass
100000 journal.entries p99 1.0000 1.0000 1.0000 1.0000 pass
100000 journal.page p50 1.0894 1.1334 0.9937 1.0255 FAIL
100000 journal.page p95 1.1298 1.1982 0.9659 1.0891 FAIL
100000 journal.page p99 1.1511 1.3536 1.1716 1.5315 pass
100000 mem.after_first_page p50 1.0081 1.0175 1.0031 1.0177 pass
100000 mem.after_first_page p95 1.0081 1.0175 1.0031 1.0177 pass
100000 mem.after_first_page p99 1.0081 1.0175 1.0031 1.0177 pass
100000 mem.after_opens p50 0.9991 1.0106 1.0167 1.0358 pass
100000 mem.after_opens p95 0.9991 1.0106 1.0167 1.0358 pass
100000 mem.after_opens p99 0.9991 1.0117 1.0167 1.0358 pass
100000 mem.after_search p50 1.0243 1.0716 0.9395 0.9667 FAIL
100000 mem.after_search p95 1.0243 1.0718 0.9395 0.9667 FAIL
100000 mem.after_search p99 1.0243 1.0718 0.9395 0.9667 FAIL
100000 mem.idle p50 1.0035 1.0181 1.0089 1.0260 pass
100000 mem.idle p95 1.0035 1.0181 1.0089 1.0260 pass
100000 mem.idle p99 1.0035 1.0181 1.0089 1.0245 pass
100000 open.api_get p50 1.0016 1.0744 0.9263 1.0134 FAIL
100000 open.api_get p95 0.9342 1.1817 0.9528 1.4973 pass
100000 open.api_get p99 0.9944 1.0438 1.0246 1.1405 pass
100000 open.long_note p50 0.9889 1.0606 1.0081 1.0509 FAIL
100000 open.long_note p95 0.9889 1.0606 1.0081 1.0509 FAIL
100000 open.long_note p99 0.9889 1.0606 1.0081 1.0509 FAIL
100000 open.note p50 1.0468 1.1649 1.0217 1.1551 FAIL
100000 open.note p95 0.8114 0.9527 1.0411 2.6944 pass
100000 open.note p99 0.9287 0.9727 0.8674 1.0962 pass
100000 search.catch_up p50 0.9997 1.0001 1.0005 1.0008 pass
100000 search.catch_up p95 0.9997 1.0001 1.0005 1.0008 pass
100000 search.catch_up p99 0.9997 1.0001 1.0005 1.0008 pass
100000 search.first_query p50 1.0310 1.1931 1.0387 1.1103 FAIL
100000 search.first_query p95 1.0310 1.1931 1.0387 1.1103 FAIL
100000 search.first_query p99 1.0310 1.1931 1.0387 1.1091 FAIL
100000 search.prefix p50 1.0704 1.2009 0.9695 1.0876 FAIL
100000 search.prefix p95 0.9084 1.4684 1.4796 4.0788 pass
100000 search.prefix p99 0.9407 1.7473 1.9259 5.6373 pass
100000 search.query p50 1.0621 1.2605 0.9838 1.0795 FAIL
100000 search.query p95 1.1195 1.5462 1.7107 3.6409 pass
100000 search.query p99 1.0725 1.2528 1.1225 1.2004 FAIL
100000 search.typo p50 0.9130 1.3619 0.4909 0.9210 FAIL
100000 search.typo p95 1.0501 1.2299 0.7389 0.9751 FAIL
100000 search.typo p99 1.0496 1.2522 0.7001 0.9780 FAIL
100000 shutdown p50 0.9230 0.9932 1.0036 1.1274 pass
100000 shutdown p95 0.9230 0.9932 1.0036 1.1282 pass
100000 shutdown p99 0.9230 0.9932 1.0036 1.1274 pass
100000 startup.healthz p50 0.9899 1.0096 1.0374 1.1094 pass
100000 startup.healthz p95 0.9899 1.0096 1.0374 1.1094 pass
100000 startup.healthz p99 0.9899 1.0096 1.0374 1.1094 pass
100000 sync.durable_write p50 0.9826 0.9907 0.9790 0.9989 pass
100000 sync.durable_write p95 1.1329 1.3330 0.8892 0.9360 FAIL
100000 sync.durable_write p99 1.0930 1.2326 0.9854 1.1092 FAIL
100000 sync.round_trip p50 1.0122 1.0524 0.9422 1.0014 FAIL
100000 sync.round_trip p95 1.1302 1.1846 0.9882 1.0585 FAIL
100000 sync.round_trip p99 1.4673 2.2225 0.5797 0.8892 FAIL
100000 sync.save_ack p50 1.0166 1.1048 1.0634 1.1525 pass
100000 sync.save_ack p95 0.9464 1.0831 1.1236 1.3844 pass
100000 sync.save_ack p99 0.8549 1.4288 1.0425 2.4686 pass

Bootstrap resamples: 20000; paired rounds: 5; candidate/control ratio samples: 10/5.
Ratios normalize lower-is-better metrics as candidate/control; cold.notes_per_s is inverted.
Gate: candidate upper 95% bootstrap bound must be at or below the dev-copy control upper bound for every metric and quantile.
FAIL: 131 comparisons exceeded the dev-copy bound.

Difference-in-differences, rounds 1–5 and 1–4
candidate (934ef1c36): 288 comparisons; regression clears noise (lower 95% > 1): 23; improvement clears noise (upper 95% < 1): 34; point estimate > 1.05: 70
  regressions clearing noise (notes metric q: effect [95% interval]):
    10000 search.prefix p95: 2.349 [1.568, 3.904]
    100000 home.page_title p99: 1.909 [1.087, 3.354]
    10000 home.page_title p99: 1.853 [1.114, 3.218]
    10000 home.page p95: 1.842 [1.460, 2.323]
    10000 search.query p95: 1.568 [1.124, 2.228]
    100000 home.page_title p95: 1.508 [1.104, 2.080]
    10000 home.page_title p95: 1.377 [1.144, 1.681]
    10000 sync.durable_write p99: 1.280 [1.000, 1.666]
    10000 search.query p50: 1.273 [1.037, 1.536]
    100000 home.page_next p50: 1.183 [1.067, 1.299]
    100000 startup.healthz p50: 1.127 [1.089, 1.169]
    100000 startup.healthz p95: 1.127 [1.088, 1.169]
    100000 startup.healthz p99: 1.127 [1.088, 1.168]
    10000 open.api_get p99: 1.081 [1.012, 1.155]
    10000 sync.durable_write p95: 1.072 [1.012, 1.153]
    100000 sync.round_trip p50: 1.063 [1.001, 1.130]
    10000 home.page_next p50: 1.029 [1.006, 1.061]
    10000 mem.after_opens p50: 1.018 [1.003, 1.032]
    10000 mem.after_opens p95: 1.018 [1.003, 1.032]
    10000 mem.after_opens p99: 1.018 [1.003, 1.032]
    100000 cold.mem_peak p50: 1.015 [1.000, 1.030]
    100000 cold.mem_peak p95: 1.015 [1.000, 1.030]
    100000 cold.mem_peak p99: 1.015 [1.000, 1.030]
  improvements clearing noise:
    100000 sync.round_trip p99: 0.386 [0.167, 0.956]
    100000 journal.page p99: 0.683 [0.479, 0.976]
    1000 search.typo p99: 0.717 [0.613, 0.860]
    10000 home.first_page p50: 0.757 [0.649, 0.856]
    10000 home.first_page p95: 0.757 [0.649, 0.856]
    10000 home.first_page p99: 0.757 [0.649, 0.856]
    1000 search.prefix p99: 0.824 [0.743, 0.921]
    100000 journal.page p95: 0.827 [0.710, 0.971]
    1000 search.query p95: 0.844 [0.752, 0.978]
    1000 search.prefix p95: 0.853 [0.772, 0.943]
    100000 journal.catch_up p50: 0.881 [0.791, 0.983]
    100000 journal.catch_up p95: 0.881 [0.791, 0.983]
    100000 journal.catch_up p99: 0.881 [0.791, 0.983]
    100000 journal.page p50: 0.885 [0.799, 0.980]
    100000 sync.round_trip p95: 0.886 [0.769, 0.978]
    100000 sync.durable_write p99: 0.887 [0.777, 0.987]
    1000 search.query p50: 0.897 [0.848, 0.948]
    1000 search.prefix p50: 0.901 [0.862, 0.945]
    1000 open.note p95: 0.922 [0.868, 0.984]
    1000 mem.idle p50: 0.944 [0.922, 0.967]
    1000 mem.idle p95: 0.944 [0.922, 0.967]
    1000 mem.idle p99: 0.944 [0.922, 0.967]
    1000 mem.after_first_page p50: 0.956 [0.934, 0.985]
    1000 mem.after_first_page p95: 0.956 [0.934, 0.983]
    1000 mem.after_first_page p99: 0.956 [0.934, 0.985]
    1000 open.long_note p50: 0.959 [0.925, 0.993]
    1000 open.long_note p95: 0.959 [0.925, 0.993]
    1000 open.long_note p99: 0.959 [0.925, 0.993]
    100000 cold.first_page p50: 0.974 [0.948, 0.999]
    100000 cold.first_page p95: 0.974 [0.948, 0.999]
    100000 cold.first_page p99: 0.974 [0.948, 0.999]
    1000 cold.disk_written p50: 0.996 [0.992, 0.999]
    1000 cold.disk_written p95: 0.996 [0.992, 0.999]
    1000 cold.disk_written p99: 0.996 [0.992, 0.999]
  largest point estimates (> 1.05) not clearing noise:
    10000 search.prefix p99: 1.902 [0.882, 3.930]
    100000 search.prefix p99: 1.760 [0.397, 7.803]
    100000 search.typo p50: 1.666 [0.829, 2.897]
    100000 home.page p99: 1.536 [0.595, 2.864]
    100000 search.prefix p95: 1.454 [0.366, 5.778]
    10000 home.page p99: 1.302 [0.772, 1.912]
    100000 search.typo p99: 1.291 [0.873, 1.910]
    100000 sync.save_ack p99: 1.269 [0.527, 2.992]
    100000 open.api_get p95: 1.268 [0.871, 2.268]
    100000 home.page p95: 1.234 [0.705, 2.151]
    100000 search.query p95: 1.200 [0.440, 3.266]
    10000 search.typo p99: 1.190 [0.869, 2.006]
    1000 home.page p95: 1.169 [0.740, 1.820]
    100000 search.typo p95: 1.168 [0.826, 1.557]
    1000 home.first_page p50: 1.154 [0.897, 1.589]

--- rounds 1-4 ---
candidate (934ef1c36): 288 comparisons; regression clears noise (lower 95% > 1): 25; improvement clears noise (upper 95% < 1): 35; point estimate > 1.05: 65
  regressions clearing noise (notes metric q: effect [95% interval]):
    10000 home.page_title p99: 2.072 [1.097, 4.001]
    10000 search.prefix p95: 1.904 [1.410, 2.760]
    10000 home.page p95: 1.727 [1.402, 2.269]
    100000 home.page_title p99: 1.535 [1.017, 3.020]
    10000 home.page_title p95: 1.488 [1.298, 1.782]
    100000 home.page_title p95: 1.395 [1.061, 2.084]
    10000 search.query p95: 1.361 [1.025, 1.850]
    1000 home.first_page p50: 1.277 [1.047, 1.769]
    1000 home.first_page p95: 1.277 [1.047, 1.769]
    1000 home.first_page p99: 1.277 [1.047, 1.769]
    100000 home.page_next p50: 1.173 [1.043, 1.318]
    10000 search.query p50: 1.172 [1.004, 1.354]
    100000 startup.healthz p50: 1.136 [1.087, 1.188]
    100000 startup.healthz p95: 1.136 [1.087, 1.188]
    100000 startup.healthz p99: 1.136 [1.087, 1.188]
    1000 home.page_next p99: 1.109 [1.027, 1.246]
    1000 home.page_title p99: 1.097 [1.019, 1.180]
    1000 home.page_tag p95: 1.095 [1.054, 1.155]
    1000 home.page_tag p50: 1.048 [1.008, 1.089]
    10000 sync.durable_write p95: 1.034 [1.000, 1.070]
    1000 home.page_next p50: 1.033 [1.002, 1.066]
    10000 home.page_next p50: 1.032 [1.004, 1.072]
    100000 search.catch_up p50: 1.001 [1.000, 1.002]
    100000 search.catch_up p95: 1.001 [1.000, 1.002]
    100000 search.catch_up p99: 1.001 [1.000, 1.002]
  improvements clearing noise:
    100000 sync.round_trip p99: 0.265 [0.130, 0.527]
    10000 sync.round_trip p99: 0.628 [0.435, 0.907]
    1000 search.typo p99: 0.718 [0.590, 0.889]
    10000 home.first_page p50: 0.724 [0.633, 0.824]
    10000 home.first_page p95: 0.724 [0.633, 0.824]
    10000 home.first_page p99: 0.724 [0.633, 0.824]
    1000 search.prefix p99: 0.801 [0.725, 0.923]
    10000 open.note p95: 0.833 [0.758, 0.927]
    1000 search.prefix p95: 0.835 [0.737, 0.946]
    100000 sync.round_trip p95: 0.862 [0.725, 0.976]
    1000 search.query p50: 0.886 [0.835, 0.941]
    1000 search.prefix p50: 0.906 [0.858, 0.957]
    10000 open.note p50: 0.916 [0.843, 0.995]
    100000 mem.after_search p50: 0.947 [0.884, 0.993]
    100000 mem.after_search p95: 0.947 [0.884, 0.993]
    100000 mem.after_search p99: 0.947 [0.884, 0.993]
    1000 mem.idle p50: 0.950 [0.923, 0.977]
    1000 mem.idle p95: 0.950 [0.923, 0.977]
    1000 mem.idle p99: 0.950 [0.923, 0.977]
    1000 sync.round_trip p50: 0.958 [0.896, 0.997]
    100000 cold.first_page p50: 0.963 [0.945, 0.990]
    100000 cold.first_page p95: 0.963 [0.945, 0.990]
    100000 cold.first_page p99: 0.963 [0.945, 0.990]
    1000 mem.after_first_page p50: 0.964 [0.940, 0.996]
    1000 mem.after_first_page p95: 0.964 [0.940, 0.996]
    1000 mem.after_first_page p99: 0.964 [0.940, 0.996]
    100000 mem.after_first_page p50: 0.985 [0.972, 0.999]
    100000 mem.after_first_page p95: 0.985 [0.972, 0.999]
    100000 mem.after_first_page p99: 0.985 [0.972, 0.999]
    1000 cold.disk_written p50: 0.996 [0.991, 1.000]
    1000 cold.disk_written p95: 0.996 [0.991, 1.000]
    1000 cold.disk_written p99: 0.996 [0.991, 1.000]
    1000 search.catch_up p50: 1.000 [0.999, 1.000]
    1000 search.catch_up p95: 1.000 [0.999, 1.000]
    1000 search.catch_up p99: 1.000 [0.999, 1.000]
  largest point estimates (> 1.05) not clearing noise:
    100000 search.prefix p99: 2.600 [0.432, 12.452]
    100000 search.prefix p95: 2.165 [0.500, 8.211]
    100000 search.query p95: 1.503 [0.429, 3.965]
    100000 home.page p99: 1.492 [0.433, 3.183]
    10000 open.long_note p50: 1.466 [0.514, 4.826]
    10000 open.long_note p95: 1.466 [0.514, 4.826]
    10000 open.long_note p99: 1.466 [0.514, 4.826]
    100000 open.api_get p95: 1.405 [0.913, 2.796]
    100000 search.typo p50: 1.395 [0.701, 2.594]
    10000 search.prefix p99: 1.350 [0.763, 2.389]
    100000 home.page p95: 1.312 [0.652, 2.567]
    10000 search.typo p99: 1.290 [0.878, 2.349]
    10000 sync.durable_write p99: 1.254 [0.926, 1.744]
    10000 home.page p99: 1.228 [0.667, 1.985]
    100000 search.query p50: 1.218 [0.973, 1.551]

### Perf r7 re-run + A/A control (combined turn): r6 method FAIL, and a no-change run fails it about equally **Session.** `~/bin/perf-turn files-s1-r7-combo` on perf-01, with perf-02's lock held by a unit for the whole run. Measured **10:02:06–11:03:56 UTC** 14 Nov; all 40 arms exited 0. - Each round ran block 1 (dev, candidate-a, dev-copy, candidate-b) and then block 2 (dev, dev-b, dev-copy, dev-b). dev-b is the dev binary. - Binaries are the same as r7 and sha256-checked. Five rounds at 1k/10k/100k, `--hot-only --runs 1 --cold-runs 1`. **Overlap check against infraternal #260.** J618/J610 had ended. J629 took backup01 at **11:01:28 UTC**, so it overlaps only the last ~2.5 min: round 5's final block-2 arm (dev-b). That arm is marked suspect. The difference-in-differences reading below is also given without round 5; the conclusions don't change. | Comparator (`compare-files-s1.py`, unchanged) | 1k | 10k | 100k | Total | |---|---:|---:|---:|---:| | **r7 candidate** vs dev-copy bound | 37/96 | 47/96 | 60/96 | **144/288** | | **A/A, dev vs dev** vs dev-copy bound | 47/96 | 42/96 | 42/96 | **131/288** | **The A/A row is the key fact.** With the identical layout and comparator and **no code change at all**, 131 of 288 comparisons fail. - Comparing two noisy upper bounds is close to a coin flip per comparison. - One warm run per arm leaves the p95/p99 cells and the single-sample metrics with ten values each. - So this gate can't separate r7 (144) from no change (131). By the rule as written, r7 is **FAIL** and not READY. But the rule can't be passed by dev itself either. **Difference-in-differences** (same session, same slots). Per round, the candidate block is compared with the dev-b block. Each block's own dev and dev-copy arms correct for drift between the two blocks. Bootstrap over rounds, 95% intervals. | Rounds | Regressions clearing noise | Improvements clearing noise | |---|---:|---:| | 1–5 | 23 | 34 | | 1–4 | 25 | 35 | - With honest intervals, no change would put about 7 on each side. Both sides are well above that and roughly balanced, so five rounds understate the noise. - **Consistent cells to watch** (they persist with round 5 dropped): - 10k `home.page` p95: 1.73–1.84 - 10k and 100k `home.page_title` p95/p99: 1.4–2.1 - 10k `search.prefix` p95: 1.9–2.3 - 10k `search.query` p95: 1.36–1.57 - **Mirror-image cells** on the improvement side: - 1k `search.prefix` and `search.query`: 0.82–0.90 - 10k `home.first_page`: 0.76 - 1k `mem.idle`: 0.94 - r7 runs **no code in those request paths** during measurement. The walk touches no marker in any measured server life (strace with `openat2`, above). The only per-request addition is one relaxed atomic store in `start_home`. - **The r6 signal is gone.** 100k `search.prefix` and `search.query` are no longer 2×, and 1k `cold.disk_written` is 0.996 [0.992, 0.999] (no marker writes in the cold window). **What I recommend, for the orchestrator to decide; I'm not merging:** 1. Judge #1117 with a method a no-op can pass. For example: `--runs 3` per arm (three warm samples), ABAB ×5, and the gate "candidate U95 ≤ A/A U95" taken from an A/A block in the **same** turn, or the difference-in-differences above with ≥8 rounds. A turn like that is about 2 × 62 min, so split by size: 100k in one turn, 1k+10k in another. 2. If the 10k `home.page`/`home.page_title`/`search` p95 cells survive that, I'll profile them directly. Nothing in this branch is known to touch them. <details><summary>r7 re-run, r6 method</summary> | Notes | Metric | Quantile | Candidate ratio gmean | Candidate upper 95% | Dev-copy ratio gmean | Dev-copy upper 95% | Gate | |---:|---|---|---:|---:|---:|---:|---| | 1000 | cold.disk_written | p50 | 0.9992 | 1.0012 | 1.0040 | 1.0055 | pass | | 1000 | cold.disk_written | p95 | 0.9992 | 1.0012 | 1.0040 | 1.0055 | pass | | 1000 | cold.disk_written | p99 | 0.9992 | 1.0012 | 1.0040 | 1.0055 | pass | | 1000 | cold.first_page | p50 | 0.9979 | 1.0393 | 1.0190 | 1.0410 | pass | | 1000 | cold.first_page | p95 | 0.9979 | 1.0391 | 1.0190 | 1.0410 | pass | | 1000 | cold.first_page | p99 | 0.9979 | 1.0393 | 1.0190 | 1.0410 | pass | | 1000 | cold.index | p50 | 0.9980 | 1.0308 | 1.0146 | 1.0332 | pass | | 1000 | cold.index | p95 | 0.9980 | 1.0308 | 1.0146 | 1.0332 | pass | | 1000 | cold.index | p99 | 0.9980 | 1.0308 | 1.0146 | 1.0332 | pass | | 1000 | cold.mem_peak | p50 | 1.0092 | 1.0196 | 1.0019 | 1.0143 | FAIL | | 1000 | cold.mem_peak | p95 | 1.0092 | 1.0196 | 1.0019 | 1.0143 | FAIL | | 1000 | cold.mem_peak | p99 | 1.0092 | 1.0196 | 1.0019 | 1.0143 | FAIL | | 1000 | cold.notes_per_s | p50 | 0.9980 | 1.0308 | 1.0146 | 1.0332 | pass | | 1000 | cold.notes_per_s | p95 | 0.9980 | 1.0308 | 1.0146 | 1.0332 | pass | | 1000 | cold.notes_per_s | p99 | 0.9980 | 1.0308 | 1.0146 | 1.0332 | pass | | 1000 | cold.startup | p50 | 1.0049 | 1.0611 | 1.2487 | 1.7042 | pass | | 1000 | cold.startup | p95 | 1.0049 | 1.0611 | 1.2487 | 1.7042 | pass | | 1000 | cold.startup | p99 | 1.0049 | 1.0611 | 1.2487 | 1.7042 | pass | | 1000 | home.first_page | p50 | 0.9078 | 1.0465 | 0.7719 | 1.1242 | pass | | 1000 | home.first_page | p95 | 0.9078 | 1.0528 | 0.7719 | 1.1242 | pass | | 1000 | home.first_page | p99 | 0.9078 | 1.0528 | 0.7719 | 1.1171 | pass | | 1000 | home.page | p50 | 0.9918 | 1.0122 | 0.9471 | 1.0103 | FAIL | | 1000 | home.page | p95 | 1.0559 | 1.3298 | 0.9585 | 1.2542 | FAIL | | 1000 | home.page | p99 | 1.1107 | 1.4984 | 0.7880 | 1.1635 | FAIL | | 1000 | home.page_big | p50 | 1.0035 | 1.0191 | 0.9676 | 1.0041 | FAIL | | 1000 | home.page_big | p95 | 1.0035 | 1.0191 | 0.9676 | 1.0041 | FAIL | | 1000 | home.page_big | p99 | 1.0035 | 1.0191 | 0.9676 | 1.0041 | FAIL | | 1000 | home.page_next | p50 | 0.9998 | 1.0189 | 0.9658 | 1.0002 | FAIL | | 1000 | home.page_next | p95 | 1.0078 | 1.0433 | 0.9201 | 0.9641 | FAIL | | 1000 | home.page_next | p99 | 1.0087 | 1.0448 | 0.9445 | 1.0402 | FAIL | | 1000 | home.page_tag | p50 | 0.9885 | 1.0198 | 0.9449 | 0.9928 | FAIL | | 1000 | home.page_tag | p95 | 0.9974 | 1.0472 | 0.8782 | 0.9788 | FAIL | | 1000 | home.page_tag | p99 | 0.9689 | 1.0382 | 0.9237 | 1.0224 | FAIL | | 1000 | home.page_title | p50 | 0.9796 | 1.0145 | 0.9896 | 1.0582 | pass | | 1000 | home.page_title | p95 | 1.0013 | 1.0754 | 0.8823 | 1.0211 | FAIL | | 1000 | home.page_title | p99 | 1.0014 | 1.2125 | 0.7339 | 0.9875 | FAIL | | 1000 | journal.catch_up | p50 | 0.9029 | 0.9750 | 1.0062 | 1.1350 | pass | | 1000 | journal.catch_up | p95 | 0.9029 | 0.9788 | 1.0062 | 1.1350 | pass | | 1000 | journal.catch_up | p99 | 0.9029 | 0.9750 | 1.0062 | 1.1350 | pass | | 1000 | journal.entries | p50 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 1000 | journal.entries | p95 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 1000 | journal.entries | p99 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 1000 | journal.page | p50 | 0.8972 | 0.9770 | 0.9985 | 1.1251 | pass | | 1000 | journal.page | p95 | 0.8972 | 0.9741 | 0.9985 | 1.1251 | pass | | 1000 | journal.page | p99 | 0.8972 | 0.9770 | 0.9985 | 1.1251 | pass | | 1000 | mem.after_first_page | p50 | 0.9766 | 1.0026 | 0.9664 | 0.9966 | FAIL | | 1000 | mem.after_first_page | p95 | 0.9766 | 1.0026 | 0.9664 | 0.9966 | FAIL | | 1000 | mem.after_first_page | p99 | 0.9766 | 1.0026 | 0.9664 | 0.9966 | FAIL | | 1000 | mem.after_opens | p50 | 1.0053 | 1.0106 | 1.0000 | 1.0135 | pass | | 1000 | mem.after_opens | p95 | 1.0053 | 1.0106 | 1.0000 | 1.0135 | pass | | 1000 | mem.after_opens | p99 | 1.0053 | 1.0106 | 1.0000 | 1.0135 | pass | | 1000 | mem.after_search | p50 | 1.0031 | 1.0159 | 1.0182 | 1.0455 | pass | | 1000 | mem.after_search | p95 | 1.0031 | 1.0162 | 1.0182 | 1.0454 | pass | | 1000 | mem.after_search | p99 | 1.0031 | 1.0162 | 1.0182 | 1.0454 | pass | | 1000 | mem.idle | p50 | 0.9753 | 0.9924 | 0.9644 | 0.9961 | pass | | 1000 | mem.idle | p95 | 0.9753 | 0.9923 | 0.9644 | 0.9961 | pass | | 1000 | mem.idle | p99 | 0.9753 | 0.9924 | 0.9644 | 0.9961 | pass | | 1000 | open.api_get | p50 | 0.9808 | 0.9968 | 0.9837 | 1.0111 | pass | | 1000 | open.api_get | p95 | 0.9463 | 1.0377 | 0.8704 | 1.0168 | FAIL | | 1000 | open.api_get | p99 | 0.9884 | 1.0401 | 0.9676 | 1.0378 | FAIL | | 1000 | open.long_note | p50 | 0.9548 | 0.9876 | 0.9706 | 1.0288 | pass | | 1000 | open.long_note | p95 | 0.9548 | 0.9876 | 0.9706 | 1.0288 | pass | | 1000 | open.long_note | p99 | 0.9548 | 0.9876 | 0.9706 | 1.0288 | pass | | 1000 | open.note | p50 | 0.9871 | 1.0174 | 0.9793 | 1.0356 | pass | | 1000 | open.note | p95 | 0.9360 | 0.9577 | 0.9703 | 1.0303 | pass | | 1000 | open.note | p99 | 0.8390 | 0.9513 | 0.9773 | 1.1419 | pass | | 1000 | search.catch_up | p50 | 1.0000 | 1.0000 | 1.0000 | 1.0001 | pass | | 1000 | search.catch_up | p95 | 1.0000 | 1.0001 | 1.0000 | 1.0001 | pass | | 1000 | search.catch_up | p99 | 1.0000 | 1.0001 | 1.0000 | 1.0001 | pass | | 1000 | search.first_query | p50 | 1.0320 | 1.0900 | 1.0006 | 1.0653 | FAIL | | 1000 | search.first_query | p95 | 1.0320 | 1.0921 | 1.0006 | 1.0653 | FAIL | | 1000 | search.first_query | p99 | 1.0320 | 1.0900 | 1.0006 | 1.0653 | FAIL | | 1000 | search.prefix | p50 | 0.9368 | 0.9671 | 1.0611 | 1.1801 | pass | | 1000 | search.prefix | p95 | 0.9568 | 0.9772 | 1.1513 | 1.3185 | pass | | 1000 | search.prefix | p99 | 0.9794 | 1.1862 | 1.1054 | 1.3325 | pass | | 1000 | search.query | p50 | 0.9458 | 0.9689 | 1.1030 | 1.2027 | pass | | 1000 | search.query | p95 | 0.9448 | 0.9692 | 1.0277 | 1.1222 | pass | | 1000 | search.query | p99 | 1.0053 | 1.0380 | 0.9518 | 1.0302 | FAIL | | 1000 | search.typo | p50 | 1.0420 | 1.1221 | 1.0112 | 1.1197 | FAIL | | 1000 | search.typo | p95 | 1.0034 | 1.0697 | 0.9743 | 1.0641 | FAIL | | 1000 | search.typo | p99 | 0.9099 | 1.0347 | 0.7411 | 1.0255 | FAIL | | 1000 | shutdown | p50 | 1.0021 | 1.3163 | 0.8769 | 1.3100 | FAIL | | 1000 | shutdown | p95 | 1.0021 | 1.3163 | 0.8769 | 1.3100 | FAIL | | 1000 | shutdown | p99 | 1.0021 | 1.3163 | 0.8769 | 1.3100 | FAIL | | 1000 | startup.healthz | p50 | 1.0889 | 1.3867 | 0.7981 | 0.9017 | FAIL | | 1000 | startup.healthz | p95 | 1.0889 | 1.3867 | 0.7981 | 0.9017 | FAIL | | 1000 | startup.healthz | p99 | 1.0889 | 1.3867 | 0.7981 | 0.9017 | FAIL | | 1000 | sync.durable_write | p50 | 0.9995 | 1.0332 | 1.0356 | 1.0814 | pass | | 1000 | sync.durable_write | p95 | 0.9967 | 1.0291 | 0.9892 | 1.1594 | pass | | 1000 | sync.durable_write | p99 | 0.9852 | 1.0098 | 1.0178 | 1.0565 | pass | | 1000 | sync.round_trip | p50 | 0.9902 | 1.0039 | 1.0651 | 1.1103 | pass | | 1000 | sync.round_trip | p95 | 1.0005 | 1.0406 | 1.0413 | 1.0686 | pass | | 1000 | sync.round_trip | p99 | 1.0578 | 1.3560 | 1.4509 | 1.7135 | pass | | 1000 | sync.save_ack | p50 | 0.9999 | 1.0110 | 1.0308 | 1.0396 | pass | | 1000 | sync.save_ack | p95 | 1.0736 | 1.2083 | 0.9356 | 1.0917 | FAIL | | 1000 | sync.save_ack | p99 | 1.0680 | 1.2836 | 1.0053 | 1.1782 | FAIL | | 10000 | cold.disk_written | p50 | 1.0018 | 1.0025 | 0.9965 | 0.9985 | FAIL | | 10000 | cold.disk_written | p95 | 1.0018 | 1.0025 | 0.9965 | 0.9985 | FAIL | | 10000 | cold.disk_written | p99 | 1.0018 | 1.0025 | 0.9965 | 0.9985 | FAIL | | 10000 | cold.first_page | p50 | 0.9750 | 1.0276 | 0.9635 | 1.0425 | pass | | 10000 | cold.first_page | p95 | 0.9750 | 1.0276 | 0.9635 | 1.0425 | pass | | 10000 | cold.first_page | p99 | 0.9750 | 1.0309 | 0.9635 | 1.0425 | pass | | 10000 | cold.index | p50 | 1.0068 | 1.0397 | 0.9917 | 1.0274 | FAIL | | 10000 | cold.index | p95 | 1.0068 | 1.0390 | 0.9917 | 1.0251 | FAIL | | 10000 | cold.index | p99 | 1.0068 | 1.0390 | 0.9917 | 1.0251 | FAIL | | 10000 | cold.mem_peak | p50 | 1.0041 | 1.0085 | 1.0035 | 1.0072 | FAIL | | 10000 | cold.mem_peak | p95 | 1.0041 | 1.0085 | 1.0035 | 1.0073 | FAIL | | 10000 | cold.mem_peak | p99 | 1.0041 | 1.0085 | 1.0035 | 1.0073 | FAIL | | 10000 | cold.notes_per_s | p50 | 1.0068 | 1.0390 | 0.9917 | 1.0251 | FAIL | | 10000 | cold.notes_per_s | p95 | 1.0068 | 1.0390 | 0.9917 | 1.0274 | FAIL | | 10000 | cold.notes_per_s | p99 | 1.0068 | 1.0390 | 0.9917 | 1.0251 | FAIL | | 10000 | cold.startup | p50 | 0.9829 | 1.0289 | 0.9873 | 1.0493 | pass | | 10000 | cold.startup | p95 | 0.9829 | 1.0289 | 0.9873 | 1.0493 | pass | | 10000 | cold.startup | p99 | 0.9829 | 1.0289 | 0.9873 | 1.0493 | pass | | 10000 | home.first_page | p50 | 0.7379 | 0.9163 | 0.7714 | 1.0565 | pass | | 10000 | home.first_page | p95 | 0.7379 | 0.9163 | 0.7714 | 1.0565 | pass | | 10000 | home.first_page | p99 | 0.7379 | 0.9163 | 0.7714 | 1.0565 | pass | | 10000 | home.page | p50 | 1.0117 | 1.1029 | 1.0226 | 1.1832 | pass | | 10000 | home.page | p95 | 1.4709 | 1.6823 | 1.1477 | 1.9861 | pass | | 10000 | home.page | p99 | 1.2090 | 1.6537 | 0.7385 | 1.7512 | pass | | 10000 | home.page_big | p50 | 1.0275 | 1.0514 | 0.9929 | 1.0034 | FAIL | | 10000 | home.page_big | p95 | 1.0081 | 1.0518 | 0.9518 | 0.9997 | FAIL | | 10000 | home.page_big | p99 | 1.0081 | 1.0518 | 0.9518 | 0.9974 | FAIL | | 10000 | home.page_next | p50 | 1.0542 | 1.0723 | 0.9812 | 1.0370 | FAIL | | 10000 | home.page_next | p95 | 1.1085 | 1.1812 | 0.9528 | 1.0430 | FAIL | | 10000 | home.page_next | p99 | 1.1041 | 1.2201 | 0.8795 | 1.0045 | FAIL | | 10000 | home.page_tag | p50 | 1.0142 | 1.0475 | 0.9708 | 1.0060 | FAIL | | 10000 | home.page_tag | p95 | 1.0403 | 1.1132 | 0.9575 | 1.0350 | FAIL | | 10000 | home.page_tag | p99 | 0.9454 | 1.1405 | 0.8202 | 1.0475 | FAIL | | 10000 | home.page_title | p50 | 1.0217 | 1.0996 | 0.9165 | 0.9911 | FAIL | | 10000 | home.page_title | p95 | 1.0835 | 1.3189 | 1.1687 | 1.5716 | pass | | 10000 | home.page_title | p99 | 1.3502 | 2.0820 | 1.0371 | 1.1257 | FAIL | | 10000 | journal.catch_up | p50 | 1.0459 | 1.1023 | 0.9474 | 1.0017 | FAIL | | 10000 | journal.catch_up | p95 | 1.0459 | 1.1023 | 0.9474 | 1.0017 | FAIL | | 10000 | journal.catch_up | p99 | 1.0459 | 1.1023 | 0.9474 | 1.0017 | FAIL | | 10000 | journal.entries | p50 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 10000 | journal.entries | p95 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 10000 | journal.entries | p99 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 10000 | journal.page | p50 | 1.0552 | 1.1215 | 0.9550 | 1.0029 | FAIL | | 10000 | journal.page | p95 | 1.0919 | 1.1606 | 0.9162 | 0.9963 | FAIL | | 10000 | journal.page | p99 | 1.0919 | 1.1606 | 0.9162 | 0.9963 | FAIL | | 10000 | mem.after_first_page | p50 | 0.9922 | 1.0032 | 0.9951 | 1.0099 | pass | | 10000 | mem.after_first_page | p95 | 0.9922 | 1.0032 | 0.9951 | 1.0099 | pass | | 10000 | mem.after_first_page | p99 | 0.9922 | 1.0032 | 0.9951 | 1.0099 | pass | | 10000 | mem.after_opens | p50 | 1.0195 | 1.0322 | 1.0116 | 1.0261 | FAIL | | 10000 | mem.after_opens | p95 | 1.0195 | 1.0322 | 1.0116 | 1.0261 | FAIL | | 10000 | mem.after_opens | p99 | 1.0195 | 1.0322 | 1.0116 | 1.0261 | FAIL | | 10000 | mem.after_search | p50 | 1.0042 | 1.0247 | 1.0052 | 1.0231 | FAIL | | 10000 | mem.after_search | p95 | 1.0042 | 1.0247 | 1.0052 | 1.0231 | FAIL | | 10000 | mem.after_search | p99 | 1.0042 | 1.0247 | 1.0052 | 1.0231 | FAIL | | 10000 | mem.idle | p50 | 0.9985 | 1.0106 | 0.9868 | 1.0142 | pass | | 10000 | mem.idle | p95 | 0.9985 | 1.0106 | 0.9868 | 1.0142 | pass | | 10000 | mem.idle | p99 | 0.9985 | 1.0106 | 0.9868 | 1.0142 | pass | | 10000 | open.api_get | p50 | 1.0315 | 1.1230 | 1.0846 | 1.1234 | pass | | 10000 | open.api_get | p95 | 1.0050 | 1.0887 | 1.1266 | 1.3466 | pass | | 10000 | open.api_get | p99 | 1.0179 | 1.0802 | 1.0522 | 1.1406 | pass | | 10000 | open.long_note | p50 | 1.2862 | 2.0350 | 0.7915 | 1.0013 | FAIL | | 10000 | open.long_note | p95 | 1.2862 | 2.0350 | 0.7915 | 1.0013 | FAIL | | 10000 | open.long_note | p99 | 1.2862 | 2.0350 | 0.7915 | 1.0013 | FAIL | | 10000 | open.note | p50 | 0.9917 | 1.0184 | 1.0351 | 1.1395 | pass | | 10000 | open.note | p95 | 0.8508 | 0.9105 | 0.9153 | 1.1895 | pass | | 10000 | open.note | p99 | 0.9947 | 1.1582 | 1.0518 | 1.4718 | pass | | 10000 | search.catch_up | p50 | 1.0000 | 1.0000 | 1.0001 | 1.0002 | pass | | 10000 | search.catch_up | p95 | 1.0000 | 1.0001 | 1.0001 | 1.0002 | pass | | 10000 | search.catch_up | p99 | 1.0000 | 1.0000 | 1.0001 | 1.0002 | pass | | 10000 | search.first_query | p50 | 1.0872 | 1.2229 | 1.0002 | 1.2112 | FAIL | | 10000 | search.first_query | p95 | 1.0872 | 1.2308 | 1.0002 | 1.2112 | FAIL | | 10000 | search.first_query | p99 | 1.0872 | 1.2229 | 1.0002 | 1.2112 | FAIL | | 10000 | search.prefix | p50 | 1.0700 | 1.1664 | 1.1612 | 1.3921 | pass | | 10000 | search.prefix | p95 | 1.6544 | 2.2298 | 2.1880 | 3.7311 | pass | | 10000 | search.prefix | p99 | 1.7778 | 2.7089 | 2.3080 | 5.2863 | pass | | 10000 | search.query | p50 | 1.1296 | 1.2932 | 1.2230 | 1.4448 | pass | | 10000 | search.query | p95 | 1.3308 | 1.7791 | 1.7399 | 2.6556 | pass | | 10000 | search.query | p99 | 1.0781 | 1.1005 | 0.9929 | 1.0368 | FAIL | | 10000 | search.typo | p50 | 1.3184 | 1.6065 | 1.1214 | 1.2917 | FAIL | | 10000 | search.typo | p95 | 1.1570 | 1.5047 | 1.0681 | 1.5269 | pass | | 10000 | search.typo | p99 | 1.1187 | 1.5832 | 0.9015 | 1.7223 | pass | | 10000 | shutdown | p50 | 1.0708 | 1.3011 | 0.8757 | 1.3036 | pass | | 10000 | shutdown | p95 | 1.0708 | 1.3011 | 0.8757 | 1.3036 | pass | | 10000 | shutdown | p99 | 1.0708 | 1.3011 | 0.8757 | 1.3036 | pass | | 10000 | startup.healthz | p50 | 0.9177 | 0.9976 | 1.0176 | 1.1300 | pass | | 10000 | startup.healthz | p95 | 0.9177 | 0.9976 | 1.0176 | 1.1300 | pass | | 10000 | startup.healthz | p99 | 0.9177 | 0.9976 | 1.0176 | 1.1300 | pass | | 10000 | sync.durable_write | p50 | 0.9920 | 0.9982 | 1.0006 | 1.0143 | pass | | 10000 | sync.durable_write | p95 | 0.9762 | 1.0238 | 0.9395 | 0.9615 | FAIL | | 10000 | sync.durable_write | p99 | 1.1028 | 1.2035 | 0.9588 | 1.0123 | FAIL | | 10000 | sync.round_trip | p50 | 1.0392 | 1.0754 | 0.9798 | 1.0323 | FAIL | | 10000 | sync.round_trip | p95 | 1.0221 | 1.0306 | 0.9995 | 1.0371 | pass | | 10000 | sync.round_trip | p99 | 0.7380 | 0.9087 | 1.1906 | 2.2534 | pass | | 10000 | sync.save_ack | p50 | 0.9890 | 1.0043 | 1.0385 | 1.1067 | pass | | 10000 | sync.save_ack | p95 | 1.0254 | 1.0940 | 0.9881 | 1.0408 | FAIL | | 10000 | sync.save_ack | p99 | 0.6140 | 0.7534 | 0.7842 | 1.5289 | pass | | 100000 | cold.disk_written | p50 | 1.0000 | 1.0001 | 0.9997 | 0.9999 | FAIL | | 100000 | cold.disk_written | p95 | 1.0000 | 1.0001 | 0.9997 | 0.9999 | FAIL | | 100000 | cold.disk_written | p99 | 1.0000 | 1.0001 | 0.9997 | 0.9999 | FAIL | | 100000 | cold.first_page | p50 | 0.9985 | 1.0217 | 1.0348 | 1.0768 | pass | | 100000 | cold.first_page | p95 | 0.9985 | 1.0217 | 1.0348 | 1.0772 | pass | | 100000 | cold.first_page | p99 | 0.9985 | 1.0217 | 1.0348 | 1.0768 | pass | | 100000 | cold.index | p50 | 1.0034 | 1.0314 | 1.0062 | 1.0188 | FAIL | | 100000 | cold.index | p95 | 1.0034 | 1.0314 | 1.0062 | 1.0188 | FAIL | | 100000 | cold.index | p99 | 1.0034 | 1.0314 | 1.0062 | 1.0188 | FAIL | | 100000 | cold.mem_peak | p50 | 1.0094 | 1.0195 | 1.0262 | 1.0368 | pass | | 100000 | cold.mem_peak | p95 | 1.0094 | 1.0195 | 1.0262 | 1.0368 | pass | | 100000 | cold.mem_peak | p99 | 1.0094 | 1.0195 | 1.0262 | 1.0368 | pass | | 100000 | cold.notes_per_s | p50 | 1.0034 | 1.0314 | 1.0062 | 1.0188 | FAIL | | 100000 | cold.notes_per_s | p95 | 1.0034 | 1.0314 | 1.0062 | 1.0188 | FAIL | | 100000 | cold.notes_per_s | p99 | 1.0034 | 1.0314 | 1.0062 | 1.0188 | FAIL | | 100000 | cold.startup | p50 | 1.0180 | 1.1584 | 1.0273 | 1.1615 | pass | | 100000 | cold.startup | p95 | 1.0180 | 1.1584 | 1.0273 | 1.1615 | pass | | 100000 | cold.startup | p99 | 1.0180 | 1.1584 | 1.0273 | 1.1615 | pass | | 100000 | home.first_page | p50 | 1.0625 | 1.1133 | 0.8429 | 1.0380 | FAIL | | 100000 | home.first_page | p95 | 1.0625 | 1.1133 | 0.8429 | 1.0380 | FAIL | | 100000 | home.first_page | p99 | 1.0625 | 1.1133 | 0.8429 | 1.0380 | FAIL | | 100000 | home.page | p50 | 1.0912 | 1.2444 | 1.0008 | 1.1645 | FAIL | | 100000 | home.page | p95 | 1.1303 | 1.6533 | 1.0662 | 1.5464 | FAIL | | 100000 | home.page | p99 | 1.0917 | 1.5971 | 0.9688 | 2.2671 | pass | | 100000 | home.page_big | p50 | 1.0069 | 1.0952 | 1.0270 | 1.1310 | pass | | 100000 | home.page_big | p95 | 1.0171 | 1.3402 | 0.9179 | 1.0433 | FAIL | | 100000 | home.page_big | p99 | 1.0171 | 1.3628 | 0.9179 | 1.0433 | FAIL | | 100000 | home.page_next | p50 | 1.1699 | 1.2612 | 1.0099 | 1.0585 | FAIL | | 100000 | home.page_next | p95 | 1.1080 | 1.4341 | 0.6575 | 1.0441 | FAIL | | 100000 | home.page_next | p99 | 1.0173 | 1.2056 | 0.9287 | 1.4288 | pass | | 100000 | home.page_tag | p50 | 1.0039 | 1.0179 | 1.0258 | 1.0437 | pass | | 100000 | home.page_tag | p95 | 1.0233 | 1.0494 | 1.0527 | 1.1111 | pass | | 100000 | home.page_tag | p99 | 1.0314 | 1.0822 | 1.0128 | 1.0908 | pass | | 100000 | home.page_title | p50 | 1.1333 | 1.3004 | 0.8943 | 1.0306 | FAIL | | 100000 | home.page_title | p95 | 1.3842 | 1.7948 | 0.8040 | 0.9735 | FAIL | | 100000 | home.page_title | p99 | 1.2772 | 2.0307 | 0.7729 | 0.9625 | FAIL | | 100000 | journal.catch_up | p50 | 0.9571 | 1.0099 | 1.0380 | 1.0980 | pass | | 100000 | journal.catch_up | p95 | 0.9571 | 1.0099 | 1.0380 | 1.0980 | pass | | 100000 | journal.catch_up | p99 | 0.9571 | 1.0099 | 1.0380 | 1.0980 | pass | | 100000 | journal.entries | p50 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 100000 | journal.entries | p95 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 100000 | journal.entries | p99 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 100000 | journal.page | p50 | 0.9644 | 1.0199 | 1.0613 | 1.1183 | pass | | 100000 | journal.page | p95 | 0.9338 | 1.0158 | 1.0543 | 1.1558 | pass | | 100000 | journal.page | p99 | 0.7867 | 0.9480 | 0.8881 | 1.1217 | pass | | 100000 | mem.after_first_page | p50 | 1.0044 | 1.0188 | 0.9964 | 1.0165 | FAIL | | 100000 | mem.after_first_page | p95 | 1.0044 | 1.0188 | 0.9964 | 1.0165 | FAIL | | 100000 | mem.after_first_page | p99 | 1.0044 | 1.0188 | 0.9964 | 1.0165 | FAIL | | 100000 | mem.after_opens | p50 | 1.0011 | 1.0156 | 0.9819 | 1.0096 | FAIL | | 100000 | mem.after_opens | p95 | 1.0011 | 1.0156 | 0.9819 | 1.0096 | FAIL | | 100000 | mem.after_opens | p99 | 1.0011 | 1.0156 | 0.9819 | 1.0096 | FAIL | | 100000 | mem.after_search | p50 | 1.0022 | 1.0195 | 1.0043 | 1.0584 | pass | | 100000 | mem.after_search | p95 | 1.0022 | 1.0195 | 1.0043 | 1.0584 | pass | | 100000 | mem.after_search | p99 | 1.0022 | 1.0190 | 1.0043 | 1.0584 | pass | | 100000 | mem.idle | p50 | 1.0226 | 1.0456 | 0.9840 | 1.0126 | FAIL | | 100000 | mem.idle | p95 | 1.0226 | 1.0456 | 0.9840 | 1.0126 | FAIL | | 100000 | mem.idle | p99 | 1.0226 | 1.0456 | 0.9840 | 1.0126 | FAIL | | 100000 | open.api_get | p50 | 1.0330 | 1.1418 | 0.9399 | 1.0026 | FAIL | | 100000 | open.api_get | p95 | 1.1846 | 1.6184 | 1.0194 | 1.4158 | FAIL | | 100000 | open.api_get | p99 | 0.9655 | 1.0428 | 0.8532 | 1.0050 | FAIL | | 100000 | open.long_note | p50 | 1.0373 | 1.1744 | 0.9818 | 1.0368 | FAIL | | 100000 | open.long_note | p95 | 1.0373 | 1.1744 | 0.9818 | 1.0398 | FAIL | | 100000 | open.long_note | p99 | 1.0373 | 1.1744 | 0.9818 | 1.0398 | FAIL | | 100000 | open.note | p50 | 0.9630 | 1.0010 | 1.1035 | 1.1413 | pass | | 100000 | open.note | p95 | 0.7568 | 0.9825 | 1.5700 | 3.7653 | pass | | 100000 | open.note | p99 | 0.9210 | 1.1068 | 0.9717 | 1.1637 | pass | | 100000 | search.catch_up | p50 | 1.0003 | 1.0007 | 0.9997 | 1.0000 | FAIL | | 100000 | search.catch_up | p95 | 1.0003 | 1.0007 | 0.9997 | 1.0000 | FAIL | | 100000 | search.catch_up | p99 | 1.0003 | 1.0007 | 0.9997 | 1.0000 | FAIL | | 100000 | search.first_query | p50 | 1.0628 | 1.1652 | 0.8782 | 0.9704 | FAIL | | 100000 | search.first_query | p95 | 1.0628 | 1.1652 | 0.8782 | 0.9704 | FAIL | | 100000 | search.first_query | p99 | 1.0628 | 1.1652 | 0.8782 | 0.9730 | FAIL | | 100000 | search.prefix | p50 | 1.1874 | 1.3013 | 0.9744 | 1.0186 | FAIL | | 100000 | search.prefix | p95 | 1.3208 | 2.6567 | 0.5654 | 0.9667 | FAIL | | 100000 | search.prefix | p99 | 1.6560 | 3.5550 | 0.4111 | 0.8675 | FAIL | | 100000 | search.query | p50 | 1.2062 | 1.3872 | 0.9701 | 1.0232 | FAIL | | 100000 | search.query | p95 | 1.3437 | 2.3715 | 0.6626 | 1.0421 | FAIL | | 100000 | search.query | p99 | 1.1624 | 1.2666 | 1.0039 | 1.0461 | FAIL | | 100000 | search.typo | p50 | 1.5209 | 2.3880 | 1.0750 | 1.1753 | FAIL | | 100000 | search.typo | p95 | 1.2269 | 1.5194 | 1.0291 | 1.0619 | FAIL | | 100000 | search.typo | p99 | 1.3553 | 1.8672 | 0.9841 | 1.0535 | FAIL | | 100000 | shutdown | p50 | 1.0015 | 1.1225 | 1.0014 | 1.1310 | pass | | 100000 | shutdown | p95 | 1.0015 | 1.1225 | 1.0014 | 1.1310 | pass | | 100000 | shutdown | p99 | 1.0015 | 1.1225 | 1.0014 | 1.1348 | pass | | 100000 | startup.healthz | p50 | 1.1157 | 1.1600 | 0.9217 | 0.9978 | FAIL | | 100000 | startup.healthz | p95 | 1.1157 | 1.1600 | 0.9217 | 0.9987 | FAIL | | 100000 | startup.healthz | p99 | 1.1157 | 1.1602 | 0.9217 | 0.9978 | FAIL | | 100000 | sync.durable_write | p50 | 0.9920 | 1.0248 | 0.9475 | 1.0068 | FAIL | | 100000 | sync.durable_write | p95 | 1.0149 | 1.0312 | 0.9551 | 1.0522 | pass | | 100000 | sync.durable_write | p99 | 0.9692 | 1.0163 | 0.9191 | 0.9706 | FAIL | | 100000 | sync.round_trip | p50 | 1.0759 | 1.1328 | 1.0016 | 1.0643 | FAIL | | 100000 | sync.round_trip | p95 | 1.0009 | 1.0635 | 1.0677 | 1.1736 | pass | | 100000 | sync.round_trip | p99 | 0.5664 | 0.8005 | 1.1599 | 1.5776 | pass | | 100000 | sync.save_ack | p50 | 1.0108 | 1.0932 | 0.9319 | 0.9798 | FAIL | | 100000 | sync.save_ack | p95 | 1.0157 | 1.1509 | 0.9624 | 1.1338 | FAIL | | 100000 | sync.save_ack | p99 | 1.0853 | 1.7499 | 1.1498 | 1.5199 | FAIL | Bootstrap resamples: 20000; paired rounds: 5; candidate/control ratio samples: 10/5. Ratios normalize lower-is-better metrics as candidate/control; cold.notes_per_s is inverted. Gate: candidate upper 95% bootstrap bound must be at or below the dev-copy control upper bound for every metric and quantile. FAIL: 144 comparisons exceeded the dev-copy bound. </details> <details><summary>A/A (dev vs dev), r6 method</summary> | Notes | Metric | Quantile | Candidate ratio gmean | Candidate upper 95% | Dev-copy ratio gmean | Dev-copy upper 95% | Gate | |---:|---|---|---:|---:|---:|---:|---| | 1000 | cold.disk_written | p50 | 1.0035 | 1.0056 | 0.9985 | 1.0006 | FAIL | | 1000 | cold.disk_written | p95 | 1.0035 | 1.0056 | 0.9985 | 1.0006 | FAIL | | 1000 | cold.disk_written | p99 | 1.0035 | 1.0056 | 0.9985 | 1.0006 | FAIL | | 1000 | cold.first_page | p50 | 1.0060 | 1.0240 | 1.0224 | 1.0546 | pass | | 1000 | cold.first_page | p95 | 1.0060 | 1.0240 | 1.0224 | 1.0546 | pass | | 1000 | cold.first_page | p99 | 1.0060 | 1.0240 | 1.0224 | 1.0546 | pass | | 1000 | cold.index | p50 | 1.0045 | 1.0186 | 1.0173 | 1.0413 | pass | | 1000 | cold.index | p95 | 1.0045 | 1.0186 | 1.0173 | 1.0413 | pass | | 1000 | cold.index | p99 | 1.0045 | 1.0186 | 1.0173 | 1.0420 | pass | | 1000 | cold.mem_peak | p50 | 1.0012 | 1.0051 | 1.0101 | 1.0275 | pass | | 1000 | cold.mem_peak | p95 | 1.0012 | 1.0053 | 1.0101 | 1.0275 | pass | | 1000 | cold.mem_peak | p99 | 1.0012 | 1.0053 | 1.0101 | 1.0275 | pass | | 1000 | cold.notes_per_s | p50 | 1.0045 | 1.0186 | 1.0173 | 1.0413 | pass | | 1000 | cold.notes_per_s | p95 | 1.0045 | 1.0186 | 1.0173 | 1.0412 | pass | | 1000 | cold.notes_per_s | p99 | 1.0045 | 1.0186 | 1.0173 | 1.0413 | pass | | 1000 | cold.startup | p50 | 1.1456 | 1.4023 | 1.0734 | 1.1369 | FAIL | | 1000 | cold.startup | p95 | 1.1456 | 1.4023 | 1.0734 | 1.1338 | FAIL | | 1000 | cold.startup | p99 | 1.1456 | 1.4023 | 1.0734 | 1.1351 | FAIL | | 1000 | home.first_page | p50 | 0.7864 | 1.0007 | 0.8805 | 0.9879 | FAIL | | 1000 | home.first_page | p95 | 0.7864 | 1.0007 | 0.8805 | 0.9879 | FAIL | | 1000 | home.first_page | p99 | 0.7864 | 1.0007 | 0.8805 | 0.9903 | FAIL | | 1000 | home.page | p50 | 0.9629 | 1.0045 | 0.9174 | 0.9688 | FAIL | | 1000 | home.page | p95 | 0.9033 | 1.1042 | 1.3361 | 1.7259 | pass | | 1000 | home.page | p99 | 1.0223 | 1.3662 | 1.6410 | 2.7857 | pass | | 1000 | home.page_big | p50 | 1.0186 | 1.0481 | 0.9763 | 1.0017 | FAIL | | 1000 | home.page_big | p95 | 1.0186 | 1.0481 | 0.9763 | 1.0017 | FAIL | | 1000 | home.page_big | p99 | 1.0186 | 1.0481 | 0.9763 | 1.0017 | FAIL | | 1000 | home.page_next | p50 | 0.9790 | 0.9990 | 0.9717 | 1.0029 | pass | | 1000 | home.page_next | p95 | 1.0165 | 1.0936 | 0.9381 | 1.0182 | FAIL | | 1000 | home.page_next | p99 | 0.9408 | 1.0297 | 0.8342 | 1.0139 | FAIL | | 1000 | home.page_tag | p50 | 0.9732 | 0.9979 | 1.0057 | 1.0860 | pass | | 1000 | home.page_tag | p95 | 0.9365 | 0.9808 | 0.9725 | 1.0976 | pass | | 1000 | home.page_tag | p99 | 0.9695 | 1.0663 | 0.9213 | 1.0538 | FAIL | | 1000 | home.page_title | p50 | 0.9798 | 1.0048 | 1.0019 | 1.0408 | pass | | 1000 | home.page_title | p95 | 1.0049 | 1.0461 | 0.9840 | 1.0015 | FAIL | | 1000 | home.page_title | p99 | 0.9871 | 1.0680 | 1.1024 | 1.3181 | pass | | 1000 | journal.catch_up | p50 | 0.9688 | 1.0326 | 0.9087 | 1.0286 | FAIL | | 1000 | journal.catch_up | p95 | 0.9688 | 1.0326 | 0.9087 | 1.0286 | FAIL | | 1000 | journal.catch_up | p99 | 0.9688 | 1.0326 | 0.9087 | 1.0286 | FAIL | | 1000 | journal.entries | p50 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 1000 | journal.entries | p95 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 1000 | journal.entries | p99 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 1000 | journal.page | p50 | 0.9687 | 1.0375 | 0.9034 | 1.0361 | FAIL | | 1000 | journal.page | p95 | 0.9687 | 1.0375 | 0.9034 | 1.0361 | FAIL | | 1000 | journal.page | p99 | 0.9687 | 1.0363 | 0.9034 | 1.0361 | FAIL | | 1000 | mem.after_first_page | p50 | 1.0214 | 1.0358 | 0.9941 | 1.0004 | FAIL | | 1000 | mem.after_first_page | p95 | 1.0214 | 1.0367 | 0.9941 | 1.0004 | FAIL | | 1000 | mem.after_first_page | p99 | 1.0214 | 1.0367 | 0.9941 | 1.0004 | FAIL | | 1000 | mem.after_opens | p50 | 1.0052 | 1.0162 | 1.0015 | 1.0128 | FAIL | | 1000 | mem.after_opens | p95 | 1.0052 | 1.0162 | 1.0015 | 1.0128 | FAIL | | 1000 | mem.after_opens | p99 | 1.0052 | 1.0162 | 1.0015 | 1.0128 | FAIL | | 1000 | mem.after_search | p50 | 1.0072 | 1.0267 | 1.0354 | 1.0517 | pass | | 1000 | mem.after_search | p95 | 1.0072 | 1.0267 | 1.0354 | 1.0517 | pass | | 1000 | mem.after_search | p99 | 1.0072 | 1.0267 | 1.0354 | 1.0517 | pass | | 1000 | mem.idle | p50 | 1.0332 | 1.0577 | 0.9975 | 1.0079 | FAIL | | 1000 | mem.idle | p95 | 1.0332 | 1.0577 | 0.9975 | 1.0079 | FAIL | | 1000 | mem.idle | p99 | 1.0332 | 1.0577 | 0.9975 | 1.0079 | FAIL | | 1000 | open.api_get | p50 | 0.9839 | 0.9965 | 1.0354 | 1.0972 | pass | | 1000 | open.api_get | p95 | 0.9419 | 1.0135 | 1.0508 | 1.2316 | pass | | 1000 | open.api_get | p99 | 1.0293 | 1.0987 | 1.0054 | 1.0573 | FAIL | | 1000 | open.long_note | p50 | 0.9960 | 1.0064 | 1.0104 | 1.0550 | pass | | 1000 | open.long_note | p95 | 0.9960 | 1.0064 | 1.0104 | 1.0550 | pass | | 1000 | open.long_note | p99 | 0.9960 | 1.0064 | 1.0104 | 1.0550 | pass | | 1000 | open.note | p50 | 1.0122 | 1.0381 | 1.0263 | 1.0773 | pass | | 1000 | open.note | p95 | 1.0152 | 1.0493 | 0.9501 | 1.0015 | FAIL | | 1000 | open.note | p99 | 0.9355 | 1.0076 | 1.0672 | 1.1044 | pass | | 1000 | search.catch_up | p50 | 1.0001 | 1.0003 | 1.0000 | 1.0005 | pass | | 1000 | search.catch_up | p95 | 1.0001 | 1.0003 | 1.0000 | 1.0005 | pass | | 1000 | search.catch_up | p99 | 1.0001 | 1.0003 | 1.0000 | 1.0005 | pass | | 1000 | search.first_query | p50 | 1.0369 | 1.0974 | 1.0810 | 1.1234 | pass | | 1000 | search.first_query | p95 | 1.0369 | 1.0974 | 1.0810 | 1.1234 | pass | | 1000 | search.first_query | p99 | 1.0369 | 1.0974 | 1.0810 | 1.1234 | pass | | 1000 | search.prefix | p50 | 1.0401 | 1.0954 | 1.0019 | 1.0283 | FAIL | | 1000 | search.prefix | p95 | 1.1218 | 1.2594 | 0.9615 | 1.0163 | FAIL | | 1000 | search.prefix | p99 | 1.1891 | 1.3476 | 0.9896 | 1.0562 | FAIL | | 1000 | search.query | p50 | 1.0549 | 1.1243 | 0.9759 | 1.0460 | FAIL | | 1000 | search.query | p95 | 1.1192 | 1.2581 | 0.9409 | 0.9931 | FAIL | | 1000 | search.query | p99 | 1.0024 | 1.0636 | 0.9552 | 1.0234 | FAIL | | 1000 | search.typo | p50 | 1.0795 | 1.1853 | 1.0450 | 1.1024 | FAIL | | 1000 | search.typo | p95 | 1.1011 | 1.2651 | 1.0709 | 1.1323 | FAIL | | 1000 | search.typo | p99 | 1.2692 | 1.5125 | 1.1119 | 1.2369 | FAIL | | 1000 | shutdown | p50 | 0.9346 | 1.1480 | 1.0018 | 1.0092 | FAIL | | 1000 | shutdown | p95 | 0.9346 | 1.1480 | 1.0018 | 1.0092 | FAIL | | 1000 | shutdown | p99 | 0.9346 | 1.1480 | 1.0018 | 1.0092 | FAIL | | 1000 | startup.healthz | p50 | 1.0302 | 1.2931 | 1.1110 | 1.5779 | pass | | 1000 | startup.healthz | p95 | 1.0302 | 1.2931 | 1.1110 | 1.5779 | pass | | 1000 | startup.healthz | p99 | 1.0302 | 1.2931 | 1.1110 | 1.5779 | pass | | 1000 | sync.durable_write | p50 | 0.9653 | 1.0107 | 1.0985 | 1.1915 | pass | | 1000 | sync.durable_write | p95 | 0.9237 | 1.0139 | 1.0643 | 1.3496 | pass | | 1000 | sync.durable_write | p99 | 0.9705 | 1.0342 | 1.0332 | 1.1501 | pass | | 1000 | sync.round_trip | p50 | 1.0189 | 1.0567 | 1.0612 | 1.1487 | pass | | 1000 | sync.round_trip | p95 | 1.0151 | 1.0334 | 0.9998 | 1.0497 | pass | | 1000 | sync.round_trip | p99 | 1.1863 | 1.3016 | 0.9875 | 1.0661 | FAIL | | 1000 | sync.save_ack | p50 | 0.9967 | 1.0078 | 1.0192 | 1.0257 | pass | | 1000 | sync.save_ack | p95 | 0.9860 | 1.0488 | 1.0184 | 1.1037 | pass | | 1000 | sync.save_ack | p99 | 0.9391 | 0.9801 | 0.9475 | 1.0601 | pass | | 10000 | cold.disk_written | p50 | 1.0009 | 1.0021 | 0.9953 | 0.9968 | FAIL | | 10000 | cold.disk_written | p95 | 1.0009 | 1.0021 | 0.9953 | 0.9968 | FAIL | | 10000 | cold.disk_written | p99 | 1.0009 | 1.0021 | 0.9953 | 0.9968 | FAIL | | 10000 | cold.first_page | p50 | 0.9775 | 1.0204 | 1.0223 | 1.0966 | pass | | 10000 | cold.first_page | p95 | 0.9775 | 1.0204 | 1.0223 | 1.0950 | pass | | 10000 | cold.first_page | p99 | 0.9775 | 1.0204 | 1.0223 | 1.0950 | pass | | 10000 | cold.index | p50 | 0.9755 | 1.0146 | 1.0036 | 1.0519 | pass | | 10000 | cold.index | p95 | 0.9755 | 1.0146 | 1.0036 | 1.0519 | pass | | 10000 | cold.index | p99 | 0.9755 | 1.0146 | 1.0036 | 1.0519 | pass | | 10000 | cold.mem_peak | p50 | 1.0008 | 1.0031 | 1.0033 | 1.0066 | pass | | 10000 | cold.mem_peak | p95 | 1.0008 | 1.0032 | 1.0033 | 1.0066 | pass | | 10000 | cold.mem_peak | p99 | 1.0008 | 1.0031 | 1.0033 | 1.0067 | pass | | 10000 | cold.notes_per_s | p50 | 0.9755 | 1.0146 | 1.0036 | 1.0519 | pass | | 10000 | cold.notes_per_s | p95 | 0.9755 | 1.0146 | 1.0036 | 1.0519 | pass | | 10000 | cold.notes_per_s | p99 | 0.9755 | 1.0146 | 1.0036 | 1.0519 | pass | | 10000 | cold.startup | p50 | 0.9717 | 0.9944 | 1.0678 | 1.1725 | pass | | 10000 | cold.startup | p95 | 0.9717 | 0.9939 | 1.0678 | 1.1725 | pass | | 10000 | cold.startup | p99 | 0.9717 | 0.9944 | 1.0678 | 1.1725 | pass | | 10000 | home.first_page | p50 | 0.9753 | 1.1044 | 1.4415 | 2.6630 | pass | | 10000 | home.first_page | p95 | 0.9753 | 1.1044 | 1.4415 | 2.6630 | pass | | 10000 | home.first_page | p99 | 0.9753 | 1.1044 | 1.4415 | 2.6630 | pass | | 10000 | home.page | p50 | 1.0057 | 1.0966 | 0.9604 | 1.1439 | pass | | 10000 | home.page | p95 | 0.7986 | 1.0797 | 0.5181 | 0.9597 | FAIL | | 10000 | home.page | p99 | 0.9286 | 1.1245 | 0.7020 | 1.0817 | FAIL | | 10000 | home.page_big | p50 | 1.0368 | 1.0648 | 1.0045 | 1.0210 | FAIL | | 10000 | home.page_big | p95 | 1.0358 | 1.0650 | 0.9965 | 1.0061 | FAIL | | 10000 | home.page_big | p99 | 1.0358 | 1.0650 | 0.9965 | 1.0061 | FAIL | | 10000 | home.page_next | p50 | 1.0243 | 1.0503 | 0.9955 | 1.0442 | FAIL | | 10000 | home.page_next | p95 | 1.0334 | 1.0615 | 0.9363 | 1.0425 | FAIL | | 10000 | home.page_next | p99 | 1.0898 | 1.1091 | 0.9304 | 1.0747 | FAIL | | 10000 | home.page_tag | p50 | 1.0389 | 1.0690 | 0.9744 | 1.0304 | FAIL | | 10000 | home.page_tag | p95 | 1.0454 | 1.1404 | 0.9209 | 1.0426 | FAIL | | 10000 | home.page_tag | p99 | 0.9040 | 1.0077 | 0.8492 | 0.9639 | FAIL | | 10000 | home.page_title | p50 | 1.0717 | 1.1593 | 0.9613 | 1.0916 | FAIL | | 10000 | home.page_title | p95 | 0.7870 | 1.0690 | 0.9834 | 1.8627 | pass | | 10000 | home.page_title | p99 | 0.7285 | 1.5280 | 0.7108 | 1.1083 | FAIL | | 10000 | journal.catch_up | p50 | 1.0319 | 1.0708 | 1.0539 | 1.0891 | pass | | 10000 | journal.catch_up | p95 | 1.0319 | 1.0707 | 1.0539 | 1.0891 | pass | | 10000 | journal.catch_up | p99 | 1.0319 | 1.0708 | 1.0539 | 1.0913 | pass | | 10000 | journal.entries | p50 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 10000 | journal.entries | p95 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 10000 | journal.entries | p99 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 10000 | journal.page | p50 | 1.0317 | 1.0847 | 1.0456 | 1.0829 | FAIL | | 10000 | journal.page | p95 | 1.0697 | 1.0920 | 1.1533 | 1.2653 | pass | | 10000 | journal.page | p99 | 1.0697 | 1.0920 | 1.1533 | 1.2653 | pass | | 10000 | mem.after_first_page | p50 | 1.0019 | 1.0047 | 1.0314 | 1.0656 | pass | | 10000 | mem.after_first_page | p95 | 1.0019 | 1.0047 | 1.0314 | 1.0656 | pass | | 10000 | mem.after_first_page | p99 | 1.0019 | 1.0047 | 1.0314 | 1.0656 | pass | | 10000 | mem.after_opens | p50 | 1.0016 | 1.0085 | 1.0169 | 1.0310 | pass | | 10000 | mem.after_opens | p95 | 1.0016 | 1.0085 | 1.0169 | 1.0310 | pass | | 10000 | mem.after_opens | p99 | 1.0016 | 1.0085 | 1.0169 | 1.0312 | pass | | 10000 | mem.after_search | p50 | 0.9971 | 1.0069 | 0.9952 | 1.0081 | pass | | 10000 | mem.after_search | p95 | 0.9971 | 1.0070 | 0.9952 | 1.0083 | pass | | 10000 | mem.after_search | p99 | 0.9971 | 1.0070 | 0.9952 | 1.0083 | pass | | 10000 | mem.idle | p50 | 0.9911 | 1.0033 | 0.9959 | 1.0161 | pass | | 10000 | mem.idle | p95 | 0.9911 | 1.0028 | 0.9959 | 1.0161 | pass | | 10000 | mem.idle | p99 | 0.9911 | 1.0033 | 0.9959 | 1.0161 | pass | | 10000 | open.api_get | p50 | 0.9532 | 1.0118 | 1.1158 | 1.2024 | pass | | 10000 | open.api_get | p95 | 0.9317 | 1.0565 | 1.1273 | 1.2387 | pass | | 10000 | open.api_get | p99 | 0.9412 | 0.9763 | 1.0996 | 1.2280 | pass | | 10000 | open.long_note | p50 | 1.2136 | 2.1897 | 1.0173 | 1.0631 | FAIL | | 10000 | open.long_note | p95 | 1.2136 | 2.1897 | 1.0173 | 1.0631 | FAIL | | 10000 | open.long_note | p99 | 1.2136 | 2.1897 | 1.0173 | 1.0631 | FAIL | | 10000 | open.note | p50 | 1.0439 | 1.1047 | 0.9940 | 1.0499 | FAIL | | 10000 | open.note | p95 | 0.9478 | 1.1190 | 1.2886 | 1.9022 | pass | | 10000 | open.note | p99 | 0.9688 | 1.0136 | 1.1908 | 1.3925 | pass | | 10000 | search.catch_up | p50 | 1.0000 | 1.0001 | 1.0000 | 1.0001 | FAIL | | 10000 | search.catch_up | p95 | 1.0000 | 1.0001 | 1.0000 | 1.0001 | FAIL | | 10000 | search.catch_up | p99 | 1.0000 | 1.0001 | 1.0000 | 1.0001 | FAIL | | 10000 | search.first_query | p50 | 1.0923 | 1.1900 | 1.2680 | 1.4205 | pass | | 10000 | search.first_query | p95 | 1.0923 | 1.1900 | 1.2680 | 1.4205 | pass | | 10000 | search.first_query | p99 | 1.0923 | 1.1900 | 1.2680 | 1.4205 | pass | | 10000 | search.prefix | p50 | 0.9456 | 1.0244 | 0.8342 | 0.9442 | FAIL | | 10000 | search.prefix | p95 | 0.7044 | 0.9377 | 0.5275 | 0.8649 | FAIL | | 10000 | search.prefix | p99 | 0.9345 | 1.9062 | 0.4649 | 0.9270 | FAIL | | 10000 | search.query | p50 | 0.8876 | 1.0009 | 0.7523 | 0.8881 | FAIL | | 10000 | search.query | p95 | 0.8487 | 1.0573 | 0.6374 | 0.8507 | FAIL | | 10000 | search.query | p99 | 1.0370 | 1.0703 | 0.9964 | 1.0111 | FAIL | | 10000 | search.typo | p50 | 1.1818 | 1.3119 | 0.9595 | 1.2529 | FAIL | | 10000 | search.typo | p95 | 1.1943 | 1.4736 | 0.9834 | 1.3775 | FAIL | | 10000 | search.typo | p99 | 0.9402 | 1.0825 | 1.0371 | 1.9334 | pass | | 10000 | shutdown | p50 | 1.0009 | 1.1530 | 0.7653 | 1.1465 | FAIL | | 10000 | shutdown | p95 | 1.0009 | 1.1530 | 0.7653 | 1.1465 | FAIL | | 10000 | shutdown | p99 | 1.0009 | 1.1530 | 0.7653 | 1.1465 | FAIL | | 10000 | startup.healthz | p50 | 0.9622 | 1.0130 | 0.9514 | 1.0042 | FAIL | | 10000 | startup.healthz | p95 | 0.9622 | 1.0141 | 0.9514 | 1.0042 | FAIL | | 10000 | startup.healthz | p99 | 0.9622 | 1.0130 | 0.9514 | 1.0042 | FAIL | | 10000 | sync.durable_write | p50 | 0.9446 | 1.0041 | 0.9649 | 1.0229 | pass | | 10000 | sync.durable_write | p95 | 0.9105 | 1.0054 | 0.9002 | 1.0016 | FAIL | | 10000 | sync.durable_write | p99 | 0.8615 | 1.0274 | 0.7055 | 0.9958 | FAIL | | 10000 | sync.round_trip | p50 | 1.0327 | 1.0624 | 1.0015 | 1.0194 | FAIL | | 10000 | sync.round_trip | p95 | 1.0139 | 1.0568 | 0.9827 | 1.0272 | FAIL | | 10000 | sync.round_trip | p99 | 0.9619 | 1.6148 | 1.3689 | 2.1356 | pass | | 10000 | sync.save_ack | p50 | 0.9812 | 1.0100 | 1.0260 | 1.0848 | pass | | 10000 | sync.save_ack | p95 | 0.9570 | 1.0106 | 0.9935 | 1.0728 | pass | | 10000 | sync.save_ack | p99 | 0.7861 | 1.0117 | 1.2902 | 1.6693 | pass | | 100000 | cold.disk_written | p50 | 1.0000 | 1.0001 | 0.9999 | 1.0002 | pass | | 100000 | cold.disk_written | p95 | 1.0000 | 1.0001 | 0.9999 | 1.0002 | pass | | 100000 | cold.disk_written | p99 | 1.0000 | 1.0001 | 0.9999 | 1.0002 | pass | | 100000 | cold.first_page | p50 | 1.0256 | 1.0469 | 1.0031 | 1.0157 | FAIL | | 100000 | cold.first_page | p95 | 1.0256 | 1.0469 | 1.0031 | 1.0157 | FAIL | | 100000 | cold.first_page | p99 | 1.0256 | 1.0469 | 1.0031 | 1.0157 | FAIL | | 100000 | cold.index | p50 | 0.9922 | 1.0058 | 1.0265 | 1.0762 | pass | | 100000 | cold.index | p95 | 0.9922 | 1.0062 | 1.0265 | 1.0780 | pass | | 100000 | cold.index | p99 | 0.9922 | 1.0058 | 1.0265 | 1.0762 | pass | | 100000 | cold.mem_peak | p50 | 0.9941 | 1.0046 | 0.9900 | 0.9989 | FAIL | | 100000 | cold.mem_peak | p95 | 0.9941 | 1.0053 | 0.9900 | 0.9989 | FAIL | | 100000 | cold.mem_peak | p99 | 0.9941 | 1.0053 | 0.9900 | 0.9989 | FAIL | | 100000 | cold.notes_per_s | p50 | 0.9922 | 1.0058 | 1.0265 | 1.0762 | pass | | 100000 | cold.notes_per_s | p95 | 0.9922 | 1.0058 | 1.0265 | 1.0762 | pass | | 100000 | cold.notes_per_s | p99 | 0.9922 | 1.0058 | 1.0265 | 1.0762 | pass | | 100000 | cold.startup | p50 | 0.9424 | 0.9552 | 0.9804 | 1.0551 | pass | | 100000 | cold.startup | p95 | 0.9424 | 0.9552 | 0.9804 | 1.0551 | pass | | 100000 | cold.startup | p99 | 0.9424 | 0.9552 | 0.9804 | 1.0551 | pass | | 100000 | home.first_page | p50 | 1.1571 | 1.2863 | 0.9718 | 1.0690 | FAIL | | 100000 | home.first_page | p95 | 1.1571 | 1.2863 | 0.9718 | 1.0690 | FAIL | | 100000 | home.first_page | p99 | 1.1571 | 1.2863 | 0.9718 | 1.0690 | FAIL | | 100000 | home.page | p50 | 0.9674 | 1.0541 | 1.1345 | 1.2952 | pass | | 100000 | home.page | p95 | 0.9157 | 1.1173 | 1.4038 | 2.1877 | pass | | 100000 | home.page | p99 | 0.7107 | 1.0088 | 1.1917 | 2.2508 | pass | | 100000 | home.page_big | p50 | 1.0577 | 1.1227 | 0.9662 | 1.0319 | FAIL | | 100000 | home.page_big | p95 | 1.0099 | 1.0637 | 1.3066 | 1.6358 | pass | | 100000 | home.page_big | p99 | 1.0099 | 1.0637 | 1.3066 | 1.6360 | pass | | 100000 | home.page_next | p50 | 0.9886 | 1.0569 | 0.9331 | 0.9964 | FAIL | | 100000 | home.page_next | p95 | 1.1007 | 1.3684 | 1.1281 | 1.5886 | pass | | 100000 | home.page_next | p99 | 1.0761 | 1.2910 | 0.8544 | 0.9951 | FAIL | | 100000 | home.page_tag | p50 | 1.0125 | 1.0216 | 0.9910 | 1.0030 | FAIL | | 100000 | home.page_tag | p95 | 1.0159 | 1.0529 | 1.0081 | 1.0430 | FAIL | | 100000 | home.page_tag | p99 | 1.0266 | 1.0961 | 1.0202 | 1.0815 | FAIL | | 100000 | home.page_title | p50 | 1.0670 | 1.1733 | 1.1549 | 1.4114 | pass | | 100000 | home.page_title | p95 | 0.9177 | 0.9815 | 1.3102 | 1.9233 | pass | | 100000 | home.page_title | p99 | 0.6689 | 0.7567 | 1.1917 | 2.5274 | pass | | 100000 | journal.catch_up | p50 | 1.0866 | 1.1362 | 1.0008 | 1.0485 | FAIL | | 100000 | journal.catch_up | p95 | 1.0866 | 1.1334 | 1.0008 | 1.0485 | FAIL | | 100000 | journal.catch_up | p99 | 1.0866 | 1.1334 | 1.0008 | 1.0485 | FAIL | | 100000 | journal.entries | p50 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 100000 | journal.entries | p95 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 100000 | journal.entries | p99 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | pass | | 100000 | journal.page | p50 | 1.0894 | 1.1334 | 0.9937 | 1.0255 | FAIL | | 100000 | journal.page | p95 | 1.1298 | 1.1982 | 0.9659 | 1.0891 | FAIL | | 100000 | journal.page | p99 | 1.1511 | 1.3536 | 1.1716 | 1.5315 | pass | | 100000 | mem.after_first_page | p50 | 1.0081 | 1.0175 | 1.0031 | 1.0177 | pass | | 100000 | mem.after_first_page | p95 | 1.0081 | 1.0175 | 1.0031 | 1.0177 | pass | | 100000 | mem.after_first_page | p99 | 1.0081 | 1.0175 | 1.0031 | 1.0177 | pass | | 100000 | mem.after_opens | p50 | 0.9991 | 1.0106 | 1.0167 | 1.0358 | pass | | 100000 | mem.after_opens | p95 | 0.9991 | 1.0106 | 1.0167 | 1.0358 | pass | | 100000 | mem.after_opens | p99 | 0.9991 | 1.0117 | 1.0167 | 1.0358 | pass | | 100000 | mem.after_search | p50 | 1.0243 | 1.0716 | 0.9395 | 0.9667 | FAIL | | 100000 | mem.after_search | p95 | 1.0243 | 1.0718 | 0.9395 | 0.9667 | FAIL | | 100000 | mem.after_search | p99 | 1.0243 | 1.0718 | 0.9395 | 0.9667 | FAIL | | 100000 | mem.idle | p50 | 1.0035 | 1.0181 | 1.0089 | 1.0260 | pass | | 100000 | mem.idle | p95 | 1.0035 | 1.0181 | 1.0089 | 1.0260 | pass | | 100000 | mem.idle | p99 | 1.0035 | 1.0181 | 1.0089 | 1.0245 | pass | | 100000 | open.api_get | p50 | 1.0016 | 1.0744 | 0.9263 | 1.0134 | FAIL | | 100000 | open.api_get | p95 | 0.9342 | 1.1817 | 0.9528 | 1.4973 | pass | | 100000 | open.api_get | p99 | 0.9944 | 1.0438 | 1.0246 | 1.1405 | pass | | 100000 | open.long_note | p50 | 0.9889 | 1.0606 | 1.0081 | 1.0509 | FAIL | | 100000 | open.long_note | p95 | 0.9889 | 1.0606 | 1.0081 | 1.0509 | FAIL | | 100000 | open.long_note | p99 | 0.9889 | 1.0606 | 1.0081 | 1.0509 | FAIL | | 100000 | open.note | p50 | 1.0468 | 1.1649 | 1.0217 | 1.1551 | FAIL | | 100000 | open.note | p95 | 0.8114 | 0.9527 | 1.0411 | 2.6944 | pass | | 100000 | open.note | p99 | 0.9287 | 0.9727 | 0.8674 | 1.0962 | pass | | 100000 | search.catch_up | p50 | 0.9997 | 1.0001 | 1.0005 | 1.0008 | pass | | 100000 | search.catch_up | p95 | 0.9997 | 1.0001 | 1.0005 | 1.0008 | pass | | 100000 | search.catch_up | p99 | 0.9997 | 1.0001 | 1.0005 | 1.0008 | pass | | 100000 | search.first_query | p50 | 1.0310 | 1.1931 | 1.0387 | 1.1103 | FAIL | | 100000 | search.first_query | p95 | 1.0310 | 1.1931 | 1.0387 | 1.1103 | FAIL | | 100000 | search.first_query | p99 | 1.0310 | 1.1931 | 1.0387 | 1.1091 | FAIL | | 100000 | search.prefix | p50 | 1.0704 | 1.2009 | 0.9695 | 1.0876 | FAIL | | 100000 | search.prefix | p95 | 0.9084 | 1.4684 | 1.4796 | 4.0788 | pass | | 100000 | search.prefix | p99 | 0.9407 | 1.7473 | 1.9259 | 5.6373 | pass | | 100000 | search.query | p50 | 1.0621 | 1.2605 | 0.9838 | 1.0795 | FAIL | | 100000 | search.query | p95 | 1.1195 | 1.5462 | 1.7107 | 3.6409 | pass | | 100000 | search.query | p99 | 1.0725 | 1.2528 | 1.1225 | 1.2004 | FAIL | | 100000 | search.typo | p50 | 0.9130 | 1.3619 | 0.4909 | 0.9210 | FAIL | | 100000 | search.typo | p95 | 1.0501 | 1.2299 | 0.7389 | 0.9751 | FAIL | | 100000 | search.typo | p99 | 1.0496 | 1.2522 | 0.7001 | 0.9780 | FAIL | | 100000 | shutdown | p50 | 0.9230 | 0.9932 | 1.0036 | 1.1274 | pass | | 100000 | shutdown | p95 | 0.9230 | 0.9932 | 1.0036 | 1.1282 | pass | | 100000 | shutdown | p99 | 0.9230 | 0.9932 | 1.0036 | 1.1274 | pass | | 100000 | startup.healthz | p50 | 0.9899 | 1.0096 | 1.0374 | 1.1094 | pass | | 100000 | startup.healthz | p95 | 0.9899 | 1.0096 | 1.0374 | 1.1094 | pass | | 100000 | startup.healthz | p99 | 0.9899 | 1.0096 | 1.0374 | 1.1094 | pass | | 100000 | sync.durable_write | p50 | 0.9826 | 0.9907 | 0.9790 | 0.9989 | pass | | 100000 | sync.durable_write | p95 | 1.1329 | 1.3330 | 0.8892 | 0.9360 | FAIL | | 100000 | sync.durable_write | p99 | 1.0930 | 1.2326 | 0.9854 | 1.1092 | FAIL | | 100000 | sync.round_trip | p50 | 1.0122 | 1.0524 | 0.9422 | 1.0014 | FAIL | | 100000 | sync.round_trip | p95 | 1.1302 | 1.1846 | 0.9882 | 1.0585 | FAIL | | 100000 | sync.round_trip | p99 | 1.4673 | 2.2225 | 0.5797 | 0.8892 | FAIL | | 100000 | sync.save_ack | p50 | 1.0166 | 1.1048 | 1.0634 | 1.1525 | pass | | 100000 | sync.save_ack | p95 | 0.9464 | 1.0831 | 1.1236 | 1.3844 | pass | | 100000 | sync.save_ack | p99 | 0.8549 | 1.4288 | 1.0425 | 2.4686 | pass | Bootstrap resamples: 20000; paired rounds: 5; candidate/control ratio samples: 10/5. Ratios normalize lower-is-better metrics as candidate/control; cold.notes_per_s is inverted. Gate: candidate upper 95% bootstrap bound must be at or below the dev-copy control upper bound for every metric and quantile. FAIL: 131 comparisons exceeded the dev-copy bound. </details> <details><summary>Difference-in-differences, rounds 1–5 and 1–4</summary> ``` candidate (934ef1c36): 288 comparisons; regression clears noise (lower 95% > 1): 23; improvement clears noise (upper 95% < 1): 34; point estimate > 1.05: 70 regressions clearing noise (notes metric q: effect [95% interval]): 10000 search.prefix p95: 2.349 [1.568, 3.904] 100000 home.page_title p99: 1.909 [1.087, 3.354] 10000 home.page_title p99: 1.853 [1.114, 3.218] 10000 home.page p95: 1.842 [1.460, 2.323] 10000 search.query p95: 1.568 [1.124, 2.228] 100000 home.page_title p95: 1.508 [1.104, 2.080] 10000 home.page_title p95: 1.377 [1.144, 1.681] 10000 sync.durable_write p99: 1.280 [1.000, 1.666] 10000 search.query p50: 1.273 [1.037, 1.536] 100000 home.page_next p50: 1.183 [1.067, 1.299] 100000 startup.healthz p50: 1.127 [1.089, 1.169] 100000 startup.healthz p95: 1.127 [1.088, 1.169] 100000 startup.healthz p99: 1.127 [1.088, 1.168] 10000 open.api_get p99: 1.081 [1.012, 1.155] 10000 sync.durable_write p95: 1.072 [1.012, 1.153] 100000 sync.round_trip p50: 1.063 [1.001, 1.130] 10000 home.page_next p50: 1.029 [1.006, 1.061] 10000 mem.after_opens p50: 1.018 [1.003, 1.032] 10000 mem.after_opens p95: 1.018 [1.003, 1.032] 10000 mem.after_opens p99: 1.018 [1.003, 1.032] 100000 cold.mem_peak p50: 1.015 [1.000, 1.030] 100000 cold.mem_peak p95: 1.015 [1.000, 1.030] 100000 cold.mem_peak p99: 1.015 [1.000, 1.030] improvements clearing noise: 100000 sync.round_trip p99: 0.386 [0.167, 0.956] 100000 journal.page p99: 0.683 [0.479, 0.976] 1000 search.typo p99: 0.717 [0.613, 0.860] 10000 home.first_page p50: 0.757 [0.649, 0.856] 10000 home.first_page p95: 0.757 [0.649, 0.856] 10000 home.first_page p99: 0.757 [0.649, 0.856] 1000 search.prefix p99: 0.824 [0.743, 0.921] 100000 journal.page p95: 0.827 [0.710, 0.971] 1000 search.query p95: 0.844 [0.752, 0.978] 1000 search.prefix p95: 0.853 [0.772, 0.943] 100000 journal.catch_up p50: 0.881 [0.791, 0.983] 100000 journal.catch_up p95: 0.881 [0.791, 0.983] 100000 journal.catch_up p99: 0.881 [0.791, 0.983] 100000 journal.page p50: 0.885 [0.799, 0.980] 100000 sync.round_trip p95: 0.886 [0.769, 0.978] 100000 sync.durable_write p99: 0.887 [0.777, 0.987] 1000 search.query p50: 0.897 [0.848, 0.948] 1000 search.prefix p50: 0.901 [0.862, 0.945] 1000 open.note p95: 0.922 [0.868, 0.984] 1000 mem.idle p50: 0.944 [0.922, 0.967] 1000 mem.idle p95: 0.944 [0.922, 0.967] 1000 mem.idle p99: 0.944 [0.922, 0.967] 1000 mem.after_first_page p50: 0.956 [0.934, 0.985] 1000 mem.after_first_page p95: 0.956 [0.934, 0.983] 1000 mem.after_first_page p99: 0.956 [0.934, 0.985] 1000 open.long_note p50: 0.959 [0.925, 0.993] 1000 open.long_note p95: 0.959 [0.925, 0.993] 1000 open.long_note p99: 0.959 [0.925, 0.993] 100000 cold.first_page p50: 0.974 [0.948, 0.999] 100000 cold.first_page p95: 0.974 [0.948, 0.999] 100000 cold.first_page p99: 0.974 [0.948, 0.999] 1000 cold.disk_written p50: 0.996 [0.992, 0.999] 1000 cold.disk_written p95: 0.996 [0.992, 0.999] 1000 cold.disk_written p99: 0.996 [0.992, 0.999] largest point estimates (> 1.05) not clearing noise: 10000 search.prefix p99: 1.902 [0.882, 3.930] 100000 search.prefix p99: 1.760 [0.397, 7.803] 100000 search.typo p50: 1.666 [0.829, 2.897] 100000 home.page p99: 1.536 [0.595, 2.864] 100000 search.prefix p95: 1.454 [0.366, 5.778] 10000 home.page p99: 1.302 [0.772, 1.912] 100000 search.typo p99: 1.291 [0.873, 1.910] 100000 sync.save_ack p99: 1.269 [0.527, 2.992] 100000 open.api_get p95: 1.268 [0.871, 2.268] 100000 home.page p95: 1.234 [0.705, 2.151] 100000 search.query p95: 1.200 [0.440, 3.266] 10000 search.typo p99: 1.190 [0.869, 2.006] 1000 home.page p95: 1.169 [0.740, 1.820] 100000 search.typo p95: 1.168 [0.826, 1.557] 1000 home.first_page p50: 1.154 [0.897, 1.589] --- rounds 1-4 --- candidate (934ef1c36): 288 comparisons; regression clears noise (lower 95% > 1): 25; improvement clears noise (upper 95% < 1): 35; point estimate > 1.05: 65 regressions clearing noise (notes metric q: effect [95% interval]): 10000 home.page_title p99: 2.072 [1.097, 4.001] 10000 search.prefix p95: 1.904 [1.410, 2.760] 10000 home.page p95: 1.727 [1.402, 2.269] 100000 home.page_title p99: 1.535 [1.017, 3.020] 10000 home.page_title p95: 1.488 [1.298, 1.782] 100000 home.page_title p95: 1.395 [1.061, 2.084] 10000 search.query p95: 1.361 [1.025, 1.850] 1000 home.first_page p50: 1.277 [1.047, 1.769] 1000 home.first_page p95: 1.277 [1.047, 1.769] 1000 home.first_page p99: 1.277 [1.047, 1.769] 100000 home.page_next p50: 1.173 [1.043, 1.318] 10000 search.query p50: 1.172 [1.004, 1.354] 100000 startup.healthz p50: 1.136 [1.087, 1.188] 100000 startup.healthz p95: 1.136 [1.087, 1.188] 100000 startup.healthz p99: 1.136 [1.087, 1.188] 1000 home.page_next p99: 1.109 [1.027, 1.246] 1000 home.page_title p99: 1.097 [1.019, 1.180] 1000 home.page_tag p95: 1.095 [1.054, 1.155] 1000 home.page_tag p50: 1.048 [1.008, 1.089] 10000 sync.durable_write p95: 1.034 [1.000, 1.070] 1000 home.page_next p50: 1.033 [1.002, 1.066] 10000 home.page_next p50: 1.032 [1.004, 1.072] 100000 search.catch_up p50: 1.001 [1.000, 1.002] 100000 search.catch_up p95: 1.001 [1.000, 1.002] 100000 search.catch_up p99: 1.001 [1.000, 1.002] improvements clearing noise: 100000 sync.round_trip p99: 0.265 [0.130, 0.527] 10000 sync.round_trip p99: 0.628 [0.435, 0.907] 1000 search.typo p99: 0.718 [0.590, 0.889] 10000 home.first_page p50: 0.724 [0.633, 0.824] 10000 home.first_page p95: 0.724 [0.633, 0.824] 10000 home.first_page p99: 0.724 [0.633, 0.824] 1000 search.prefix p99: 0.801 [0.725, 0.923] 10000 open.note p95: 0.833 [0.758, 0.927] 1000 search.prefix p95: 0.835 [0.737, 0.946] 100000 sync.round_trip p95: 0.862 [0.725, 0.976] 1000 search.query p50: 0.886 [0.835, 0.941] 1000 search.prefix p50: 0.906 [0.858, 0.957] 10000 open.note p50: 0.916 [0.843, 0.995] 100000 mem.after_search p50: 0.947 [0.884, 0.993] 100000 mem.after_search p95: 0.947 [0.884, 0.993] 100000 mem.after_search p99: 0.947 [0.884, 0.993] 1000 mem.idle p50: 0.950 [0.923, 0.977] 1000 mem.idle p95: 0.950 [0.923, 0.977] 1000 mem.idle p99: 0.950 [0.923, 0.977] 1000 sync.round_trip p50: 0.958 [0.896, 0.997] 100000 cold.first_page p50: 0.963 [0.945, 0.990] 100000 cold.first_page p95: 0.963 [0.945, 0.990] 100000 cold.first_page p99: 0.963 [0.945, 0.990] 1000 mem.after_first_page p50: 0.964 [0.940, 0.996] 1000 mem.after_first_page p95: 0.964 [0.940, 0.996] 1000 mem.after_first_page p99: 0.964 [0.940, 0.996] 100000 mem.after_first_page p50: 0.985 [0.972, 0.999] 100000 mem.after_first_page p95: 0.985 [0.972, 0.999] 100000 mem.after_first_page p99: 0.985 [0.972, 0.999] 1000 cold.disk_written p50: 0.996 [0.991, 1.000] 1000 cold.disk_written p95: 0.996 [0.991, 1.000] 1000 cold.disk_written p99: 0.996 [0.991, 1.000] 1000 search.catch_up p50: 1.000 [0.999, 1.000] 1000 search.catch_up p95: 1.000 [0.999, 1.000] 1000 search.catch_up p99: 1.000 [0.999, 1.000] largest point estimates (> 1.05) not clearing noise: 100000 search.prefix p99: 2.600 [0.432, 12.452] 100000 search.prefix p95: 2.165 [0.500, 8.211] 100000 search.query p95: 1.503 [0.429, 3.965] 100000 home.page p99: 1.492 [0.433, 3.183] 10000 open.long_note p50: 1.466 [0.514, 4.826] 10000 open.long_note p95: 1.466 [0.514, 4.826] 10000 open.long_note p99: 1.466 [0.514, 4.826] 100000 open.api_get p95: 1.405 [0.913, 2.796] 100000 search.typo p50: 1.395 [0.701, 2.594] 10000 search.prefix p99: 1.350 [0.763, 2.389] 100000 home.page p95: 1.312 [0.652, 2.567] 10000 search.typo p99: 1.290 [0.878, 2.349] 10000 sync.durable_write p99: 1.254 [0.926, 1.744] 10000 home.page p99: 1.228 [0.667, 1.985] 100000 search.query p50: 1.218 [0.973, 1.551] ``` </details>
Author
Owner

Validation on the existing 14 Nov data (new comparator, head 40760cd33)

Data. I used the five fixed-order Files sessions still on perf-01. None was deleted.

  • files-s1-perf-c8688c-DE10q9: r1, r6. r5 is incomplete and was skipped.
  • files-s1-perf-r7: r7a (logs), r7b (logs-r7b), A/A (logs-aa).

Each session has 5 rounds of dev, cand-a, dev-copy, cand-b at 1k/10k/100k, --runs 1.

  • Null block: dev-copy vs dev.
  • Candidate: the mean of both candidate arms vs dev.
  • Hot prefixes for #1117: home.,cold.,startup.,shutdown,mem..

These are only 5 rounds each (32 exact flips), so I lowered --min-rounds to 5 here. That makes this test weak: the smallest possible p is 1/32. The order was also fixed, not random, so this is a sanity check and not a gate.

Cells. The old 288 comparisons are 170 distinct cells. 99 were copies: single-sample metrics counted three times. 3 are constant counts.

Session Null block (dev-copy vs dev) Candidate flags Result
r1 (r6 cand) pass, 0 cells 0 inconclusive (27 hot cells MDE > 10%)
r6 pass, 0 cells 0 inconclusive (16)
r7a (void: infraternal overlap) pass, 0 cells 2 flagged: 10k search.query p99 (max of 55) 1.055
r7b pass, 0 cells 0 inconclusive (23)
A/A (dev-b as cand) pass, 0 cells 0 inconclusive (21)

The null block passes in every session (5/5). The old comparator failed the same A/A data in 131/288 cells.

Pooled null (stronger check). All 25 dev-copy-vs-dev rounds as one A/A turn (10,000 random flips, 170 cells): 0 cells flagged.

  • 100 random 17-of-25 subsets: 8/100 flag at least one cell. Nominal is ≤5%; the 95% interval for 8/100 is about 3.5–15%. Two reasons it can sit above nominal: the subsets overlap, and these slots had a fixed order (slot 3 vs slot 1). The random order in paired-turn.sh removes the second.

Resolution (from the same 25 null rounds; one-sided, 80% power, hot family of the full matrix):

  • Hot p50 cells: a +10% regression is caught on sync.save_ack, search.query and cold.startup (10k). +20% is needed on 10k home.page p50 (per-round sd 0.19 in log).
  • Per-cell MDE for one 10-round turn: hot p50 5–12%, single-sample startup/first-page 15–35%, p95/p99 from 20–55 samples 25–300%.
  • So with --runs 1, p95/p99 at 10k can't resolve anything under 1.5×. That's a harness limit (20 requests per run), not a comparator setting.

Noise structure. Pairs of dev arms 1 to 7 slots apart have the same spread (10k home.page p50: 0.164 at distance 1, 0.149 at distance 7). The noise is per server run, not slow drift. So tighter interleaving buys nothing; more fresh-server runs (--runs 3) and more rounds do.

#1117 on old data, under the new rule:

  • r7a flags 10k search.query p99 (1.055) and, pooled with r7b, 10k home.page p95 (1.63).
  • Neither reproduces in r7b alone (adj. p 0.66 and 0.34), and r7a was already declared void for overlap.
  • By the confirmation rule, that's not a regression. But the old sessions have a fixed order and only 5 rounds, so the verdict comes from the fresh randomised turn (queued: ~/bin/perf-turn sound-comparator, dev / dev2 / #1117 934ef1c36, --runs 3, 80-min deadline, seed 1117).

Comparator PR: #1130.

### Validation on the existing 14 Nov data (new comparator, head `40760cd33`) **Data.** I used the five fixed-order Files sessions still on perf-01. None was deleted. - `files-s1-perf-c8688c-DE10q9`: r1, r6. r5 is incomplete and was skipped. - `files-s1-perf-r7`: r7a (`logs`), r7b (`logs-r7b`), A/A (`logs-aa`). Each session has 5 rounds of dev, cand-a, dev-copy, cand-b at 1k/10k/100k, `--runs 1`. - Null block: dev-copy vs dev. - Candidate: the mean of both candidate arms vs dev. - Hot prefixes for #1117: `home.,cold.,startup.,shutdown,mem.`. These are only 5 rounds each (32 exact flips), so I lowered `--min-rounds` to 5 here. That makes this test weak: the smallest possible p is 1/32. The order was also fixed, not random, so this is a sanity check and not a gate. **Cells.** The old 288 comparisons are 170 distinct cells. 99 were copies: single-sample metrics counted three times. 3 are constant counts. | Session | Null block (dev-copy vs dev) | Candidate flags | Result | |---|---|---:|---| | r1 (r6 cand) | pass, 0 cells | 0 | inconclusive (27 hot cells MDE > 10%) | | r6 | pass, 0 cells | 0 | inconclusive (16) | | r7a (void: infraternal overlap) | pass, 0 cells | 2 | flagged: 10k `search.query` p99 (max of 55) 1.055 | | r7b | pass, 0 cells | 0 | inconclusive (23) | | A/A (dev-b as cand) | pass, 0 cells | 0 | inconclusive (21) | **The null block passes in every session (5/5).** The old comparator failed the same A/A data in 131/288 cells. **Pooled null (stronger check).** All 25 dev-copy-vs-dev rounds as one A/A turn (10,000 random flips, 170 cells): **0 cells flagged**. - 100 random 17-of-25 subsets: **8/100 flag at least one cell**. Nominal is ≤5%; the 95% interval for 8/100 is about 3.5–15%. Two reasons it can sit above nominal: the subsets overlap, and these slots had a fixed order (slot 3 vs slot 1). The random order in `paired-turn.sh` removes the second. **Resolution (from the same 25 null rounds; one-sided, 80% power, hot family of the full matrix):** - Hot p50 cells: a +10% regression is caught on `sync.save_ack`, `search.query` and `cold.startup` (10k). +20% is needed on 10k `home.page` p50 (per-round sd 0.19 in log). - Per-cell MDE for one 10-round turn: hot p50 5–12%, single-sample startup/first-page 15–35%, p95/p99 from 20–55 samples 25–300%. - So with `--runs 1`, p95/p99 at 10k can't resolve anything under 1.5×. That's a harness limit (20 requests per run), not a comparator setting. **Noise structure.** Pairs of dev arms 1 to 7 slots apart have the same spread (10k `home.page` p50: 0.164 at distance 1, 0.149 at distance 7). The noise is per server run, not slow drift. So tighter interleaving buys nothing; more fresh-server runs (`--runs 3`) and more rounds do. **#1117 on old data, under the new rule:** - r7a flags 10k `search.query` p99 (1.055) and, pooled with r7b, 10k `home.page` p95 (1.63). - Neither reproduces in r7b alone (adj. p 0.66 and 0.34), and r7a was already declared void for overlap. - By the confirmation rule, that's **not a regression**. But the old sessions have a fixed order and only 5 rounds, so the verdict comes from the fresh randomised turn (queued: `~/bin/perf-turn sound-comparator`, dev / dev2 / #1117 `934ef1c36`, `--runs 3`, 80-min deadline, seed 1117). Comparator PR: #1130.
Author
Owner

#1117 on the new comparator: fresh turn, no regression found; 27 cells are below the 10% resolution

Turn. ~/bin/perf-turn sound-comparator on perf-01. The FIFO slot had no FRONT. A unit on hd01 held perf-02's lock for the whole turn.

  • Measured 12:45–13:59 CET, 14 Nov, with a warm-up arm thrown away first.
  • Driver: perf/vm/paired-turn.sh at #1130 40760cd33, random order per round (seed 1117), 10 rounds, 80-min deadline.
  • Arms: dev, dev2 and cand. Each arm ran calternal-perf --hot-only --sizes 1k,10k,100k --runs 3 --cold-runs 1.
  • Binaries are the r7 ones, sha256-checked: dev = dev2 1160fe3e… (dev 796d80cba), cand 09fdc5db… (#1117 934ef1c36).
  • Overlap: infraternal #260's last post is J629 at 11:24 UTC, before this turn. All 30 arms exited 0.

Comparator. python3 perf/compare.py layout.json --hot '*' (#1130 86e8d580b).

  • All 172 distinct cells are treated as hot, because r7's start_home stamp runs on every request.
  • Exact test: 1,024 sign flips. Westfall–Young max-T, α = 5% family-wise.
Block Cells Ratio > 1.05 Ratio < 0.95 Smallest adjusted p Result
Null: dev2 vs dev (two-sided) 172 23 18 0.408 pass
#1117 vs dev (one-sided) 172 22 27 0.883 0 flagged
  • #1117 has as many cells above 1.05 as dev has against itself: 22 vs 23.
  • No cell comes near the threshold: the smallest adjusted p is 0.88.
  • The r7 watch cells are all flat or better now:
    • 10k home.page p95: 0.99 (upper 95% bound 1.43)
    • 10k home.page_title p95: 0.83 (bound 0.99)
    • 10k search.prefix p95: 0.98
    • 10k search.query p95: 0.98 (bound 1.04)

Verdict under the new rule: no regression found. Not yet READY: resolution.

  • 27 hot p50/value cells can't rule out a 10% regression (MDE at 80% power, below).
  • Most are single-shot numbers taken once per server life: cold.startup, startup.healthz, shutdown, home.first_page, search.first_query, open.long_note, with MDE 12–60%.
  • The rest are p50 cells with a wide spread: 10k/100k home.page (14%/21%), home.page_title (11%/17%), open.note (11%/35%), 10k open.api_get (17%), search.typo (24%), 100k sync.round_trip (12%).

Next (decided):

  1. A second #1117 turn, pooled with this one. It's queued after the two #894 turns the orchestrator asked for. Pooling about halves the variance, which brings the p50 cells under 10%.
  2. The single-shot cells won't reach 10% from pooling alone. They need more samples per arm (--cold-runs 3, or a startup-only turn at 1k+10k). I'll run that as the second turn's design: --runs 3 --cold-runs 3, sizes split if needed to stay ≤ 90 min.
Unresolved hot cells (ratio, upper 95%, MDE)
Notes Metric Quantile Ratio Upper 95% MDE 80%
1000 cold.startup value 1.1411 1.3591 29.6%
1000 home.first_page value 0.8796 1.0331 26.9%
1000 journal.catch_up value 1.0404 1.1111 10.2%
1000 journal.page p50 0.9685 1.2306 42.6%
1000 search.first_query value 0.9576 1.0616 16.5%
1000 shutdown value 1.1449 1.3509 27.8%
1000 startup.healthz value 1.0122 1.1685 23.7%
10000 cold.startup value 1.0195 1.1015 12.1%
10000 home.first_page value 0.9434 1.1652 36.7%
10000 home.page p50 0.9218 1.0046 13.6%
10000 home.page_title p50 0.9798 1.0494 10.7%
10000 open.api_get p50 0.9894 1.0994 16.9%
10000 open.long_note value 1.5342 2.1092 60.3%
10000 open.note p50 0.9540 1.0229 10.9%
10000 search.first_query value 1.0958 1.3361 34.1%
10000 search.typo p50 1.0215 1.1834 24.4%
10000 shutdown value 1.1364 1.5484 58.1%
100000 cold.startup value 1.1396 1.3532 29.0%
100000 home.first_page value 1.2076 1.4300 28.5%
100000 home.page p50 1.0557 1.1985 20.7%
100000 home.page_title p50 1.0486 1.1635 16.7%
100000 open.note p50 0.8838 1.0796 34.5%
100000 search.catch_up value 0.8707 1.0315 28.5%
100000 search.first_query value 1.0745 1.2148 19.9%
100000 shutdown value 0.9379 1.0619 20.2%
100000 startup.healthz value 1.0938 1.3250 32.9%
100000 sync.round_trip p50 1.0179 1.0967 11.7%
### #1117 on the new comparator: fresh turn, **no regression found**; 27 cells are below the 10% resolution **Turn.** `~/bin/perf-turn sound-comparator` on perf-01. The FIFO slot had no FRONT. A unit on hd01 held perf-02's lock for the whole turn. - Measured 12:45–13:59 CET, 14 Nov, with a warm-up arm thrown away first. - Driver: `perf/vm/paired-turn.sh` at #1130 `40760cd33`, random order per round (seed 1117), 10 rounds, 80-min deadline. - Arms: dev, dev2 and cand. Each arm ran `calternal-perf --hot-only --sizes 1k,10k,100k --runs 3 --cold-runs 1`. - Binaries are the r7 ones, sha256-checked: dev = dev2 `1160fe3e…` (dev `796d80cba`), cand `09fdc5db…` (#1117 `934ef1c36`). - Overlap: infraternal #260's last post is J629 at 11:24 UTC, before this turn. All 30 arms exited 0. **Comparator.** `python3 perf/compare.py layout.json --hot '*'` (#1130 `86e8d580b`). - All 172 distinct cells are treated as hot, because r7's `start_home` stamp runs on every request. - Exact test: 1,024 sign flips. Westfall–Young max-T, α = 5% family-wise. | Block | Cells | Ratio > 1.05 | Ratio < 0.95 | Smallest adjusted p | Result | |---|---:|---:|---:|---:|---| | Null: dev2 vs dev (two-sided) | 172 | 23 | 18 | 0.408 | **pass** | | #1117 vs dev (one-sided) | 172 | 22 | 27 | 0.883 | **0 flagged** | - #1117 has as many cells above 1.05 as dev has against itself: 22 vs 23. - No cell comes near the threshold: the smallest adjusted p is 0.88. - The r7 watch cells are all flat or better now: - 10k `home.page` p95: 0.99 (upper 95% bound 1.43) - 10k `home.page_title` p95: 0.83 (bound 0.99) - 10k `search.prefix` p95: 0.98 - 10k `search.query` p95: 0.98 (bound 1.04) **Verdict under the new rule: no regression found. Not yet READY: resolution.** - 27 hot p50/value cells can't rule out a 10% regression (MDE at 80% power, below). - Most are single-shot numbers taken once per server life: `cold.startup`, `startup.healthz`, `shutdown`, `home.first_page`, `search.first_query`, `open.long_note`, with MDE 12–60%. - The rest are p50 cells with a wide spread: 10k/100k `home.page` (14%/21%), `home.page_title` (11%/17%), `open.note` (11%/35%), 10k `open.api_get` (17%), `search.typo` (24%), 100k `sync.round_trip` (12%). **Next (decided):** 1. A second #1117 turn, pooled with this one. It's queued after the two #894 turns the orchestrator asked for. Pooling about halves the variance, which brings the p50 cells under 10%. 2. The single-shot cells won't reach 10% from pooling alone. They need more samples per arm (`--cold-runs 3`, or a startup-only turn at 1k+10k). I'll run that as the second turn's design: `--runs 3 --cold-runs 3`, sizes split if needed to stay ≤ 90 min. <details><summary>Unresolved hot cells (ratio, upper 95%, MDE)</summary> | Notes | Metric | Quantile | Ratio | Upper 95% | MDE 80% | |---:|---|---|---:|---:|---:| | 1000 | cold.startup | value | 1.1411 | 1.3591 | 29.6% | | 1000 | home.first_page | value | 0.8796 | 1.0331 | 26.9% | | 1000 | journal.catch_up | value | 1.0404 | 1.1111 | 10.2% | | 1000 | journal.page | p50 | 0.9685 | 1.2306 | 42.6% | | 1000 | search.first_query | value | 0.9576 | 1.0616 | 16.5% | | 1000 | shutdown | value | 1.1449 | 1.3509 | 27.8% | | 1000 | startup.healthz | value | 1.0122 | 1.1685 | 23.7% | | 10000 | cold.startup | value | 1.0195 | 1.1015 | 12.1% | | 10000 | home.first_page | value | 0.9434 | 1.1652 | 36.7% | | 10000 | home.page | p50 | 0.9218 | 1.0046 | 13.6% | | 10000 | home.page_title | p50 | 0.9798 | 1.0494 | 10.7% | | 10000 | open.api_get | p50 | 0.9894 | 1.0994 | 16.9% | | 10000 | open.long_note | value | 1.5342 | 2.1092 | 60.3% | | 10000 | open.note | p50 | 0.9540 | 1.0229 | 10.9% | | 10000 | search.first_query | value | 1.0958 | 1.3361 | 34.1% | | 10000 | search.typo | p50 | 1.0215 | 1.1834 | 24.4% | | 10000 | shutdown | value | 1.1364 | 1.5484 | 58.1% | | 100000 | cold.startup | value | 1.1396 | 1.3532 | 29.0% | | 100000 | home.first_page | value | 1.2076 | 1.4300 | 28.5% | | 100000 | home.page | p50 | 1.0557 | 1.1985 | 20.7% | | 100000 | home.page_title | p50 | 1.0486 | 1.1635 | 16.7% | | 100000 | open.note | p50 | 0.8838 | 1.0796 | 34.5% | | 100000 | search.catch_up | value | 0.8707 | 1.0315 | 28.5% | | 100000 | search.first_query | value | 1.0745 | 1.2148 | 19.9% | | 100000 | shutdown | value | 0.9379 | 1.0619 | 20.2% | | 100000 | startup.healthz | value | 1.0938 | 1.3250 | 32.9% | | 100000 | sync.round_trip | p50 | 1.0179 | 1.0967 | 11.7% | </details>
Author
Owner

#1117: second turn and pooled verdict. No regression found; startup/shutdown single-shot cells still under-resolved

Turn 2. ~/bin/perf-turn sound-comparator on perf-01, no FRONT. A unit on hd01 held perf-02's lock for the whole turn.

  • Measured 18:52–19:55 CET, 14 Nov.
  • Same binaries as turn 1 (sha256-checked).
  • paired-turn.sh --order mirrored --seed 11172 --warmup, each arm calternal-perf --hot-only --sizes 1k,10k,100k --runs 3 --cold-runs 3.
  • 6 rounds, all arms exit 0.

Pooled turns 1+2. compare.py t1/layout.json t2/layout.json --hot '*': 16 rounds, 65,536 exact flips, 172 cells, α = 5%. Each turn's null block is tested on its own.

Null block t1: dev2 vs dev (two-sided)                                      n=172 >1.05:23 <0.95:18 minp=0.408
Null block t2: dev2 vs dev (two-sided)                                      n=172 >1.05:25 <0.95:21 minp=0.312
Candidate, hot paths: cand vs dev (one-sided, slower = flagged)             n=172 >1.05:15 <0.95:23 minp=0.440
  • Null blocks: both pass.
  • #1117 vs dev: 0 flagged; the smallest adjusted p is 0.44. 15 cells are above ×1.05 and 23 below ×0.95. dev against itself shows 23–25 above ×1.05, so #1117 is at or below dev's own noise.
  • Verdict: no regression found on any cell at a 5% family-wise false-alarm rate.

What the gate can't yet rule out. 21 hot cells have an MDE above 10%:

Notes Metric Quantile Ratio Upper 95% MDE 80%
1000 cold.startup value 1.0943 1.2168 17.2%
1000 home.first_page value 0.8699 0.9784 19.2%
1000 journal.page p50 0.9696 1.1249 24.9%
1000 search.first_query value 0.9729 1.0607 13.8%
1000 shutdown value 1.0874 1.2035 16.4%
1000 startup.healthz value 1.0005 1.1027 15.6%
10000 home.first_page value 0.9003 1.0662 28.7%
10000 open.long_note value 1.4867 1.8795 41.9%
10000 search.first_query value 1.1464 1.2989 20.5%
10000 search.typo p50 0.9846 1.0870 15.9%
10000 shutdown value 1.0391 1.3058 40.7%
100000 cold.startup value 1.0825 1.2072 17.7%
100000 home.first_page value 1.1432 1.4057 36.2%
100000 home.page p50 1.0375 1.1241 12.7%
100000 home.page_title p50 1.0352 1.1110 11.1%
100000 open.long_note value 0.9245 0.9887 10.6%
100000 open.note p50 0.8975 1.0410 24.8%
100000 search.catch_up value 0.9173 1.0176 16.8%
100000 search.first_query value 1.0352 1.1176 12.1%
100000 shutdown value 0.9608 1.0348 11.7%
100000 startup.healthz value 1.0582 1.1922 19.5%
  • These are single-shot numbers per server life, plus 100k home.page/home.page_title p50 at 11–13%.
  • Point estimates worth a look: 1k cold.startup ×1.09, 1k shutdown ×1.09, 10k open.long_note ×1.49 (MDE 42%), 10k search.first_query ×1.15. #1117 does add work exactly there: a Home-root watcher at start, and joining the walk thread at shutdown. So a small startup/shutdown cost is plausible, and these numbers can't exclude it.
  • Next (decided): one focused turn on startup/shutdown/first-request cells with many server starts per arm. Plan: --sizes 1k,10k --runs 10 --cold-runs 5 --hot-only, mirrored, with an inert arm. It runs after #894's tasks-bench re-run (my one ticket is queued). Until then, #1117 is not READY, for resolution only. Nothing is flagged.
### #1117: second turn and pooled verdict. **No regression found**; startup/shutdown single-shot cells still under-resolved **Turn 2.** `~/bin/perf-turn sound-comparator` on perf-01, no FRONT. A unit on hd01 held perf-02's lock for the whole turn. - Measured 18:52–19:55 CET, 14 Nov. - Same binaries as turn 1 (sha256-checked). - `paired-turn.sh --order mirrored --seed 11172 --warmup`, each arm `calternal-perf --hot-only --sizes 1k,10k,100k --runs 3 --cold-runs 3`. - 6 rounds, all arms exit 0. **Pooled turns 1+2.** `compare.py t1/layout.json t2/layout.json --hot '*'`: 16 rounds, 65,536 exact flips, 172 cells, α = 5%. Each turn's null block is tested on its own. ``` Null block t1: dev2 vs dev (two-sided) n=172 >1.05:23 <0.95:18 minp=0.408 Null block t2: dev2 vs dev (two-sided) n=172 >1.05:25 <0.95:21 minp=0.312 Candidate, hot paths: cand vs dev (one-sided, slower = flagged) n=172 >1.05:15 <0.95:23 minp=0.440 ``` - **Null blocks:** both pass. - **#1117 vs dev:** 0 flagged; the smallest adjusted p is 0.44. 15 cells are above ×1.05 and 23 below ×0.95. dev against itself shows 23–25 above ×1.05, so #1117 is at or below dev's own noise. - **Verdict: no regression found on any cell at a 5% family-wise false-alarm rate.** **What the gate can't yet rule out.** 21 hot cells have an MDE above 10%: | Notes | Metric | Quantile | Ratio | Upper 95% | MDE 80% | |---:|---|---|---:|---:|---:| | 1000 | cold.startup | value | 1.0943 | 1.2168 | 17.2% | | 1000 | home.first_page | value | 0.8699 | 0.9784 | 19.2% | | 1000 | journal.page | p50 | 0.9696 | 1.1249 | 24.9% | | 1000 | search.first_query | value | 0.9729 | 1.0607 | 13.8% | | 1000 | shutdown | value | 1.0874 | 1.2035 | 16.4% | | 1000 | startup.healthz | value | 1.0005 | 1.1027 | 15.6% | | 10000 | home.first_page | value | 0.9003 | 1.0662 | 28.7% | | 10000 | open.long_note | value | 1.4867 | 1.8795 | 41.9% | | 10000 | search.first_query | value | 1.1464 | 1.2989 | 20.5% | | 10000 | search.typo | p50 | 0.9846 | 1.0870 | 15.9% | | 10000 | shutdown | value | 1.0391 | 1.3058 | 40.7% | | 100000 | cold.startup | value | 1.0825 | 1.2072 | 17.7% | | 100000 | home.first_page | value | 1.1432 | 1.4057 | 36.2% | | 100000 | home.page | p50 | 1.0375 | 1.1241 | 12.7% | | 100000 | home.page_title | p50 | 1.0352 | 1.1110 | 11.1% | | 100000 | open.long_note | value | 0.9245 | 0.9887 | 10.6% | | 100000 | open.note | p50 | 0.8975 | 1.0410 | 24.8% | | 100000 | search.catch_up | value | 0.9173 | 1.0176 | 16.8% | | 100000 | search.first_query | value | 1.0352 | 1.1176 | 12.1% | | 100000 | shutdown | value | 0.9608 | 1.0348 | 11.7% | | 100000 | startup.healthz | value | 1.0582 | 1.1922 | 19.5% | - These are single-shot numbers per server life, plus 100k `home.page`/`home.page_title` p50 at 11–13%. - Point estimates worth a look: 1k `cold.startup` ×1.09, 1k `shutdown` ×1.09, 10k `open.long_note` ×1.49 (MDE 42%), 10k `search.first_query` ×1.15. #1117 does add work exactly there: a Home-root watcher at start, and joining the walk thread at shutdown. So a small startup/shutdown cost is plausible, and these numbers can't exclude it. - **Next (decided):** one focused turn on startup/shutdown/first-request cells with many server starts per arm. Plan: `--sizes 1k,10k --runs 10 --cold-runs 5 --hot-only`, mirrored, with an inert arm. It runs after #894's `tasks-bench` re-run (my one ticket is queued). Until then, #1117 is **not READY**, for resolution only. Nothing is flagged.
Author
Owner

#1117 final perf verdict (#1130 method): no regression found; 11 single-shot cells still can't be certified below 10%

Turn 3, focused on startup. ~/bin/perf-turn sound-comparator on perf-01, behind Notes Float, no FRONT. perf-02's lock was held by a unit on hd01.

  • Measured 01:33–02:51 CET, 15 Nov.
  • Arms: dev / dev2 / inert / cand, all built by me on dev-01 in one environment:
Arm Source sha256 Size
dev = dev2 796d80cba c3e9a68f…
inert 796d80cba + 600 never-run functions ae6d0a27… 32,920,248
cand #1117 934ef1c36 8d7e280a… 32,917,240
  • Harness: the r7 calternal-perf 062dd8a7… (it has --hot-only).
  • Command: --hot-only --sizes 1k,10k --runs 9 --cold-runs 5, mirrored, warm-up on every arm.
  • Only 4 rounds fit at 11 min per round, which I under-sized. Alone, 4 rounds give 16 flips and can never flag a cell, so this turn is used pooled with turns 1 and 2. Its own null block was checked separately and passes.
  • Two earlier starts of this turn stopped inside the warm-up within 4 minutes: once on a harness without --hot-only, once on a fixture that was too small for --runs 10. The driver now catches both before or at the first arm (#1130 502f0bb0a, 58f5e534f).

Pooled turns 1+2+3, the 1k and 10k cells that all three share: compare.py t1 t2 ts --hot '*', 20 rounds, 10,000 flips, 115 cells.

Null block t1: dev2 vs dev (two-sided)                                      n=115 >1.05:10 <0.95:13 minp=0.295
Null block t2: dev2 vs dev (two-sided)                                      n=115 >1.05:10 <0.95:17 minp=0.250
Candidate, hot paths: cand vs dev (one-sided, slower = flagged)             n=115 >1.05:6 <0.95:16 minp=0.375

startup turn alone (4 rounds, --min-rounds 4; can't flag alone, null check only):
Null block ts: dev2 vs dev (two-sided)                                      n=115 >1.05:16 <0.95:5 minp=0.500
Layout block: inert vs dev (two-sided, information: how much an inert chang n=115 >1.05:4 <0.95:11 minp=0.250
Candidate, hot paths: cand vs dev (one-sided, slower = flagged)             n=115 >1.05:9 <0.95:9 minp=0.625
Candidate, hot paths: cand vs layout arm inert (one-sided)                  n=115 >1.05:10 <0.95:8 minp=0.250
  • Null blocks: all pass.
  • #1117 vs dev: 0 flagged (smallest adjusted p 0.375). 6 cells are above ×1.05 and 16 below ×0.95, against 10 above ×1.05 per turn for dev vs dev.
  • Turns 1+2 at 100k (posted above): 0 flagged.

Cells the gate can't certify below 10%:

Notes Metric Quantile Ratio Upper 95% MDE 80%
1000 cold.startup value 1.0745 1.1692 13.5%
1000 home.first_page value 0.8653 0.9490 14.8%
1000 journal.page p50 0.9571 1.0763 19.2%
1000 search.first_query value 0.9815 1.0517 10.9%
1000 shutdown value 1.0691 1.1589 12.8%
1000 startup.healthz value 1.0130 1.0967 12.6%
10000 home.first_page value 0.9201 1.0527 22.3%
10000 open.long_note value 1.3695 1.6644 33.9%
10000 search.first_query value 1.1113 1.2300 16.4%
10000 search.typo p50 0.9933 1.0741 12.4%
10000 shutdown value 1.0665 1.2864 32.4%

Verdict and decision:

  1. No regression is detectable on any cell. That's 172 cells at 1k/10k/100k over 16–20 rounds, with null blocks clean in every turn.
  2. Still, a strict "no regression of any size" can't be certified for 11 single-shot cells. They're measured once per server life (startup, shutdown, first page, first query, long-note open).
    • The point estimates to watch are 1k cold.startup ×1.075 (upper bound ×1.17), 1k shutdown ×1.069 (upper ×1.16) and 10k open.long_note ×1.37 (MDE 34%).
    • #1117 does add a Home-root watcher at start and a thread join at shutdown, so these are plausible places for a small cost.
  3. I'm stopping measurement here. More turns of this harness can't get these cells to 10% in reasonable time: open.long_note would need about 10 more turns. Resolving them is harness work: repeat the long-note open and server start/stop several times per run. I'm recording that as the open item for #1117.
  4. For the orchestrator: either accept #1117 with this caveat, or have the Files lane add the harness repeats (or a strace/CPU-count check of startup/shutdown work vs dev, which is deterministic) and re-gate only these 11 cells with compare.py --only. I'm not merging.

Side finding: the typing scenario's two-client text check failed 4 times in about 700 runs, at 10k, including on plain dev and on the inert arm. Filed as #1146; it's not #1117's.

### #1117 final perf verdict (#1130 method): **no regression found**; 11 single-shot cells still can't be certified below 10% **Turn 3, focused on startup.** `~/bin/perf-turn sound-comparator` on perf-01, behind Notes Float, no FRONT. perf-02's lock was held by a unit on hd01. - Measured 01:33–02:51 CET, 15 Nov. - Arms: dev / dev2 / inert / cand, all built by me on dev-01 in one environment: | Arm | Source | sha256 | Size | |---|---|---|---:| | dev = dev2 | `796d80cba` | `c3e9a68f…` | | | inert | `796d80cba` + 600 never-run functions | `ae6d0a27…` | 32,920,248 | | cand | #1117 `934ef1c36` | `8d7e280a…` | 32,917,240 | - Harness: the r7 `calternal-perf` `062dd8a7…` (it has `--hot-only`). - Command: `--hot-only --sizes 1k,10k --runs 9 --cold-runs 5`, mirrored, warm-up on every arm. - **Only 4 rounds fit** at 11 min per round, which I under-sized. Alone, 4 rounds give 16 flips and can never flag a cell, so this turn is used **pooled** with turns 1 and 2. Its own null block was checked separately and passes. - Two earlier starts of this turn stopped inside the warm-up within 4 minutes: once on a harness without `--hot-only`, once on a fixture that was too small for `--runs 10`. The driver now catches both before or at the first arm (#1130 `502f0bb0a`, `58f5e534f`). **Pooled turns 1+2+3**, the 1k and 10k cells that all three share: `compare.py t1 t2 ts --hot '*'`, 20 rounds, 10,000 flips, 115 cells. ``` Null block t1: dev2 vs dev (two-sided) n=115 >1.05:10 <0.95:13 minp=0.295 Null block t2: dev2 vs dev (two-sided) n=115 >1.05:10 <0.95:17 minp=0.250 Candidate, hot paths: cand vs dev (one-sided, slower = flagged) n=115 >1.05:6 <0.95:16 minp=0.375 startup turn alone (4 rounds, --min-rounds 4; can't flag alone, null check only): Null block ts: dev2 vs dev (two-sided) n=115 >1.05:16 <0.95:5 minp=0.500 Layout block: inert vs dev (two-sided, information: how much an inert chang n=115 >1.05:4 <0.95:11 minp=0.250 Candidate, hot paths: cand vs dev (one-sided, slower = flagged) n=115 >1.05:9 <0.95:9 minp=0.625 Candidate, hot paths: cand vs layout arm inert (one-sided) n=115 >1.05:10 <0.95:8 minp=0.250 ``` - **Null blocks:** all pass. - **#1117 vs dev:** 0 flagged (smallest adjusted p 0.375). 6 cells are above ×1.05 and 16 below ×0.95, against 10 above ×1.05 per turn for dev vs dev. - **Turns 1+2 at 100k** (posted above): 0 flagged. **Cells the gate can't certify below 10%:** | Notes | Metric | Quantile | Ratio | Upper 95% | MDE 80% | |---:|---|---|---:|---:|---:| | 1000 | cold.startup | value | 1.0745 | 1.1692 | 13.5% | | 1000 | home.first_page | value | 0.8653 | 0.9490 | 14.8% | | 1000 | journal.page | p50 | 0.9571 | 1.0763 | 19.2% | | 1000 | search.first_query | value | 0.9815 | 1.0517 | 10.9% | | 1000 | shutdown | value | 1.0691 | 1.1589 | 12.8% | | 1000 | startup.healthz | value | 1.0130 | 1.0967 | 12.6% | | 10000 | home.first_page | value | 0.9201 | 1.0527 | 22.3% | | 10000 | open.long_note | value | 1.3695 | 1.6644 | 33.9% | | 10000 | search.first_query | value | 1.1113 | 1.2300 | 16.4% | | 10000 | search.typo | p50 | 0.9933 | 1.0741 | 12.4% | | 10000 | shutdown | value | 1.0665 | 1.2864 | 32.4% | **Verdict and decision:** 1. **No regression is detectable on any cell.** That's 172 cells at 1k/10k/100k over 16–20 rounds, with null blocks clean in every turn. 2. Still, a strict "no regression of any size" can't be certified for 11 single-shot cells. They're measured once per server life (startup, shutdown, first page, first query, long-note open). - The point estimates to watch are 1k `cold.startup` ×1.075 (upper bound ×1.17), 1k `shutdown` ×1.069 (upper ×1.16) and 10k `open.long_note` ×1.37 (MDE 34%). - #1117 does add a Home-root watcher at start and a thread join at shutdown, so these are plausible places for a small cost. 3. **I'm stopping measurement here.** More turns of this harness can't get these cells to 10% in reasonable time: `open.long_note` would need about 10 more turns. Resolving them is harness work: repeat the long-note open and server start/stop several times per run. I'm recording that as the open item for #1117. 4. **For the orchestrator:** either accept #1117 with this caveat, or have the Files lane add the harness repeats (or a strace/CPU-count check of startup/shutdown work vs dev, which is deterministic) and re-gate only these 11 cells with `compare.py --only`. I'm not merging. Side finding: the typing scenario's two-client text check failed 4 times in about 700 runs, at 10k, including on plain dev and on the inert arm. Filed as #1146; it's not #1117's.
Author
Owner

#1117: three idle/load regressions found and fixed (head now fe9293652); perf turn 2 is running

While making the single-shot cells measurable (#1149), I also checked what the #1130 turns can't see: paired-turn.sh runs --idle-secs 0, and every perf turn uses a separate --state. Production runs one /data root (deploy/cloud/calternal.container), so each person's app data (notes/, search/, attachments/, index.db*) sits inside the Home folder, next to Notes/. In that layout #1117 had three real costs. They're deterministic counts, measured on dev-01.

1. An idle server walked its Home back to back forever (must-fix).

  • The walk gave IDs to app data and rewrote notes/ids.jsonl each pass. The new root watcher heard that write and queued the next walk.
  • Probe: a copy of a 1k Home, one request, then idle. Process CPU ticks at +15/+45/+60 s:
    • dev: 88 / 90 / 94
    • 934ef1c36: 1,043 / 5,206 / 10,517, about 1.7 cores busy
    • The 5 s strace showed about 233 walks (233 mkdir, 21k openat2, 655 writes).
  • Fix 164b41c2c: when state shares the Home, the walk and the watcher skip the app-data top-level entries (home_files::APP_STATE_ENTRIES, documented next to state_in_home). The same probe now gives 90 / 92 / 96, with an strace identical to dev's (10 writes).

2. A connected client made the quiet wait poll every 250 ms.

  • With an open tab the Home stays "busy", so wait_until_quiet woke 4×/s forever.
  • calternal-perf idle scenario, idle.wakeups_per_s: dev 5.27, 934ef1c36 12.8.
  • Fix 471af382d: one deadline timer (last request + 5 s). While only a connected client, open note, scan or job holds the walk back, it rechecks after 60 s, like the unload timer. Result: 5.27–5.30.

3. The recursive Home-root watch heard every app-data write.

  • load.typing_wakeups_per_s: dev 63.3–64.1, fix-so-far 72–79 at 1k/10k.
  • Fix 037c80500 (home_files/watch_scope.rs): with state in the Home, each of the person's top-level folders is watched recursively. The root is watched by a names-only watcher (create/delete/rename; its kernel mask has no IN_MODIFY, so root-level index.db* writes never wake it). A folder that appears at the top later gets its own watch from a small background task.
  • Result: 63.4–64.7.
  • Cost: idle.threads 21 → 22 (the second watcher's event thread, 0 wake-ups, no measurable RSS change), and only in the shared layout. A separate --state keeps the single recursive root watch.
  • Also: a loose file edited in place at the Home root is picked up by the next walk, not at once. Create, delete and rename at the root are still seen at once.

Shared-layout harness runs, dev vs fix (calternal-perf --sizes 1k,10k --runs 1 --cold-runs 1 --idle-secs 60 --storm-edits 500, two of each, dev-01; counts, not timing):

Metric dev 934ef1c36 fix
idle.wakeups_per_s 5.27 12.8 5.27–5.30
load.typing_wakeups_per_s 62.4–64.1 84.9–93.7 63.4–64.7
idle.cpu_ticks (60 s) 3–8 5–11 3–7
idle.threads 21 21 22

New tests (crates/notes/src/tests/home_files.rs, unload.rs):

  • app_data_in_the_home_is_not_walked_and_an_idle_home_stays_idle fails on 934ef1c36: the id log keeps growing.
  • app_data_events_ask_for_a_walk_only_when_state_is_elsewhere
  • a_folder_made_at_the_home_root_after_startup_is_watched
  • quiet_in_counts_down_from_the_last_request

Gates on fe9293652 (all through ~/bin/slot, inside nix develop)

Gate Host Command Result
fmt dev-01 cargo fmt --all -- --check exit 0
strict clippy dev-01 cargo clippy --workspace --all-targets --locked -j4 -- -D warnings exit 0
Files tests dev-01 cargo test -p calternal-notes --lib home_files --locked -j4 10 passed
crash tests dev-01 cargo test -p calternal --test notes_crash --locked -j4 exit 0
workspace dev-01 cargo test --workspace --locked -j4 --no-fail-fast -- --test-threads=2 1809 passed, 0 failed
release dev-01 cargo build -j4 --release --locked -p calternal sha256 2b0908d1…
Files e2e dev-01 bunx playwright test e2e/home-files-identity.spec.ts --project=chromium-1440 / chromium-390 --workers=1 1 passed each
Files e2e dev-02 same, --project=webkit-1440 / webkit-390 1 passed each

One gate note: on an earlier head, room::save::…::independent_652_real_syncclient_joining_snapshot_is_not_saved failed with "EOF while parsing". My script had run the workspace tests before bun install, and that test spawns a JS sync client. It's not a code failure; with bun install first it passes, as above.

Perf, single-shot cells, #1149 cycle harness: turn 1 is posted below; turn 2 on the final behaviour is running now. Not merging.

### #1117: three idle/load regressions found and fixed (head now `fe9293652`); perf turn 2 is running While making the single-shot cells measurable (#1149), I also checked what the #1130 turns can't see: `paired-turn.sh` runs `--idle-secs 0`, and every perf turn uses a separate `--state`. Production runs one `/data` root (`deploy/cloud/calternal.container`), so each person's app data (`notes/`, `search/`, `attachments/`, `index.db*`) sits **inside the Home folder**, next to `Notes/`. In that layout #1117 had three real costs. They're deterministic counts, measured on dev-01. **1. An idle server walked its Home back to back forever (must-fix).** - The walk gave IDs to app data and rewrote `notes/ids.jsonl` each pass. The new root watcher heard that write and queued the next walk. - Probe: a copy of a 1k Home, one request, then idle. Process CPU ticks at +15/+45/+60 s: - dev: 88 / 90 / 94 - `934ef1c36`: 1,043 / 5,206 / 10,517, about 1.7 cores busy - The 5 s strace showed about 233 walks (233 `mkdir`, 21k `openat2`, 655 writes). - Fix `164b41c2c`: when state shares the Home, the walk and the watcher skip the app-data top-level entries (`home_files::APP_STATE_ENTRIES`, documented next to `state_in_home`). The same probe now gives 90 / 92 / 96, with an strace identical to dev's (10 writes). **2. A connected client made the quiet wait poll every 250 ms.** - With an open tab the Home stays "busy", so `wait_until_quiet` woke 4×/s forever. - `calternal-perf` idle scenario, `idle.wakeups_per_s`: dev 5.27, `934ef1c36` 12.8. - Fix `471af382d`: one deadline timer (last request + 5 s). While only a connected client, open note, scan or job holds the walk back, it rechecks after 60 s, like the unload timer. Result: 5.27–5.30. **3. The recursive Home-root watch heard every app-data write.** - `load.typing_wakeups_per_s`: dev 63.3–64.1, fix-so-far 72–79 at 1k/10k. - Fix `037c80500` (`home_files/watch_scope.rs`): with state in the Home, each of the person's top-level folders is watched recursively. The root is watched by a **names-only** watcher (create/delete/rename; its kernel mask has no `IN_MODIFY`, so root-level `index.db*` writes never wake it). A folder that appears at the top later gets its own watch from a small background task. - Result: 63.4–64.7. - Cost: `idle.threads` 21 → 22 (the second watcher's event thread, 0 wake-ups, no measurable RSS change), and only in the shared layout. A separate `--state` keeps the single recursive root watch. - Also: a loose file edited in place at the Home root is picked up by the next walk, not at once. Create, delete and rename at the root are still seen at once. Shared-layout harness runs, dev vs fix (`calternal-perf --sizes 1k,10k --runs 1 --cold-runs 1 --idle-secs 60 --storm-edits 500`, two of each, dev-01; counts, not timing): | Metric | dev | `934ef1c36` | fix | |---|---:|---:|---:| | `idle.wakeups_per_s` | 5.27 | 12.8 | 5.27–5.30 | | `load.typing_wakeups_per_s` | 62.4–64.1 | 84.9–93.7 | 63.4–64.7 | | `idle.cpu_ticks` (60 s) | 3–8 | 5–11 | 3–7 | | `idle.threads` | 21 | 21 | 22 | **New tests** (`crates/notes/src/tests/home_files.rs`, `unload.rs`): - `app_data_in_the_home_is_not_walked_and_an_idle_home_stays_idle` fails on `934ef1c36`: the id log keeps growing. - `app_data_events_ask_for_a_walk_only_when_state_is_elsewhere` - `a_folder_made_at_the_home_root_after_startup_is_watched` - `quiet_in_counts_down_from_the_last_request` ### Gates on `fe9293652` (all through `~/bin/slot`, inside `nix develop`) | Gate | Host | Command | Result | |---|---|---|---| | fmt | dev-01 | `cargo fmt --all -- --check` | exit 0 | | strict clippy | dev-01 | `cargo clippy --workspace --all-targets --locked -j4 -- -D warnings` | exit 0 | | Files tests | dev-01 | `cargo test -p calternal-notes --lib home_files --locked -j4` | 10 passed | | crash tests | dev-01 | `cargo test -p calternal --test notes_crash --locked -j4` | exit 0 | | workspace | dev-01 | `cargo test --workspace --locked -j4 --no-fail-fast -- --test-threads=2` | 1809 passed, 0 failed | | release | dev-01 | `cargo build -j4 --release --locked -p calternal` | sha256 `2b0908d1…` | | Files e2e | dev-01 | `bunx playwright test e2e/home-files-identity.spec.ts --project=chromium-1440` / `chromium-390 --workers=1` | 1 passed each | | Files e2e | dev-02 | same, `--project=webkit-1440` / `webkit-390` | 1 passed each | One gate note: on an earlier head, `room::save::…::independent_652_real_syncclient_joining_snapshot_is_not_saved` failed with "EOF while parsing". My script had run the workspace tests before `bun install`, and that test spawns a JS sync client. It's not a code failure; with `bun install` first it passes, as above. Perf, single-shot cells, #1149 cycle harness: turn 1 is posted below; turn 2 on the final behaviour is running now. **Not merging.**
Author
Owner

#1117 single-shot cells with the cycle harness (#1149): no regression; every startup/shutdown/long-note cell resolved

Method. #1130's comparator (perf/compare.py --hot '*' --layout inert) and paired-turn.sh, mirrored order with warm-up. Arms: dev, dev2 (a byte copy of dev), inert (dev + 600 never-run functions, perf/inert-patch.py --seed 1) and cand. All were built by me on dev-01, relayed through hd01 and sha256-checked on perf-01. Fixtures were my own (~/p1117c/data, made in the warm-up).

Each arm ran calternal-perf --sizes 1k,10k --runs 2 --cold-runs 8 --cycles 12: 24 server lives per size, each recording startup, first page, long-note open, first search and shutdown, plus 8 cold starts. I took ~/bin/perf-turn p1117-cycles on perf-01 (no FRONT; I waited behind Notes Float and the daily train). A unit on hd01 held perf-02's lock for each whole turn.

Turn Measured (CET, 15 Nov) cand Harness Rounds Null block Flagged
1 04:47–06:03 471af382d (ff4b0323…) 4dfdfbd6f (aab31e87…) 18 pass 0
2 06:52–08:06 6e48665f2 (189c0ac3…) 271671e23 (b19e2852…, 1 ms shutdown) 18 pass 0
  • dev = dev2 is 796d80cba (f206c219…); inert is e0366be3….
  • 6e48665f2 has the same server code as the head fe9293652. The two later commits change only a test helper and import formatting.
  • A first start of turn 1 on 503012c47 was stopped in its warm-up and re-run on the next fix, so no measured round was lost.

The cells left open last time, cand vs dev (ratio, one-sided upper 95 %, MDE at 80 % power):

Cell Before (turns 1–3, #1130 method) Turn 1 Turn 2
1k cold.startup ×1.075 (U 1.169, MDE 13.5 %) 0.991 (U 1.005, 2.1 %) 0.999 (U 1.018, 2.9 %)
1k start (cycle.startup p50) (startup.healthz ×1.013, MDE 12.6 %) 0.990 (U 1.005, 2.3 %) 0.995 (U 1.016, 3.1 %)
10k cycle.startup p50 0.996 (U 1.008, 1.8 %) 1.002 (U 1.007, 0.8 %)
1k shutdown → cycle.shutdown p50 ×1.069 (U 1.159, 12.8 %) 0.928 (unresolved: 20 ms steps) 0.988 (U 1.000, 1.9 %)
10k shutdown → cycle.shutdown p50 ×1.067 (U 1.286, 32.4 %) 1.0005 (U 1.001, 0.1 %) 0.999 (U 1.018, 3.0 %)
10k open.long_note → cycle.long_note p50 ×1.370 (U 1.664, 33.9 %) 0.999 (U 1.022, 3.4 %) 1.001 (U 1.021, 2.9 %)
10k cycle.long_note_file p50 1.033 (U 1.073, 5.9 %) 0.976 (U 1.022, 7.2 %)
1k/10k home.first_page → cycle.first_page p50 0.865 / 0.920 (MDE 15 / 22 %) 0.990 / 0.998 0.958 / 0.990 (MDE 4.9 / 6.7 %)
1k/10k search.first_query → cycle.first_query p50 0.98 / 1.11 (MDE 11 / 16 %) 0.995 / 0.986 0.987 / 1.009 (MDE 2.0 / 3.1 %)
1k cycle.long_note_file 1.107 (U 1.205, 13.5 %) 1.041 (U 1.118, 11.2 %)
  • 1k cycle.long_note_file (the first open of the one long note, read from its file) has one sample per arm per round. Pooling turns 1+2 for this cell gives 36 rounds: 1.034, U 1.089, MDE 8.1 %, adj. p 0.999. The dev2-vs-dev null block moves this same cell by ×1.037, so this is dev's own noise. The pooled turns used two candidate builds; neither changes the file-open path.
  • Why the old 10k open.long_note looked like ×1.37: at 10k there are 5 long notes, and warm run r opens long note r mod 5. So runs 0–4 read the note from its file and later runs rebuild it from history, and one cell mixed two code paths. Cycle mode keeps them apart (cycle.long_note_file vs cycle.long_note); both are flat.
  • The 1k shutdown cell needed the harness fix in #1149 271671e23: the exit was checked every 20 ms.

Verdict.

  • Startup and shutdown are not slower with #1117: every once-per-life cell is resolved below 10 %, and none is flagged in two independent 18-round turns.
  • No change to the startup or shutdown path was needed. The watcher starts off the opening path, and a waiting walk ends at once on shutdown.
  • The real costs were the three idle/load regressions in the shared layout (comment above), now fixed and gated.

Open for the orchestrator / kayg:

  1. idle.threads +1 (21 → 22) in the shared layout only: the names-only root watcher's thread. It has 0 wake-ups and no measurable memory. The alternative is a hand-rolled inotify fd on the tokio reactor: Linux-only and more code. I kept the thread.
  2. In the shared layout, a loose file edited in place directly at the Home root is picked up by the next walk, not at once. Create, delete and rename at the root are seen at once.
  3. With a client always connected (an open tab), the walk never runs until it disconnects. That behaviour comes from r7's busy_for_files_scan and is unchanged by me; it now costs one check a minute instead of four a second.
  4. The #1130-method turns 1–3 (934ef1c36) don't cover the fixes. The new head was measured only on the 35 single-shot cells, plus the shared-layout idle/typing counts. If the orchestrator wants the full 172-cell family on fe9293652, that's one more turn.

Head fe9293652. Not merging.

### #1117 single-shot cells with the cycle harness (#1149): **no regression; every startup/shutdown/long-note cell resolved** **Method.** #1130's comparator (`perf/compare.py --hot '*' --layout inert`) and `paired-turn.sh`, mirrored order with warm-up. Arms: dev, dev2 (a byte copy of dev), inert (dev + 600 never-run functions, `perf/inert-patch.py --seed 1`) and cand. All were built by me on dev-01, relayed through hd01 and sha256-checked on perf-01. Fixtures were my own (`~/p1117c/data`, made in the warm-up). Each arm ran `calternal-perf --sizes 1k,10k --runs 2 --cold-runs 8 --cycles 12`: 24 server lives per size, each recording startup, first page, long-note open, first search and shutdown, plus 8 cold starts. I took `~/bin/perf-turn p1117-cycles` on perf-01 (no FRONT; I waited behind Notes Float and the daily train). A unit on hd01 held perf-02's lock for each whole turn. | Turn | Measured (CET, 15 Nov) | cand | Harness | Rounds | Null block | Flagged | |---|---|---|---|---:|---|---:| | 1 | 04:47–06:03 | `471af382d` (`ff4b0323…`) | `4dfdfbd6f` (`aab31e87…`) | 18 | pass | **0** | | 2 | 06:52–08:06 | `6e48665f2` (`189c0ac3…`) | `271671e23` (`b19e2852…`, 1 ms shutdown) | 18 | pass | **0** | - dev = dev2 is `796d80cba` (`f206c219…`); inert is `e0366be3…`. - `6e48665f2` has the same server code as the head `fe9293652`. The two later commits change only a test helper and import formatting. - A first start of turn 1 on `503012c47` was stopped in its warm-up and re-run on the next fix, so no measured round was lost. **The cells left open last time**, cand vs dev (ratio, one-sided upper 95 %, MDE at 80 % power): | Cell | Before (turns 1–3, #1130 method) | Turn 1 | Turn 2 | |---|---|---|---| | 1k `cold.startup` | ×1.075 (U 1.169, MDE 13.5 %) | 0.991 (U 1.005, 2.1 %) | 0.999 (U 1.018, 2.9 %) | | 1k start (`cycle.startup` p50) | (`startup.healthz` ×1.013, MDE 12.6 %) | 0.990 (U 1.005, 2.3 %) | 0.995 (U 1.016, 3.1 %) | | 10k `cycle.startup` p50 | | 0.996 (U 1.008, 1.8 %) | 1.002 (U 1.007, 0.8 %) | | 1k `shutdown` → `cycle.shutdown` p50 | ×1.069 (U 1.159, 12.8 %) | 0.928 (unresolved: 20 ms steps) | **0.988 (U 1.000, 1.9 %)** | | 10k `shutdown` → `cycle.shutdown` p50 | ×1.067 (U 1.286, 32.4 %) | 1.0005 (U 1.001, 0.1 %) | 0.999 (U 1.018, 3.0 %) | | 10k `open.long_note` → `cycle.long_note` p50 | ×1.370 (U 1.664, 33.9 %) | 0.999 (U 1.022, 3.4 %) | 1.001 (U 1.021, 2.9 %) | | 10k `cycle.long_note_file` p50 | | 1.033 (U 1.073, 5.9 %) | 0.976 (U 1.022, 7.2 %) | | 1k/10k `home.first_page` → `cycle.first_page` p50 | 0.865 / 0.920 (MDE 15 / 22 %) | 0.990 / 0.998 | 0.958 / 0.990 (MDE 4.9 / 6.7 %) | | 1k/10k `search.first_query` → `cycle.first_query` p50 | 0.98 / 1.11 (MDE 11 / 16 %) | 0.995 / 0.986 | 0.987 / 1.009 (MDE 2.0 / 3.1 %) | | 1k `cycle.long_note_file` | | 1.107 (U 1.205, 13.5 %) | 1.041 (U 1.118, 11.2 %) | - **1k `cycle.long_note_file`** (the first open of the one long note, read from its file) has one sample per arm per round. Pooling turns 1+2 for this cell gives 36 rounds: **1.034, U 1.089, MDE 8.1 %, adj. p 0.999**. The dev2-vs-dev null block moves this same cell by ×1.037, so this is dev's own noise. The pooled turns used two candidate builds; neither changes the file-open path. - **Why the old 10k `open.long_note` looked like ×1.37:** at 10k there are 5 long notes, and warm run `r` opens long note `r mod 5`. So runs 0–4 read the note from its file and later runs rebuild it from history, and one cell mixed two code paths. Cycle mode keeps them apart (`cycle.long_note_file` vs `cycle.long_note`); both are flat. - **The 1k shutdown cell** needed the harness fix in #1149 `271671e23`: the exit was checked every 20 ms. **Verdict.** - Startup and shutdown are **not** slower with #1117: every once-per-life cell is resolved below 10 %, and none is flagged in two independent 18-round turns. - No change to the startup or shutdown path was needed. The watcher starts off the opening path, and a waiting walk ends at once on shutdown. - The real costs were the three idle/load regressions in the shared layout (comment above), now fixed and gated. **Open for the orchestrator / kayg:** 1. `idle.threads` +1 (21 → 22) in the shared layout only: the names-only root watcher's thread. It has 0 wake-ups and no measurable memory. The alternative is a hand-rolled inotify fd on the tokio reactor: Linux-only and more code. I kept the thread. 2. In the shared layout, a loose file edited in place directly at the Home root is picked up by the next walk, not at once. Create, delete and rename at the root are seen at once. 3. With a client always connected (an open tab), the walk never runs until it disconnects. That behaviour comes from r7's `busy_for_files_scan` and is unchanged by me; it now costs one check a minute instead of four a second. 4. The #1130-method turns 1–3 (`934ef1c36`) don't cover the fixes. The new head was measured only on the 35 single-shot cells, plus the shared-layout idle/typing counts. If the orchestrator wants the full 172-cell family on `fe9293652`, that's one more turn. Head `fe9293652`. **Not merging.**
Author
Owner

fe9293652 full perf: interim results (turns A and B done, A2 queued)

Arms. All built by me on dev-01 in one environment, relayed through hd01 and sha256-checked on perf-01:

Arm Source sha256 Size
dev = dev2 796d80cba 442c6812… 32,779,560
inert 796d80cba + inert-patch.py --seed 1 --functions 820 077b51c0… 32,969,392
cand #1117 fe9293652 2d786608… 32,969,288
harness perf/p1117-final-harness 75806caf2 (#1117 perf crate + #1149) fa3cbf9f…
  • The harness branch is a build-only scratch branch: #1117's perf crate (--hot-only, p99 quantiles) plus #1149.
  • In that harness, --cycles N adds N server lives after each warm run, so one arm covers the warm cells and the once-per-life cells.
  • Driver: #1130 paired-turn.sh 5660b886c with a local --single-root option (proposed on #1130), mirrored order, warm-up on every arm.
  • A wrapper on perf-01 holds the perf-02 handshake for the whole ticket. Tickets are ordinary ~/bin/perf-turn p1117-final (no FRONT). My own fixtures are in ~/p1117f/data.

Turn A: separate --state (the gate layout), full family.

  • Measured 08:22–09:34 CET.
  • Each arm: --sizes 1k,10k,100k --runs 2 --cold-runs 1 -- --hot-only --cycles 4.
  • 6 rounds (64 exact flips), 204 cells (the 172 warm cells + 32 cycle.*).
  • compare.py layout.json --hot '*' --layout inert:
    • null block (dev2 vs dev): pass;
    • candidate: 0 flagged;
    • 53 hot cells still above the 10 % resolution, so the second turn of this setup (A2) is queued and will be pooled.
  • One harness run failure: 100000: warm run 2: the two clients ended with different text on the inert arm (dev code), the known #1146.

Turn B: single root (app data inside each Home, as in prod).

  • Measured 09:46–11:00 CET.
  • Paired part: --single-root --sizes 1k,10k --runs 2 --cold-runs 2 -- --hot-only --cycles 6, 12 rounds (4,096 exact flips), 135 cells.
  • Null block pass; candidate 0 flagged. 14 hot cells are above 10 %, mostly first-request single values and open/search p50s.
  • Save, typing, startup and shutdown cells, cand vs dev (ratio, upper 95 %, MDE):
Cell 1k 10k
sync.save_ack p50 1.020 (1.043, 3.5 %) 0.971 (1.015, 6.8 %)
sync.round_trip p50 0.974 (1.023, 7.6 %) 0.962 (0.993, 4.9 %)
sync.durable_write p50 1.010 (1.039, 4.3 %) 0.993 (1.010, 2.6 %)
cycle.startup p50 1.005 (1.014, 1.3 %) 0.986 (1.000, 2.1 %)
cycle.shutdown p50 0.989 (1.074, 13.2 %) 1.006 (1.047, 6.0 %)

Two raw-value checks:

  • 1k sync.save_ack p99 is ×1.20 but not significant (adj. p 0.9998, MDE 36 %). Two cand rounds spiked to 14.9 and 21.6 ms; the others are 6–12 ms, the same band as dev2 (5.8–11.2) and inert (6.8–12.4).
  • 1k search.catch_up (×3.26, MDE 4,700 %) is bimodal in every arm: 2 ms or 2.003 s, depending on whether search finished before the harness's first 2 s poll. That happened in 4/12 rounds for dev, 4 for dev2, 2 for inert and 6 for cand. This is a harness resolution issue, not a code effect.

Wake-up counts on perf-01 itself (inside turn B, perf-02 held). One full warm run per arm and layout, --sizes 1k,10k --runs 1 --cold-runs 1 --idle-secs 60 --storm-edits 500; counts, not timing:

split dev split cand single-root dev single-root cand
idle.wakeups_per_s 1k / 10k 5.25 / 5.33 5.30 / 5.32 5.28 / 5.27 5.32 / 5.32
load.typing_wakeups_per_s 1k / 10k 63.9 / 62.1 62.5 / 63.6 62.3 / 61.8 62.2 / 63.8
idle.cpu_ticks (60 s) 1k / 10k 3 / 6 2 / 6 4 / 5 3 / 5
idle.threads 13 13 13 14

Everything is flat except the known +1 thread in the single-root layout: the names-only root watcher, which has 0 wake-ups.

Next: turn A2 (same as A, seed 11495), pooled with A for the full family. I'll post the final verdict after it. Not merging.

### `fe9293652` full perf: interim results (turns A and B done, A2 queued) **Arms.** All built by me on dev-01 in one environment, relayed through hd01 and sha256-checked on perf-01: | Arm | Source | sha256 | Size | |---|---|---|---:| | dev = dev2 | `796d80cba` | `442c6812…` | 32,779,560 | | inert | `796d80cba` + `inert-patch.py --seed 1 --functions 820` | `077b51c0…` | 32,969,392 | | cand | #1117 `fe9293652` | `2d786608…` | 32,969,288 | | harness | `perf/p1117-final-harness` `75806caf2` (#1117 perf crate + #1149) | `fa3cbf9f…` | | - The harness branch is a build-only scratch branch: #1117's perf crate (`--hot-only`, p99 quantiles) plus #1149. - In that harness, `--cycles N` adds N server lives after each warm run, so one arm covers the warm cells and the once-per-life cells. - Driver: #1130 `paired-turn.sh` `5660b886c` with a local `--single-root` option (proposed on #1130), mirrored order, warm-up on every arm. - A wrapper on perf-01 holds the perf-02 handshake for the whole ticket. Tickets are ordinary `~/bin/perf-turn p1117-final` (no FRONT). My own fixtures are in `~/p1117f/data`. **Turn A: separate `--state` (the gate layout), full family.** - Measured 08:22–09:34 CET. - Each arm: `--sizes 1k,10k,100k --runs 2 --cold-runs 1 -- --hot-only --cycles 4`. - 6 rounds (64 exact flips), 204 cells (the 172 warm cells + 32 `cycle.*`). - `compare.py layout.json --hot '*' --layout inert`: - null block (dev2 vs dev): **pass**; - candidate: **0 flagged**; - 53 hot cells still above the 10 % resolution, so the second turn of this setup (A2) is queued and will be pooled. - One harness run failure: `100000: warm run 2: the two clients ended with different text` on the **inert** arm (dev code), the known #1146. **Turn B: single root (app data inside each Home, as in prod).** - Measured 09:46–11:00 CET. - Paired part: `--single-root --sizes 1k,10k --runs 2 --cold-runs 2 -- --hot-only --cycles 6`, 12 rounds (4,096 exact flips), 135 cells. - Null block **pass**; candidate **0 flagged**. 14 hot cells are above 10 %, mostly first-request single values and open/search p50s. - Save, typing, startup and shutdown cells, cand vs dev (ratio, upper 95 %, MDE): | Cell | 1k | 10k | |---|---|---| | `sync.save_ack` p50 | 1.020 (1.043, 3.5 %) | 0.971 (1.015, 6.8 %) | | `sync.round_trip` p50 | 0.974 (1.023, 7.6 %) | 0.962 (0.993, 4.9 %) | | `sync.durable_write` p50 | 1.010 (1.039, 4.3 %) | 0.993 (1.010, 2.6 %) | | `cycle.startup` p50 | 1.005 (1.014, 1.3 %) | 0.986 (1.000, 2.1 %) | | `cycle.shutdown` p50 | 0.989 (1.074, 13.2 %) | 1.006 (1.047, 6.0 %) | Two raw-value checks: - 1k `sync.save_ack` p99 is ×1.20 but not significant (adj. p 0.9998, MDE 36 %). Two cand rounds spiked to 14.9 and 21.6 ms; the others are 6–12 ms, the same band as dev2 (5.8–11.2) and inert (6.8–12.4). - 1k `search.catch_up` (×3.26, MDE 4,700 %) is bimodal in **every** arm: 2 ms or 2.003 s, depending on whether search finished before the harness's first 2 s poll. That happened in 4/12 rounds for dev, 4 for dev2, 2 for inert and 6 for cand. This is a harness resolution issue, not a code effect. **Wake-up counts on perf-01 itself** (inside turn B, perf-02 held). One full warm run per arm and layout, `--sizes 1k,10k --runs 1 --cold-runs 1 --idle-secs 60 --storm-edits 500`; counts, not timing: | | split dev | split cand | single-root dev | single-root cand | |---|---:|---:|---:|---:| | `idle.wakeups_per_s` 1k / 10k | 5.25 / 5.33 | 5.30 / 5.32 | 5.28 / 5.27 | 5.32 / 5.32 | | `load.typing_wakeups_per_s` 1k / 10k | 63.9 / 62.1 | 62.5 / 63.6 | 62.3 / 61.8 | 62.2 / 63.8 | | `idle.cpu_ticks` (60 s) 1k / 10k | 3 / 6 | 2 / 6 | 4 / 5 | 3 / 5 | | `idle.threads` | 13 | 13 | 13 | **14** | Everything is flat except the known +1 thread in the single-root layout: the names-only root watcher, which has 0 wake-ups. Next: turn A2 (same as A, seed 11495), pooled with A for the full family. I'll post the final verdict after it. **Not merging.**
Author
Owner

fe9293652 final perf verdict: 0 flagged in every block, both layouts; idle/typing wake-ups flat on perf-01 in both layouts

Turn A2.

  • Same as turn A (comment above), seed 11495.
  • Measured 12:45–13:55 CET 15 Nov, through an ordinary ~/bin/perf-turn p1117-final ticket (no FRONT; queued behind Mail #1011, e1c and nf3c).
  • 6 rounds; all arms exited 0; no harness run failures.

Full family, separate --state, turns A + A2 pooled.

  • 12 rounds, 4,096 exact flips.
  • 204 cells: the 172 warm cells (--hot-only) + 32 cycle.* cells, at 1k/10k/100k.
  • Command: compare.py tA/layout.json tA2/layout.json --hot '*' --layout inert
Block Cells > ×1.05 < ×0.95 Smallest adj. p Result
Null A: dev2 vs dev (two-sided) 204 23 36 0.375 pass
Null A2: dev2 vs dev (two-sided) 204 27 65 0.0625 pass
Layout (info): inert vs dev 204 29 23 0.576
cand vs dev (one-sided) 204 22 29 0.835 0 flagged
cand vs inert (one-sided) 204 24 27 0.517 0 flagged
  • The candidate has fewer cells above ×1.05 (22) than dev against itself (23 and 27).
  • 37 hot cells still have an MDE above 10 %. Most are first-request single values (home.first_page, search.first_query, startup.healthz, shutdown, cold.*) and 100k open/search p50s.
  • Their once-per-life versions are resolved through the cycle cells. At 100k (cand vs dev):
    • cycle.startup 0.989 (U 1.026, MDE 5.7 %)
    • cycle.shutdown 1.002 (U 1.032, 4.4 %)
    • sync.save_ack p50 1.002 (U 1.022, 3.0 %)
    • startup.healthz 0.935 (U 0.984)
  • The largest point estimate, 10k search.first_query ×1.18, is noise:
    • dev2 vs dev on identical code shows ×1.30 and ×1.16 in the two turns; inert vs dev ×1.16; cand vs inert ×1.01;
    • its repeated form, 10k cycle.first_query, is 0.972 (U 1.019, MDE 7.3 %).

Prod-like single root (app data inside each Home; turn B, comment above):

  • 12 rounds, 135 cells at 1k/10k;
  • null block pass; 0 flagged;
  • save, typing, startup and shutdown cells resolved and flat.

Wake-up counts on perf-01, both layouts (comment above): idle.wakeups_per_s, load.typing_wakeups_per_s and idle.cpu_ticks match dev. The only difference is idle.threads +1 in the single-root layout (the names-only root watcher, 0 wake-ups).

Verdict: no regression found on any measured cell or count, in either layout. Head fe9293652. Not merging; for the orchestrator.

Two harness follow-ups (neither blocks #1117):

  • search.catch_up is quantised to the harness's 2 s poll.
  • #1146 (rare two-client text mismatch) happened once, on the inert arm (dev code).
### `fe9293652` final perf verdict: **0 flagged in every block, both layouts; idle/typing wake-ups flat on perf-01 in both layouts** **Turn A2.** - Same as turn A (comment above), seed 11495. - Measured 12:45–13:55 CET 15 Nov, through an ordinary `~/bin/perf-turn p1117-final` ticket (no FRONT; queued behind Mail #1011, e1c and nf3c). - 6 rounds; all arms exited 0; no harness run failures. **Full family, separate `--state`, turns A + A2 pooled.** - 12 rounds, 4,096 exact flips. - 204 cells: the 172 warm cells (`--hot-only`) + 32 `cycle.*` cells, at 1k/10k/100k. - Command: `compare.py tA/layout.json tA2/layout.json --hot '*' --layout inert` | Block | Cells | > ×1.05 | < ×0.95 | Smallest adj. p | Result | |---|---:|---:|---:|---:|---| | Null A: dev2 vs dev (two-sided) | 204 | 23 | 36 | 0.375 | pass | | Null A2: dev2 vs dev (two-sided) | 204 | 27 | 65 | 0.0625 | pass | | Layout (info): inert vs dev | 204 | 29 | 23 | 0.576 | | | **cand vs dev (one-sided)** | 204 | 22 | 29 | **0.835** | **0 flagged** | | **cand vs inert (one-sided)** | 204 | 24 | 27 | 0.517 | **0 flagged** | - The candidate has fewer cells above ×1.05 (22) than dev against itself (23 and 27). - 37 hot cells still have an MDE above 10 %. Most are first-request single values (`home.first_page`, `search.first_query`, `startup.healthz`, `shutdown`, `cold.*`) and 100k open/search p50s. - Their once-per-life versions are resolved through the cycle cells. At 100k (cand vs dev): - `cycle.startup` 0.989 (U 1.026, MDE 5.7 %) - `cycle.shutdown` 1.002 (U 1.032, 4.4 %) - `sync.save_ack` p50 1.002 (U 1.022, 3.0 %) - `startup.healthz` 0.935 (U 0.984) - The largest point estimate, 10k `search.first_query` ×1.18, is noise: - dev2 vs dev on identical code shows ×1.30 and ×1.16 in the two turns; inert vs dev ×1.16; cand vs inert ×1.01; - its repeated form, 10k `cycle.first_query`, is 0.972 (U 1.019, MDE 7.3 %). **Prod-like single root** (app data inside each Home; turn B, comment above): - 12 rounds, 135 cells at 1k/10k; - null block pass; **0 flagged**; - save, typing, startup and shutdown cells resolved and flat. **Wake-up counts on perf-01**, both layouts (comment above): `idle.wakeups_per_s`, `load.typing_wakeups_per_s` and `idle.cpu_ticks` match dev. The only difference is `idle.threads` +1 in the single-root layout (the names-only root watcher, 0 wake-ups). **Verdict:** no regression found on any measured cell or count, in either layout. Head `fe9293652`. **Not merging; for the orchestrator.** Two harness follow-ups (neither blocks #1117): - `search.catch_up` is quantised to the harness's 2 s poll. - #1146 (rare two-client text mismatch) happened once, on the inert arm (dev code).
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled
This pull request is broken due to missing fork information.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feat/files-s1-identity-r7:feat/files-s1-identity-r7'
git switch 'feat/files-s1-identity-r7'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'dev'
git merge --no-ff 'feat/files-s1-identity-r7'
git switch 'feat/files-s1-identity-r7'
git rebase 'dev'
git switch 'dev'
git merge --ff-only 'feat/files-s1-identity-r7'
git switch 'feat/files-s1-identity-r7'
git rebase 'dev'
git switch 'dev'
git merge --no-ff 'feat/files-s1-identity-r7'
git switch 'dev'
git merge --squash 'feat/files-s1-identity-r7'
git switch 'dev'
git merge --ff-only 'feat/files-s1-identity-r7'
git switch 'dev'
git merge 'feat/files-s1-identity-r7'
git push origin 'dev'
Sign in to join this conversation.
No reviewers
No milestone
No project
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!1117
No description provided.