Skip to content

Instantly share code, notes, and snippets.

View bpross's full-sized avatar

Benjamin Ross bpross

  • Moov
  • Boulder, CO
View GitHub Profile
@bpross
bpross / gist.md
Last active May 13, 2026 17:06
gograph vs gopls — navigation benchmark (latency + token cost)

gograph vs gopls — Navigation Benchmark

Benchmarked against a production Go microservice (payment processing domain): ~6,156 .go files, 17 packages, Apple M-series.
8 timed runs + 1 warmup per query. gopls daemon assumed warm.

Symbol names are anonymized but represent five categories deliberately chosen to stress different tool behaviors:

Alias Category Description
SymA Low-fan-in business logic Pure function with 2 call sites, no interface dispatch. Straightforward case where both tools should agree.