Document separate benchmark publication repo

This commit is contained in:
iris committed 2026-09-09 16:23:38 -04:00
1 parent f5183af306
commit e212ed8d02
3 files changed
+22 -22

No files matched your search

+12 -7
View File
@@ -148,12 +148,14 @@ Module-by-module intent is in `docs/PLAN.md`'s "Backend layout".
pans, flings or lays out a long list.
- `.dev-updater.ron` — what Dev Updater builds here: the server (run as
`service: Managed(…)`, supervised by Dev Updater's own implementation
rather than a script kept here), the Compose app, the Rust/iris benchmark
APK, and the shell APK, in parallel. The iris benchmark is its own
`iris-bench` component rooted at `app-rust/`; its release mode is the arm64
phone build with the `transcript-screen bench` features. The file points at
`resources.ron`, which is *ours* rather than
Dev Updater's — it names
rather than a script kept here), the Compose app and the shell APK, in
parallel. **It does not publish either benchmark APK.** Phone benchmark
builds live in the separate `~/repos/ai-app-bench` repository: build here,
copy the verified artifact to that repo's `compose/` or `iris/` Gradle-shaped
path, then commit and push that repo. Dev Updater pulls the committed APK
from there; pushing `ai-app-2` alone cannot update its benchmark card. This
file points at
`resources.ron`, which is *ours* rather than Dev Updater's — it names
`~/.local/share/ai-app` and `~/.config/ai-app` so the Uninstall dialog can
offer them. Note what deleting the config directory takes with it: the CA
under `certs`, which is the one-way door. **Stop** on the server card stops
@@ -378,7 +380,10 @@ Each exists because something was invisible without it.
build/install/tap/read-report cycle stops being retyped by hand each
time (docs/RUST.md's P0 box). It passes `--no-default-features`, so
`--features` alone decides what is in the `.so`; that is what keeps the
1.9 MB bench fixture out of a build that did not ask for `bench`.
1.9 MB bench fixture out of a build that did not ask for `bench`. A phone
build is published only by replacing
`~/repos/ai-app-bench/iris/build/outputs/apk/release/iris-bench-arm64.apk`
and pushing the **bench repository**, not this checkout.
- **iris's three test layers** (docs/RUST.md's "Three test layers" has
the commands and what each cannot answer): test at the cheapest one
that can answer the question. `cd app-rust && cargo test` runs the real