Repository navigation
perf(recording): deduplicate cursor moves and cap in-memory buffer (#109) - #3909
jeffrey-graham wants to merge 6 commits into
Conversation
…icate cursor moves and cap in-memory buffer (CapSoftware#109) Added constants to limit in-memory cursor move events and prevent redundant moves.
|
@jeffrey-graham is attempting to deploy a commit to the Cap Software Inc Team on Vercel. A member of the Team first needs to authorize it. |
|
Addressed both review findings in
|
|
Thanks @jeffrey-graham, this looks like a useful change. Before we can merge it:
Once those are sorted, request a re-review from Greptile. |
|
@richiemcilroy Thanks for the review! Both points from Greptile are resolved in the latest commit ( |
|
The deduplication point is resolved: the recorder now calls Tip: You can customize Greptile's behavior for this repo with |
|
@greptileai Updated in
|
|
@greptileai Updated |
|
@richiemcilroy All Greptile findings are now resolved and Greptile has updated its review to Confidence Score: 5/5 on the latest commit ( |
Fixes #109
/claim #109
Summary
MAX_IN_MEMORY_CURSOR_MOVES(4,096) andMIN_CURSOR_MOVE_DELTA_SQ(1e-7) constants tocrates/recording/src/cursor.rs.CursorActorResponse::push_move_dedupedto drop sub-pixel redundant moves and bound capacity growth during long high-DPI recordings.

Confidence Score: 5/5
The PR appears safe to merge, with the previously failing keyboard-count assertion corrected.Summary
The PR drops redundant cursor moves, limits the move buffer, and drains events into incremental files without overwriting saved history at finalization.
Reviews (3) · Last reviewed commit: "test(recording): compare retained keyboa..." · Reviewed by Greptile