Plan the macOS port of Mouse Without Borders
Planning documents only: CLAUDE.md rules, README with decisions and architecture, docs/protocol.md transcribed from the Windows source with citations, docs/topo.md, TODO.md milestones and the first-wave feature briefs (bootstrap, packet-codec, cipher-stream), plus tools/guard.sh. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
commit
69c0f7ab53
11 files changed
+1536
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# perf — budgets and measurements
|
||||
|
||||
Budgets (targets until measured; CLAUDE.md invariant 4 makes the first
|
||||
one a hard rule):
|
||||
|
||||
| what | budget | how measured |
|
||||
|---|---|---|
|
||||
| `CGEventTap` callback, p99 | < 1 ms | `os_signpost` interval around the callback, `xctrace` or an in-app counter dumped on quit |
|
||||
| capture → wire (tap callback to `NWConnection.send` enqueue), p99 | < 2 ms | signposts |
|
||||
| Mouse packet end-to-end on a wired LAN (Mac tap → Windows cursor) | < 10 ms | camera-free: Windows side logs receive tick; compare clocks via NTP; or ping-pong a `Hi` and halve |
|
||||
| Heartbeat/idle CPU | < 0.5 % | Activity Monitor over 10 min |
|
||||
| Memory after 8 h soak | flat within 10 MB | `tools/guard.sh` + `ps` sampling |
|
||||
|
||||
Measurements: none yet. Each lane that touches the hot path appends a
|
||||
dated block here.
|
||||
Reference in new issue
Block a user