Skip to content

[Feature]: Add benchmark decomposition for REST and JSON-RPC paths #85

Closed

Description

@MisterVVP

Benchmark signal

Current full-path transport benchmarks show useful timings, but they mix routing, parsing, task lifecycle, protobuf conversion, and response serialization.

Task

Split high-level transport benchmarks into component benchmarks.

Scope

Add or improve benchmarks for:

  • JSON-RPC envelope parse only
  • JSON-RPC envelope serialize only
  • protobuf-to-JSON only for each response shape
  • REST query parser only
  • REST response builder only
  • task-store projection only
  • task lifecycle only without serialization

Success criteria

  • Each high-level hotspot has at least one lower-level benchmark explaining where time is spent.
  • Roadmap optimization tasks can be tracked against component benchmarks, not only end-to-end transport benchmarks.
  • CI summary remains readable.

Activity

  1. converted this from a draft issue on May 29, 2026
  2. added
    enhancement
    on May 29, 2026
  3. changed the title [-][Perf]: Add benchmark decomposition for REST and JSON-RPC paths[/-] [+][Feature]: Add benchmark decomposition for REST and JSON-RPC paths[/+] on May 29, 2026
  4. added
    performance
    on Jun 18, 2026
  5. self-assigned this
    on Aug 9, 2026
  6. moved this from Todo to In Progress in a2a-cpp SDK Roadmapon Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementperformance

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions