Ross ROSS = Recommend OSS · open-source software intelligence for agents

ionelmc/pytest-benchmark

pytest fixture for benchmarking code observed · 2026-08-28

github.com/ionelmc/pytest-benchmark · Python · BSD-2-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

88/100

  • Activity 99
  • Release rhythm 67
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4345
  • days_rel: 9
  • days_push: 10
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1447 stars · 136 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A pytest plugin that provides a benchmark fixture for measuring code performance within tests. It automatically calibrates test rounds to the chosen timer and integrates tightly with pytest's fixture system.

Use cases

  • benchmark python functions in pytest tests
  • track performance regressions across test runs
  • measure execution time of code snippets
  • compare performance of different implementations
  • store and compare benchmark results between commits
  • add microbenchmarks to existing test suite

When to choose

  • you already use pytest and want benchmarks as part of your test suite
  • you need calibrated, statistically sound timing rounds
  • you want to save, compare, and histogram benchmark results over time

When to avoid

  • you need standalone benchmarking outside pytest (use timeit or pyperf)
  • you benchmark GPU or highly concurrent workloads needing specialized harnesses
  • your project does not use pytest

Facets

plugin · maturity stable

benchmarking testing testing performance developer-tools python cli cross-platform pytest-plugin pytest-fixture performance-measurement microbenchmarking

2 sources

Member repositories

RepositoryRoleHealth v2
ionelmc/pytest-benchmarkmain88

For agents

markdown · JSON · MCP: product_card(name="ionelmc/pytest-benchmark")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem