feat(phase-1/m5.5): perf pass legs --perf-smoke/--perf-verify; M5 closed
Seeds 3000 notes against the real streaming UI (279 ms total, ~0.09 ms/note), fresh observeAll 70 ms, favorite toggle 1 ms, reopen first non-empty emission 89 ms; only 4 RENDER lines during the seed (size-keyed emission coalesces). The multi-thousand-note unknown from the Phase-0 recommendation closes: desktop perf is a non-event at 3000 notes. §7 marked DONE + handoff "first actions" rewritten for post-M5 sessions (four pending-MANUAL checks listed). Verify: :desktopApp:run --args="--data-dir /tmp/incido-perf --perf-smoke --exit-after 150" (PERF seed 3000/279ms, rc 0) then --perf-verify same dir (reopen 89 ms, rc 0); :desktopApp:createDistributable + image --self-test rc=0; --keys-smoke KEYS ALL-OK; :core:data-jvm:smoke M1a PASS; assembleDebug SUCCESSFUL.
This commit is contained in:
1 parent
6f16e87ec0
commit
9f6124a501
3 files changed
+104
-8
No files matched your search
@@ -972,6 +972,44 @@ M5.3 suite:
|
||||
|
||||
**Next up: M5.5** — §9 perf pass on the real screens.
|
||||
|
||||
**M5.5 — perf pass on the real screens: DONE.**
|
||||
|
||||
New `--perf-smoke` (fresh dir) / `--perf-verify` (reopen the same dir)
|
||||
legs run against the REAL screens with the window composed and the list
|
||||
streaming — recomposition pressure is part of the measurement, not a
|
||||
separate microbench. Numbers on this dev box (Arch, Ryzen, no
|
||||
encryption — the field-cipher leg would add the M3-proved ~55 ms PBKDF2
|
||||
once per unlock, not per note):
|
||||
|
||||
```
|
||||
--perf-smoke seed notes=3000 total=279ms per-note=0ms (UI streaming throughout)
|
||||
--perf-smoke fresh observeAll notes=3000 in 70ms
|
||||
--perf-smoke favorite toggle write 1ms
|
||||
--perf-verify reopen first non-empty emission notes=3000 in 89ms
|
||||
RENDER lines during the whole seed: 4 (size-keyed emission coalesces —
|
||||
no per-save recomposition storm)
|
||||
exit codes 0, clean --exit-after teardown both legs
|
||||
```
|
||||
|
||||
Verdict: a multi-thousand-note library is a non-event on desktop — the
|
||||
ObjectBox queries, flow emission and LazyColumn all stay far under a
|
||||
frame budget at 3000. The §8 "perf on a multi-thousand-note library"
|
||||
unknown is CLOSED.
|
||||
|
||||
**M5 — PACKAGING AND INTEGRATION: DONE** (sub-milestones M5.1–M5.5
|
||||
above, one commit each). Remaining pending-MANUAL items, all recorded
|
||||
where they arose:
|
||||
1. One real Esc / Ctrl+N keypress at the desk (`esc(captured)` logs —
|
||||
Wayland blocks headless injection).
|
||||
2. HiDPI font crispness eyeball at `uiScale=2` (geometry scaling proven).
|
||||
3. First real tag run of `desktop-release.yml` (job steps verified
|
||||
locally piecewise).
|
||||
4. Carried from M3: the physical phone→desktop recovery-key leg.
|
||||
|
||||
**Next up: Phase 2 selection (§8)** — streaming backup formatVersion 2
|
||||
driven by the seed numbers above, voice notes on desktop, OS-keyring
|
||||
caching, JBR bundling for native Wayland, macOS/Windows GA.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -247,7 +247,7 @@ Exit criteria: one shared UI codebase; Android visually unchanged
|
||||
(`assembleDebug` + on-device smoke); desktop shows the real list, editor and
|
||||
settings wearing Incido's theme.
|
||||
|
||||
## 7. M5 — packaging and integration
|
||||
## 7. M5 — packaging and integration — **DONE** (M5.1–M5.5, run logs in `DESKTOP_FEASIBILITY.md`; pending-manual list recorded there: real keypress, uiScale eyeball, first tag run of `desktop-release.yml`, M3's phone→desktop recovery-key leg)
|
||||
|
||||
`packageDistributionForCurrentOS` per OS on a GitHub Actions matrix (no
|
||||
cross-compiling); icons, `.desktop` entry, tray + single-instance, first-run
|
||||
@@ -273,10 +273,11 @@ this handoff trustworthy. Never widen a seam silently: if a platform needs a new
|
||||
abstraction, justify it in the commit message. Flag anything unverifiable
|
||||
instead of assuming it works.
|
||||
|
||||
**First actions for a new session:** `git log --oneline -6` → read
|
||||
`tools/DESKTOP_FEASIBILITY.md` → run `:core:data-jvm:smoke`, the
|
||||
`:desktopApp:run … --self-test` command, and the M3 crypto legs above to
|
||||
confirm the tree matches this description → start M4 task 1 (convert
|
||||
`:composeApp` in-place to `kotlin("multiplatform")` with
|
||||
`androidTarget()` + `jvm()`, per §6 order of attack — decide within a day
|
||||
of real friction whether to fall back to a `:ui-shared` module).
|
||||
**First actions for a new session:** `git log --oneline -8` → read the
|
||||
"Phase 1 status" tail of `tools/DESKTOP_FEASIBILITY.md` (M5 entries) →
|
||||
run the §1 gates to confirm the tree (they now include the M5.1/M5.2
|
||||
legs) → **Phase 1 M1–M5 are all DONE**; what remains is the four
|
||||
pending-MANUAL checks listed at the end of the feasibility status
|
||||
(real Esc/Ctrl+N keypress, uiScale=2 readability, first
|
||||
`desktop-release.yml` tag run, phone→desktop recovery-key leg), then
|
||||
pick Phase 2 candidates from §8.
|
||||
Reference in new issue
Block a user