aboutsummaryrefslogtreecommitdiff
path: root/tools/budgets.json
diff options
context:
space:
mode:
authorcirakg <cirakg@cirakg.xyz>2026-10-19 22:28:09 +0200
committercirakg <cirakg@cirakg.xyz>2026-10-19 22:28:09 +0200
commit2373b6f02ef027a423762d5d6349cd9e0f36090e (patch)
tree7509b0b1905d7c593074bba8ed4c94e30e437604 /tools/budgets.json
parent35042ff04ffc50e55ff59a385849442be4429d6b (diff)
test(ui): drive the simulator with a scripted flow and check every screen
tools/ui_flow.py clicks buttons and taps from the device files, waits for DIAG shown lines and compares 10 screens per watch with goldens on four test and three spot-check devices. Adds the fixture-wrap generator, UI logic tests and driver tests; the launcher opens apps from their glance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/budgets.json')
-rw-r--r--tools/budgets.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/budgets.json b/tools/budgets.json
index 93e9a2b..ba7432d 100644
--- a/tools/budgets.json
+++ b/tools/budgets.json
@@ -1,12 +1,12 @@
{
"_author": "cirakg & claude ai",
"_summary": "Simulator budgets checked by `make perf` and `make memtest` (README section 18).",
- "_about": "Simulator timings depend on your PC and include the JVM start of monkeydo, so perf budgets only catch big regressions; from M4 on they are set to about 2x the measured baseline. Memory is a hard limit: at most 70 % of the watch-app memory of the device.",
+ "_about": "Simulator timings depend on your PC. startup_ms (in-app, object creation to first full frame) measured 1-18 ms in M4; its budget leaves room for simulator jitter. first_frame_wall_ms includes the JVM start of monkeydo, loading the glance, the 2 s pause and the tap that opens the app (16-18 s in M4), so it only catches big regressions; set to about 2x. Memory is a hard limit: at most 70 % of the watch-app memory of the device.",
"perf": {
- "startup_ms": 3000,
- "first_frame_wall_ms": 15000
+ "startup_ms": 100,
+ "first_frame_wall_ms": 36000
},
"mem": {
- "mem_used_fraction": 0.70
+ "mem_used_fraction": 0.7
}
}