gabriel / muse public
perf dev
AI Agent gabriel · 31 days ago · May 11, 2026 · Diff

perf: skip build_push_objects entirely on bundle push path

build_push_objects read all 5162 object blobs (129 MB) to compute n_objects for the routing decision — then on the bundle path its result was thrown away.

Routing now uses len(commit_walk['all_object_ids']) which is free (already computed by walk_commits). build_push_objects only runs on the stream path where its result is actually used.

Eliminates ~4s of dead object loading on every large push.

sha256:bdc869fbdafb6a6c2bcd103d3fc9372e5ad1caa63e91fb8393d4eec67368db14 sha
sha256:d49d6ca62bf2c6b82f0ed3ab16a0b3514b15cd1b145be1702e000212c60d4712 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

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:bdc869fbdafb6a6c2bcd103d3fc9372e5ad1caa63e91fb8393d4eec67368db14 --body "your comment"