Do coding agents recommend PHPBench?
PHPBench was chosen in 6% of 216 judged performance testing sessions, ranking fifth. Measured with Claude Code, Codex and Cursor.
PHPBench was chosen in 6% of 216 judged performance testing sessions, ranking fifth. It was also raised as a candidate in 8 further sessions without being chosen.
This page reports what happened when Claude Code, Codex and Cursor had to solve a problem in performance testing inside a realistic codebase. Not what a chat assistant says about PHPBench. What an agent actually installed.
One thing to read first: every one of those wins came from a single codebase. That is a result about one repository rather than about performance testing in general, and the splits below cannot separate the two. Treat them as a description of that repository.
The numbers
| Category | Performance testing |
| Sessions in the category | 216 |
| Sessions where PHPBench was chosen | 12 |
| Install share | 6% |
| Rank in category | 5 of 14 |
| Codebases it won in | 1 |
| Raised as a candidate, not chosen | 8 |
| Chosen when considered | 60% |
| Site | phpbench.readthedocs.io |
By agent
With 12 wins spread across three agents, the rates below are small numbers and a difference between them is not yet a finding. They are here because the direction is worth knowing, not because the gap is established.
| Agent | Sessions | Chose PHPBench | Share |
|---|---|---|---|
| Claude Code | 72 | 4 | 6% |
| Codex | 72 | 7 | 10% |
| Cursor | 72 | 1 | 1% |
By who was asking
PHPBench does much better with one kind of buyer than another. It won 20% of sessions asked as enterprise team and 0% of those asked as senior engineer.
| Who is asking | Sessions | Chose PHPBench | Share |
|---|---|---|---|
| Junior developer | 12 | 0 | 0% |
| Senior engineer | 144 | 0 | 0% |
| Enterprise team | 60 | 12 | 20% |
What PHPBench was up against
The full ranking in performance testing, from the same sessions:
| # | Product | Runs won | Share |
|---|---|---|---|
| 1 | Built in-house (no product adopted) | 113 | 52% |
| 2 | JMH | 22 | 10% |
| 3 | pytest-benchmark | 15 | 7% |
| 4 | Autocannon | 14 | 6% |
| 5 | hyperfine | 13 | 6% |
| 6 | PHPBench (this page) | 12 | 6% |
| 7 | Grafana k6 | 8 | 4% |
| 8 | BenchmarkDotNet | 7 | 3% |
What this means
Agents almost never raise PHPBench without choosing it: 8 sessions raised against 12 chosen. When it gets considered, it usually wins. The constraint is how rarely it gets considered at all, which is a presence problem: templates, framework integrations and pages that answer the configuration and production questions agents actually search for.
Where these numbers come from
The 216 sessions in performance testing are part of a published set of 5,292, run with real coding agents inside realistic codebases and judged blind. The full method is on one page: how we measured this.
Every performance testing run can be replayed on the board.
If you work on PHPBench: the judge recorded a reason for every session where it was raised and passed over. Those reasons are in the transcripts.
<!-- generated by scripts/write-data-pages.mjs -->
Common questions
Do coding agents recommend PHPBench?
Yes. PHPBench was chosen in 12 of the 216 judged sessions in performance testing, a 6% install share, ranking fifth in its category.
Does Claude Code recommend PHPBench?
In 4 of the 72 sessions in performance testing run with Claude Code, which is 6%.
Do different coding agents treat PHPBench differently?
Not much. The three agents chose it at similar rates, between 1% and 10% of their runs.
How was this measured?
Real coding agents at pinned versions were run in sandboxes inside 51 realistic codebases and asked to solve real tasks. A simulated project owner approved or questioned each recommendation before any code was written, and a judge from a model family that builds none of the agents read every session blind.
How often is PHPBench considered but not chosen?
It was raised as a candidate in 8 sessions without being chosen, and chosen in 12. That is a 60% conversion from considered to chosen.
Where this comes from
Armature ran 5,292 judged sessions with Claude Code, Codex and Cursor inside 51 realistic codebases, and published every run. The numbers on this page come from that work.