Pyperf

Latest version: v2.9.0

Safety actively analyzes 714875 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 10

0.3

------------------------

* Add ``compare`` and ``compare_to`` commands to the ``-m perf`` CLI
* TextRunner is now able to spawn child processes, parse command arguments
and more features
* If TextRunner detects isolated CPUs, it sets automatically the CPU affinity
to these isolated CPUs
* Add ``--json-file`` command line option
* Add :meth:`TextRunner.bench_sample_func` method
* Add examples of the API to the documentation. Split also the documentation
into subpages.
* Add metadata ``cpu_affinity``
* Add :func:`perf.is_significant` function
* Move metadata from :class:`~perf.Benchmark` to ``RunResult``
* Rename the ``Results`` class to :class:`~perf.Benchmark`
* Add :attr:`~TextRunner.inner_loops` attribute to
:class:`TextRunner`, used for microbenchmarks when an
instruction is manually duplicated multiple times

0.2

------------------------

* use JSON to exchange results between processes
* new ``python3 -m perf`` CLI
* new :class:`TextRunner` class
* huge enhancement of the timeit module
* timeit has a better output format in verbose mode and now also supports a
``-vv`` (very verbose) mode. Minimum and maximum are not more shown in
verbose module, only in very verbose mode.
* metadata: add ``python_implementation`` and ``aslr``

0.1

------------------------

* First public release

Page 10 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.