You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 51569b4
Browse filesBrowse the repository at this point in the historyBrowse files
perf(observability): stop writing empty spans on spawns, projected events, and idle polls
Five leaf spans carried no information but were 26-34% of all spans in
a steady-state bench. The idle port poll added one more every 3 s.
- createTrace2Monitor runs on every git spawn and returns at once
without hook callbacks. It is now untraced. Its errors still fail the
runGitCommand span.
- shell.resolveSpawnCommand and the two processRunner.collectText spans
run on every processRunner spawn (lsof, gh, VCS, providers).
resolveSpawnCommand returns at once off Windows, and collectText has
no attributes. They are now untraced. Their errors still fail the
runProcessCore span.
- applyAttachmentSideEffects wrote a span for every projected event and
then returned early. projectEventDeferred now skips the call when
there is no attachment cleanup.
- PortScanner now checks retainCount before the pollTick span starts,
so an idle server no longer writes a span every 3 s.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
0 commit comments