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
0 comments
muse hub commit comment sha256:daa593e106d0f26df0146f459de160b42f3387208e799282aa73af664a7a819d --body "your comment"
No comments yet. Be the first to start the discussion.