Python Performance Benchmark Suite http://pyperformance.readthedocs.io/
Find a file
Michael Droettboom bb8495cfd1
Add a YAML-parsing benchmark (#342)
* Add a YAML-parsing benchmark

* Fix description

* Update pyperformance/data-files/benchmarks/bm_yaml/run_benchmark.py

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>

---------

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-12-17 17:24:10 -05:00
.github Bump actions/checkout from 5 to 6 in the actions group (#441) 2025-12-01 09:05:08 +02:00
doc Add option for rigorous in benchmark.conf.sample (#446) 2025-12-08 15:27:40 +00:00
examples/benchmarking-scripts Add example scripts to run pyperformance on a generic host (#436) 2025-11-11 14:48:12 +00:00
pyperformance Add a YAML-parsing benchmark (#342) 2025-12-17 17:24:10 -05:00
.gitignore Add coverage benchmark (#213) 2022-06-06 12:29:40 -07:00
.pre-commit-config.yaml Add ruff format to pre-commit, run it, except the benchmarks (#410) 2025-09-22 12:29:41 +03:00
.readthedocs.yaml ReadTheDocs: use latest Ubuntu and Python 2025-08-09 11:21:44 +02:00
AUTHORS Add support for native libraries that are installed but not on path (#50) 2019-04-16 21:15:00 -07:00
benchmarks Support user-defined benchmark suites. (#109) 2021-12-08 11:37:08 -07:00
BENCHMARKS_FORMAT.md Add A Doc Page about Custom Benchmarks (#179) 2022-03-30 17:26:11 -06:00
COPYING Create the new Python benchmarks project 2016-08-18 02:16:56 +02:00
dev.py Add ruff format to pre-commit, run it, except the benchmarks (#410) 2025-09-22 12:29:41 +03:00
MANIFEST.in gh-294: Vendor lib2to3 (gh-302) 2023-06-12 16:22:39 +09:00
pyproject.toml Bump mypy from 1.18.2 to 1.19.0 (#442) 2025-12-01 10:37:48 +02:00
README.rst Fix README image 2021-03-24 17:56:14 +01:00
requirements.in Use tomllib/tomli over toml (#284) 2023-05-01 14:38:51 +01:00
requirements.txt Only run dependabot on the "main" requirements.txt (#296) 2023-06-01 11:01:07 +03:00
runtests.py Add ruff format to pre-commit, run it, except the benchmarks (#410) 2025-09-22 12:29:41 +03:00
TODO.rst Remove spambayes benchmark 2019-12-17 22:32:27 +01:00
tox.ini Update configuration files for tox and make (#352) 2024-09-05 12:12:28 -07:00

##########################
The Python Benchmark Suite
##########################

.. image:: https://img.shields.io/pypi/v/pyperformance.svg
   :alt: Latest pyperformance release on the Python Cheeseshop (PyPI)
   :target: https://pypi.python.org/pypi/pyperformance

.. image:: https://github.com/python/pyperformance/actions/workflows/main.yml/badge.svg
   :alt: Build status of pyperformance on GitHub Actions
   :target: https://github.com/python/pyperformance/actions

The ``pyperformance`` project is intended to be an authoritative source of
benchmarks for all Python implementations. The focus is on real-world
benchmarks, rather than synthetic benchmarks, using whole applications when
possible.

* `pyperformance documentation <http://pyperformance.readthedocs.io/>`_
* `pyperformance GitHub project <https://github.com/python/pyperformance>`_
  (source code, issues)
* `Download pyperformance on PyPI <https://pypi.python.org/pypi/pyperformance>`_

pyperformance is not tuned for PyPy yet: use the `PyPy benchmarks project
<https://foss.heptapod.net/pypy/benchmarks>`_ instead to measure PyPy
performances.

pyperformance is distributed under the MIT license.