Repository navigation
perf(streaming): add build-private subscription phase diagnostics - #237
Merged
Conversation
Owner
Author
|
TODO: compile diagnostics out of normal SDK builds |
MisterVVP
marked this pull request as ready for review
September 2, 2026 10:11
MisterVVP
merged commit Sep 2, 2026
4e670b0
into
dev-optimize-streaming-response-latencies
19 checks passed
MisterVVP
deleted the
dev-investigate-and-optimize-subscription-completion-path
branch
September 2, 2026 10:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
The HTTP+JSON and JSON-RPC subscription paths now achieve very low first-event latency, but high-concurrency terminal/completion throughput still needs phase-level attribution.
Add internal profiling diagnostics that can be enabled for optimized performance investigations without exposing diagnostics through the public SDK or shipping the instrumentation in normal builds.
Changes
A2A_ENABLE_SUBSCRIPTION_DIAGNOSTICS, OFF by default.A2A_SUBSCRIPTION_DIAGNOSTICS=1as the runtime collection switch inside an instrumentation-enabled build.