Repository navigation
Complete wire streaming performance metrics - #148
Merged
MisterVVP merged 1 commit intoJul 14, 2026
Conversation
9 tasks
MisterVVP
marked this pull request as draft
July 14, 2026 07:15
MisterVVP
commented
Jul 14, 2026
Owner
Author
|
@codex review this PR |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
MisterVVP
marked this pull request as ready for review
July 14, 2026 11:28
MisterVVP
merged commit Jul 14, 2026
c29f4f2
into
dev-add-sse-streaming-support-to-clients
16 checks passed
MisterVVP
deleted the
dev-complete-wire-level-streaming-performance-coverage
branch
July 14, 2026 11:28
MisterVVP
added a commit
that referenced
this pull request
Jul 19, 2026
### Motivation - Enable full wire-level streaming performance coverage for `SendStreamingMessage_FiniteStream` and `SubscribeToTask_FirstEventLatency` across gRPC, HTTP+JSON and JSON-RPC and capture wire-level streaming metrics (event counts, first-event latency, completion latency). ### Description - Record streaming metrics by extending `ScenarioResult` with `event_count`, `first_event_latencies`, and `completion_latencies`, and add an `OperationOutcome` return type for streaming-aware operations in `RunMeasuredScenario` (`tests/performance/a2a_performance_driver.h`). - Collect first-event and completion timestamps in the wire observer and return those values from `ExecuteWireStreaming` and `ExecuteWireSubscribeFirstEvent` (`tests/performance/a2a_wire_performance_driver.cpp`). - Emit streaming metrics into JSON report objects and add first-event / stream-completion latency columns to generated CSV output (`tests/performance/a2a_performance_common.cpp`, `scripts/performance_runner.py`). - Update performance runner tests to assert streaming rows include `event_count`, `first_event_latency_ms`, and `stream_completion_latency_ms` and CSV headers (`tests/scripts/performance_runner_test.py`). - Add a small helper to simplify a JSON-RPC streaming unit test and reduce cognitive complexity for `clang-tidy` (`tests/unit/json_rpc_transport_test.cpp`). - Update documentation to reflect that finite streaming and first-event subscription are covered on all wire transports and that streaming rows record event counts and latency histograms (`docs/performance-testing.md`).
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
SendStreamingMessage_FiniteStreamandSubscribeToTask_FirstEventLatencyacross gRPC, HTTP+JSON and JSON-RPC and capture wire-level streaming metrics (event counts, first-event latency, completion latency).Description
ScenarioResultwithevent_count,first_event_latencies, andcompletion_latencies, and add anOperationOutcomereturn type for streaming-aware operations inRunMeasuredScenario(tests/performance/a2a_performance_driver.h).ExecuteWireStreamingandExecuteWireSubscribeFirstEvent(tests/performance/a2a_wire_performance_driver.cpp).tests/performance/a2a_performance_common.cpp,scripts/performance_runner.py).event_count,first_event_latency_ms, andstream_completion_latency_msand CSV headers (tests/scripts/performance_runner_test.py).clang-tidy(tests/unit/json_rpc_transport_test.cpp).docs/performance-testing.md).