From the experiment

Do coding agents recommend pytest-benchmark?

pytest-benchmark took 4% of the choices in 441 judged performance testing sessions, ranking fifth.

Published November 24, 2026 Read as Markdown

pytest-benchmark took 4% of the choices in 441 judged performance testing sessions, ranking fifth. It was also raised as a candidate in 36 further sessions without being chosen.

This page reports what happened when Claude Code, Codex, Cursor, Grok Build CLI and Muse Code had to solve a problem in performance testing inside a realistic codebase. Not what a chat assistant says about pytest-benchmark. 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

CategoryPerformance testing
Sessions in the category441
Sessions where pytest-benchmark was chosen24
Share of the choices4%
Rank in category5 of 10
Codebases it won in1
Raised as a candidate, not chosen36
Chosen when considered40%
Sitepytest-benchmark.readthedocs.io

By agent

Claude Code, Codex, Cursor and Muse Code land within 11 points of each other on pytest-benchmark, which is closer than most products in this experiment manage. Grok Build CLI ran fewer than 30 sessions here, too few to compare.

AgentSessionsChose pytest-benchmarkShare
Claude Code9976%
Codex14460%
Cursor90611%
Grok Build CLI1816%
Muse Code9044%

By who was asking

pytest-benchmark performs similarly across the four kinds of buyer, from 0% to 7%. That is unusual: the category leader changed with the persona in 22 of the 31 categories we measured.

Who is askingSessionsChose pytest-benchmarkShare
Junior developer2500%
Senior engineer295247%
Enterprise team12100%

What pytest-benchmark was up against

The full ranking in performance testing, from the same sessions:

#ProductRuns wonShare
1Built in-house (no product adopted)25152%
2JMH3713%
3Grafana k63211%
4Autocannon235%
5PHPBench205%
6pytest-benchmark (this page)244%
7Benchstat84%
8BenchmarkDotNet104%

What this means

pytest-benchmark was raised in 36 sessions and chosen in 24. That ratio is balanced enough that the ceiling is presence rather than integration: the product converts reasonably when it is on the table, and it is not on the table often enough.

Where these numbers come from

The 441 sessions in performance testing are part of a published set of 19,501, 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 pytest-benchmark: 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 pytest-benchmark?

Yes. pytest-benchmark was chosen in 24 of the 441 judged sessions in performance testing and took 4% of the choices, ranking fifth in its category.

Does Claude Code recommend pytest-benchmark?

In 7 of the 99 sessions in performance testing run with Claude Code, 6% of its choices.

Do different coding agents treat pytest-benchmark differently?

Yes, and by a wide margin. Cursor gave it 11% of its choices and Codex 0%.

How was this measured?

Real coding agents at pinned versions were run in sandboxes inside 110 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 pytest-benchmark considered but not chosen?

It was raised as a candidate in 36 sessions without being chosen, and chosen in 24. That is a 40% conversion from considered to chosen.

Where this comes from

Armature ran 19,501 judged sessions with Claude Code, Codex, Cursor, Grok Build CLI and Muse Code inside 110 realistic codebases, and published every run. The numbers on this page come from that work.

Read next

All library pages