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

ionelmc/pytest-benchmark

pytest fixture for benchmarking code observed · 2026-10-17

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

Health v2 · maintenance only

82/100

  • Activity 91
  • Release rhythm 60
  • Longevity 100
How is this computed?

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

  • gap_med: n/a
  • age_days: 4393
  • days_rel: 57
  • days_push: 58
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1457 stars · 138 forks observed · 2026-10-17

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-benchmarkmain82

For agents

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

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem