pyperf
pyperf copied to clipboard
Toolkit to run Python benchmarks
I'm learting Python and made some tests. I downloaded and unzipped pypy to a folder. I can't find the proper way to use pyperf with pypy. Can I get the...
Using the default settings, pyperf aims to run 20 worker processes for ~600ms each. Or for implementations that are noted as having jits, 6 processes for 1600ms each. Is there...
Closes #123.
While this wouldn't be useful for absolute timing (benchmarking), it's sometimes handy to generate a profile from a benchmark to understand where the time is being spent. It's currently possible...
Outputs such as "0% slower" or "1% faster" are unnecessarily vague. Is "1%" 0.5% or 1.5%?
Python is popular, even on resource-constrained devices. Energy is important. A nice-to-have feature would be a `pyperf` option that, if enabled, measures energy consumption instead of execution time. The only...
`pyperf` has different warmup policies for JIT and non-JIT implementations, and for instance -- if a new python implementation is under development for some research purpose: it introduces JIT and...
When running from a virtual environment shell on Windows 10 (2004): `pipenv run python speed_test.py` I got this warning: `WARNING: unable to increase process priority` for each process and one...
I am trying to bench some data structures with a large number of items in each structure. I would like to have a single `setup` that is called once (and...
Based on https://github.com/psf/pyperf/issues/22: Example: ``` py -m pyperf compare_to ..\cpython\floatbench.json ..\multiply\floatbench.json --table --win_percentage +----------------+----------------------------+-----------------------------------------------+ | Benchmark | ..\cpython\floatbench.json | ..\multiply\floatbench.json | +================+============================+===============================================+ | int: x*x | 28.5 ns | 27.7...