Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / python
Commits: ac040f09 by Jelle van der Waa at 2024-11-29T09:05:33+01:00 README: document benchmarking Python - - - - - 1 changed file: - README.md Changes: ===================================== README.md ===================================== @@ -1,5 +1,16 @@ # python +## Benchmarking + +The Python interperter can be benchmarked using the [python-pyperformance] package. Note that this tool creates virtualenv's to run the benchmarks in so all packages +have to be available for the Python version under test on PyPi. To run these benchmarks: + +```bash +pyperformance run -o baseline.json +pyperformance run -o new.json +pyperformance compare -O table baseline.json new.json +``` + ## Bootstrapping new Python interpreter version When a new Python interpreter version (e.g. a minor version update) is released, all dependent packages must be rebuild against it. @@ -69,6 +80,7 @@ Once all dependent packages have been rebuilt with tests enabled, all packages a [python-flit-core]: https://gitlab.archlinux.org/archlinux/packaging/packages/python-flit-core/ [python-installer]: https://gitlab.archlinux.org/archlinux/packaging/packages/python-installer/ [python-packaging]: https://gitlab.archlinux.org/archlinux/packaging/packages/python-packaging/ +[python-pyperformance]: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyperformance/ [python-pyproject-hooks]: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyproject-hooks/ [python-setuptools]: https://gitlab.archlinux.org/archlinux/packaging/packages/python-setuptools/ [python-wheel]: https://gitlab.archlinux.org/archlinux/packaging/packages/python-wheel/ View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python/-/commit/ac040f0928a679001b31ae2a5864a46ec5090e69 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python/-/commit/ac040f0928a679001b31ae2a5864a46ec5090e69 You're receiving this email because of your account on gitlab.archlinux.org.