summaryrefslogtreecommitdiff
path: root/docs/PERFORMANCE.md
diff options
context:
space:
mode:
authorcirakg <cirakg@cirakg.xyz>2026-10-20 18:36:54 +0200
committercirakg <cirakg@cirakg.xyz>2026-10-20 18:36:54 +0200
commit6039571d70b1f6de1ae384e58e11879869be356c (patch)
tree9f389b8aa234224599f5bed5c47d3f9450317d45 /docs/PERFORMANCE.md
parentf466977249d9ac10fe8b75180c30cb90dbcc22ca (diff)
docs: record M7 (settings forms) results; bump to 0.7.0v0.7.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/PERFORMANCE.md')
-rw-r--r--docs/PERFORMANCE.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/PERFORMANCE.md b/docs/PERFORMANCE.md
index 0fbb2f0..9e89e40 100644
--- a/docs/PERFORMANCE.md
+++ b/docs/PERFORMANCE.md
@@ -25,6 +25,19 @@ The targets are in [README section 18](../README.md#18-performance-budgets). Thi
## Results
+### M7, 2026-10-20 (settings forms, version 0.7.0)
+
+- **Memory is rising with the code.** The app's code is loaded into the same memory as its data, so every milestone adds to it:
+
+ | Forerunner 255S (512 KB) | M5 | M6 | M7 | Budget |
+ | --- | --- | --- | --- | --- |
+ | First frame (`make memtest`) | | 26 % | 31.4 % | 70 % |
+ | Peak during the 100-entry import (UI flow) | 41.5 % | | 56.2 % | 70 % |
+
+ The 768 KB watches use 21 % at the first frame and about 38 % at the import's peak. The 255S still has room, but M8 should claw some back, for example by keeping rarely used encoders and the settings code out of memory until needed, before adding more.
+- **Settings run.** The forms are applied in timer steps after the first frame, so start-up is unchanged (`startup_ms` 1 to 17 ms). Each form takes one step (a 2D code more, while it is encoded); the About scan reads four headers per step, so 110 entries take 28 steps, at least 1.4 s at 50 ms per step. It runs only when the entry list changed.
+- **Package:** 12 MB for all 72 products (9.5 MB in M6).
+
### M6, 2026-10-20 (barcodes, in 0.6.0)
- **Linear codes** encode in milliseconds while the screen opens; nothing is cached.