ProtoMap benchmarks: Claude Code on 9 gRPC repos - HoundDog.ai

ProtoMap benchmarks · Token savings

13× fewer tokens, 7.7× faster answers for Claude Code with ProtoMap

We asked Claude Code 20 questions engineers ask every day in gRPC and Protobuf codebases, on nine repositories in seven languages with 2,380 gRPC services, with and without the ProtoMap MCP server, twice each, with Opus 5.5 at high effort. Answers were graded by code against an answer key that does not come from ProtoMap. October 28, 2026.

Token savings, speed, cost, and accuracy

Faster, per prompt 7.7× geometric mean; 96m 55s → 10m 42s across all prompts

Cheaper, per prompt 6.4× geometric mean; $50.69 → $5.13 across all prompts

Fewer tokens, per prompt 13× 80.5M → 3.4M across all prompts

Accuracy 100% with ProtoMap, against 98% without; 0 baseline runs hit the 45-minute limit

Side by side

The same prompt, live

Two live Claude Code sessions (Opus 5.5, high effort) given Q09 at the same moment, recorded on one screen: ProtoMap's answers in 50 seconds for $0.40, the baseline's in 6 minutes for $14.44. Sped up where marked.

Want the full story? Watch the live ProtoMap demo at MozFest.

Every prompt, with and without ProtoMap

The median of 2 runs per prompt (their mean), on a log scale. Time is the whole session's wall-clock time; cost and tokens are what Claude Code reports at API prices.

Measure Time to Answer Cost Tokens
Claude Code
Claude Code + ProtoMap
Query Speedup
Services in a repo 0s
Most-connected services 0s
Dependents of a service 0s
Callers of a gRPC method 0s
Field blast radius 0s
Changing a request field 0s
Response field source 0s
Two-hop field lineage 0s
Removing a method 0s
Downstream dependencies 0s
Service outage impact 0s
Shortest call chain 0s
Callers outside handlers 0s
Service API docs 0s
Dead gRPC methods 0s
Personal data flow 0s
Uses of a response field 0s
What a handler calls 0s
Cross-domain calls 0s
Proto change impact 0s

Accuracy

100% with ProtoMap, 98% without

Each answer scores the share of the facts it must state, such as every calling service, that it names. The facts come from the fixtures' oracles and were checked by hand where ProtoMap and the oracle disagreed; the agents could not read the oracles, which were moved out of the workspace. Mean of 2 runs.

Prompt Baseline ProtoMap Facts graded
Q01 · list services 100% 100% 110
Q02 · most connected 80% 100% top 10
Q03 · service dependents 100% 100% 16
Q04 · rpc callers 96% 100% 14
Q05 · field blast radius 100% 100% 12
Q06 · request field change 100% 100% 17
Q07 · response provenance 100% 100% 4
Q08 · two hop lineage 100% 100% 5
Q09 · remove rpc 100% 100% 17
Q10 · outbound dependencies 96% 100% 12
Q11 · transitive impact 100% 100% 18
Q12 · call chain 100% 100% 4
Q13 · non handler callers 100% 100% 25
Q14 · api docs 100% 100% 21
Q15 · dead rpcs 100% 100% 4 dead of 9
Q16 · pii flow 96% 100% 12
Q17 · response consumers 100% 100% 8
Q18 · handler fanout 100% 100% 6
Q19 · domain dependencies 100% 100% 43
Q20 · proto change repos 100% 100% 6

The prompts

20 questions, as given

  1. Q01 Quickstart: List all the gRPC services implemented in the Swift repo (protomap-test-swift).
  2. Q02 Quickstart: Show the 10 most connected gRPC services across all our repos.
  3. Q03 Quickstart: Which services depend on acme.loyalty.v1.LoyaltyMemberQueryService?
  4. Q04 Quickstart: Which services call acme.customers.v1.CustomerService/ListCustomers?
  5. Q05 Quickstart: What is the blast radius of changing acme.ledger.v1.LedgerAccount.currency_code?
  6. Q06 Cross-service: We're replacing the customer field of acme.customers.v1.UpdateCustomerRequest.
  7. Q07 Cross-service: Where does the cart in the response of acme.cart.v1.CartCalculationService/SimulateCart come from?
  8. Q08 Cross-service: Trace the payout field of acme.payments.v1.SchedulePayoutExpiryRequest two hops downstream.
  9. Q09 Cross-service: Find every place in every repo that calls acme.documents.v1.DocumentQueryService/ResolveDocuments.
  10. Q10 Cross-service: What does acme.payments.v1.PaymentCalculationService depend on?
  11. Q11 Cross-service: If acme.pricing.v1.PriceListQueryService goes down, which services are affected?
  12. Q12 Cross-service: Can a request to acme.ticketing.v1.TicketTransferWorkflowService end up calling acme.ledger.v1.LedgerAccountValidationService?
  13. Q13 Cross-service: Which code outside of gRPC handlers calls the ledger services?
  14. Q14 Cross-service: Write API reference docs for acme.giftcards.v1.GiftCardService.
  15. Q15 Cross-service: Which RPCs of acme.checkout.v1.CheckoutSessionService are never called?
  16. Q16 Cross-service: For a privacy review: which services' code actually reads a patient's national ID?
  17. Q17 Cross-service: If acme.customers.v1.CustomerCalculationService/ExplainCustomerCalculation stops returning the result field of its response, which callers would be affected?
  18. Q18 Cross-service: What does the handler of acme.shipping.v1.ShipmentCalculationService/CalculateShipment call downstream?
  19. Q19 Cross-service: Which other domains does the checkout domain call into?
  20. Q20 Cross-service: Which repos call or implement subscriptions services?

The codebase

Nine repositories, 5 million lines

Acme's nine repositories consist of 4,990,417 lines, including service code, protobuf files, and generated Go bindings. Their code moves through patterns that are hard to follow statically.

Repository Language Lines (tracked) Services Calls Field flows Index time
protomap-test-csharp C# 400,958 340 7,653 27,397 5 s
protomap-test-golang Go 2,590,754 480 6,923 37,747 9 s
protomap-test-java Java 590,063 400 6,027 32,215 4 s
protomap-test-javascript JavaScript 166,210 180 2,567 13,730 3 s
protomap-test-kotlin Kotlin 235,041 190 4,420 15,542 2 s
protomap-test-python Python 298,060 240 3,726 19,177 5 s
protomap-test-rust Rust 242,115 150 1,996 10,883 2 s
protomap-test-swift Swift 152,493 110 1,974 9,690 2 s
protomap-test-typescript TypeScript 314,723 290 4,226 22,873 4 s

How it was run

The same agent, tools, and prompt, with and without ProtoMap

Each run is a fresh claude -p session in ~/protomap-test, with identical read-only tools for both arms. The results are based on median values from the runs.