Pyperf

Latest version: v2.7.0

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

Scan your dependencies

Page 3 of 9

2.0.0

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

* Drop Python 2 support. Use pyperf 1.7.1 if you still need Python 2.7
support.
* Remove ``python_unicode`` metadata.
* pyperf.perf_counter() is now deprecated: use time.perf_counter() directly.

1.7.1

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

* Support Python 3.8: ``time.clock()`` no longer exists.

1.7.0

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

* metadata: add ``python_compiler``
* Windows: inherit ``SystemDrive`` environment variable by default.
Contribution by Steve Dower.
* Fix tests on ARM and PPC: cpu_model_name metadata is no longer required
on Linux.
* tests: Do not allow test suite to execute without unittest2 on Python2,
otherwise man failures occur due to missing 'assertRegex'.
Contribution by John Vandenberg.
* doc: Update old/dead links.
* Travis CI: drop Python 3.4 support.

1.6.1

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

The project name changes to "pyperf" from "perf", to avoid confusion
with the `Linux perf project <https://perf.wiki.kernel.org/>`_ which has
a Python binding called "perf" as well.

1.6.0

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

* Add *teardown* optional parameter to :class:`Runner.timeit` and ``--teardown``
option to the :ref:`perf timeit <timeit_cmd>` command. Patch by **Alex
Khomchenko**.
* ``Runner.timeit(stmt)`` can now be used to use the statement as the benchmark
name.
* Port :ref:`system tune <system_cmd>` command to Python 2 (use
lseek+read/write instead of pread/pwrite which aren't available on Python 2).
Patch by **Stefan Talpalaru**.
* :ref:`perf collect_metadata <collect_metadata_cmd>` now also supports reading
CPU frequencies on IBM Z.

1.5.1

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

* Fix ``--track-memory`` option of the ``Runner.bench_command()`` command.

Page 3 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.