python

python/pyperformance

Python MIT Dev Tools

Python Performance Benchmark Suite

1k stars
204 forks
recent
GitHub

1k

Stars

204

Forks

71

Open issues

30

Contributors

1.14.0 07 Feb 2026

AI Analysis

pyperformance is an official Python benchmark suite maintained by the Python project, providing real-world performance measurements across Python implementations. It focuses on whole-application benchmarks rather than synthetic tests, serving as the authoritative source for CPython performance tracking. This tool is essential for Python core developers, performance engineers, and CPython maintainers; it is not suited for PyPy benchmarking, which has its own dedicated benchmark suite.

Dev Tools Testing Tool Discovery value: 3/10
Documentation 8/10
Activity 9/10
Community 7/10
Code quality 7/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 8/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

performance-benchmarking cpython real-world-benchmarks measurement-suite python-ecosystem
Actively maintained Well documented MIT licensed Niche/specialized use case Production ready
Deep Analysis · Based on README and public signals
5d ago

Official Python benchmark suite for performance measurement across implementations

pyperformance is the authoritative benchmark collection maintained by the Python core team, designed to measure real-world performance across CPython, PyPy, and other Python implementations. It focuses on whole-application benchmarks rather than synthetic microbenchmarks. Adoption appears concentrated among Python core developers, language implementers, and performance-conscious infrastructure teams, rather than general application developers.

Origin

Created in 2016 as a centralized benchmark repository for the Python ecosystem. It emerged from the need for standardized, implementation-agnostic performance measurement tools. The project is maintained under the official Python organization on GitHub, lending it authority and longevity.

Growth

Growth has been gradual and linear rather than explosive. Star acquisition has plateaued (0 new stars in last 7 days), suggesting stable but not accelerating adoption. The project appears to serve a stable, narrow audience: those explicitly responsible for Python language or runtime performance. Recent activity (last push 2026-07-01) confirms continued maintenance, but growth signals are modest.

In production

Adoption not formally verified in README. However, the official Python organization stewardship and positioning as 'authoritative source of benchmarks' suggests use by Python core developers and CPython performance teams. The fact that PyPy maintains separate benchmarks (noted in README) indicates pyperformance is specifically CPython-focused and may be used by CPython maintainers. Concrete evidence of enterprise or third-party adoption is absent from available metadata.

Code analysis
Architecture

Based on README, pyperformance appears to be a collection of benchmark scenarios and measurement harness. It likely includes utilities for running, collecting, and analyzing performance data across multiple Python implementations. Specific implementation details cannot be verified from README alone.

Tests

not documented in README

Maintenance

Repository shows active maintenance as of July 1, 2026 (5 days before evaluation date). GitHub Actions CI is operational. However, modest commit frequency and zero stars gained in the past week suggest low velocity rather than rapid development. Activity is consistent with a project in stable maintenance mode rather than active feature development.

Honest verdict

ADOPT IF: you are a Python core contributor, language implementer, or infrastructure engineer responsible for tracking CPython performance across versions and commits. AVOID IF: you need cross-implementation benchmarking (PyPy benchmarks are separate) or general-purpose microbenchmarking integrated with pytest. MONITOR IF: you are building Python language tooling and want alignment with official performance baselines, or if adoption beyond core teams increases.

Independent dimensions

Mainstream potential

3/10

Technical importance

7/10

Adoption evidence

3/10

Risks
  • Fragmentation: PyPy and other implementations maintain separate benchmarks, reducing value as a unified standard
  • Narrow audience: Adoption appears limited to Python core team and specialist performance engineers; limited mainstream developer mindshare
  • Maintenance burden: Real-world benchmarks require ongoing curation to remain representative; README does not document governance for benchmark acceptance
  • Competition: pytest-benchmark has higher adoption and broader ecosystem integration, may be preferred by teams not specifically aligned with CPython
  • Documentation gaps: README does not detail how to contribute benchmarks, governance model, or performance targets
Prediction

pyperformance will likely remain a stable, niche tool used primarily by CPython maintainers and language implementers for performance tracking. Adoption outside core Python teams appears unlikely to accelerate significantly without broader marketing or integration with popular testing frameworks.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

Python
84.3%
HTML
14.1%
Shell
1.6%

Information

Language
Python
License
MIT
Last updated
1w ago
Created
120mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Similar repos

ionelmc

ionelmc/pytest-benchmark

pytest-benchmark is a pytest fixture that enables benchmarking of Python code...

1.4k Python
pytorch

pytorch/benchmark

TorchBench is a standardized collection of open-source benchmarks for...

1k Python AI & ML
pypy

pypy/pypy

PyPy is a fast, production-grade Python interpreter implemented in Python (via...

1.8k Python Dev Tools
phpbench

phpbench/phpbench

PHPBench is a performance benchmarking framework for PHP, analogous to PHPUnit...

benfred

benfred/py-spy

py-spy is a sampling profiler for Python programs written in Rust that enables...

15.3k Rust Dev Tools
vs. alternatives
pytest-benchmark

More stars (1,439 vs 1,020) and broader ecosystem integration. pytest-benchmark is general-purpose and developer-friendly; pyperformance is authoritative but narrower in scope, focused on standard workloads rather than arbitrary code profiling.

PyPy benchmarks

PyPy maintains its own separate benchmark suite (noted in README). pyperformance explicitly states it is 'not tuned for PyPy yet', creating a fragmented benchmark landscape across Python implementations rather than unified measurement.

py-spy

Profiler and sampling tool (15,313 stars) vs benchmark suite. Different use case: py-spy is for investigating existing code; pyperformance is for structured performance regression testing.

pytorch/benchmark

Domain-specific benchmarks for machine learning (1,039 stars). Similar adoption scale but serves a specialized vertical rather than general Python performance measurement.