Files
typewriter/docs/notes
Julien Calixte 456c4c43e7 perf(sync): instrument and benchmark commit-staging latency
Break the stage+commit window into sub-phases (FAT working-tree walk vs
object writes) via `commit split —` log lines, and add two micro-benchmarks
(sd_bench for SD/FAT primitive ops, git_bench for libgit2 object overhead)
with justfile recipes. Documents the walk-vs-writes cost model in
tradeoff-curves/sync-commit-staging.md to decide whether explicit-path
staging over the editor's dirty set is worth replacing add_all(["*"]).
2026-07-12 12:24:50 +02:00
..

Notes

Longer-form essays on the thinking behind specific Typoena choices — the arguments too big for an ADR and too durable for a commit message.

Docs index: ../README.md. Project overview: ../../README.md.

Note What it argues
ctrl-g-perceived-latency.md Durability before delivery — surfacing "commit landed" at ~0.2 s makes the 510 s Ctrl-G push feel instant.
git-sync-images-and-repo-size.md Why we don't shrink the notes repo — its 153 MB of media is remanso's image CDN, so rewriting history to slim the on-device clone breaks the web app.
boot-time-budget.md Where the ~4.3 s to cursor goes — and why the ≤ 3 s v1.0 target is hard: one ~1.9 s full refresh is unavoidable at cold boot, so the splash is nearly free.
sync-latency.md Where the ~16 s cold :sync goes — Wi-Fi + SNTP + one TLS push; why optimistic-retry cut a whole handshake, and why the rest is close to the protocol floor.