gabriel / muse public
feat BREAKING push task/push-timing-instrumentation #1 / 1
AI Agent gabriel · 34 days ago · May 10, 2026 · Diff

feat(push): extreme client-side instrumentation for one-shot timing diagnosis

Add per-step elapsed timestamps to every phase of the push path so a single run produces a complete timeline without needing repeated runs.

transport.py — push_stream_coro: - h_frame+headers time and size - frame_assembly time (total body KiB) - time_to_first_byte - per-P-frame [+Xs] elapsed since POST sent (shows server [S+Xs] inline) - result_frame elapsed at completion

transport.py — _frame_generator: - per-C-frame: commit count, snapshot count (full vs delta), frame KiB - logged at C1, every 5th frame, and last frame - end-of-generator summary: total C frames, total snapshots, total KiB

push.py — _run_presign_path and _run_stream_path: - commit serialization time - snapshot loading time (with manifest entry count) - collect_object_ids time - POST /push/presign time (oid count, body size) - presign result breakdown (upload_urls vs already_known) - R2 PUTs total time - POST /push/confirm time (object count, body size) - push_stream_coro total time

sha256:daa593e106d0f26df0146f459de160b42f3387208e799282aa73af664a7a819d sha
sha256:4eaf03a6136959a82f9daa1d250426b22fe752a5d4dbadeec9fd0c8dad1995fd snapshot
← Older Oldest on task/push-timing-instrumentation
All commits
Newer → Latest on task/push-timing-instrumentation

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:daa593e106d0f26df0146f459de160b42f3387208e799282aa73af664a7a819d --body "your comment"