
How should structural code tools be benchmarked against grep and file reads?
We are designing an evaluation for a structural code-access layer used by coding agents.
The three configurations are:
- Native shell, grep, read and edit tools.
- Native tools plus optional structural queries.
- Automatically routed structural transactions with native fallback.
We believe the benchmark needs to measure more than task completion:
- Pass rate.
- End-to-end wall-clock time.
- Input and output tokens.
- Tool-call count.
- Bytes returned to the model.
- Repository exploration before the first edit.
- Repeated retrieval of the same context.
- Unexpected files and entities changed.
- Validation and retry count.
- Cold versus warm index performance.
- Unsupported-language fallback correctness.
One lesson so far is that measuring index-query latency alone is misleading. A 7 ms query does not guarantee a faster session if the model performs additional calls or ignores the result.
Our implementation is Sem:
https://github.com/Ataraxy-Labs/sem
What controls or failure cases would you require before accepting claims of token or session-speed improvement?