From d290c723e09a66621a23cf9f3734560283ec0d57 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Mon, 30 Sep 2024 18:42:57 -0400 Subject: [PATCH] Preparing for release of 2.8.0 (#206) --- doc/changelog.rst | 16 ++++++++++++++++ doc/conf.py | 2 +- pyperf/__init__.py | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/doc/changelog.rst b/doc/changelog.rst index e8d73def..bc0e8af8 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -1,6 +1,22 @@ Changelog ========= +* Benchmarks now have a timeout. + Patch by Diego Russo. +* The example code in bench_time_func.py uses the more modern `time.perf_counter()`. + Patch by Hajime Senuma. +* pystats are now correctly collected in subprocesses. + Patch by Michael Droettboom. +* pyperf now supports "hooks" to add custom functionality around each benchmarking call. + pystats are no longer collected automatically, and you must pass `--hook pystats`. + Patch by Michael Droettboom. +* Memory units are now correctly stated in KiB and MiB. + Patch by Ungve Mardal Moe. +* max_mem_rss is now correctly measured on macOS. + Patch by Michael Droettboom. +* `pyperf system tune` now works correctly on aarch64. + Patch by Diego Russo. + Version 2.7.0 (2024-05-18) --------------------------- diff --git a/doc/conf.py b/doc/conf.py index 7ddbd5f2..ba73aeaa 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -50,7 +50,7 @@ # built documents. # # The short X.Y version. -version = release = '2.7.0' +version = release = '2.8.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/pyperf/__init__.py b/pyperf/__init__.py index f3a5d139..7b1cd355 100644 --- a/pyperf/__init__.py +++ b/pyperf/__init__.py @@ -1,6 +1,6 @@ from time import perf_counter -VERSION = (2, 7, 0) +VERSION = (2, 8, 0) __version__ = '.'.join(map(str, VERSION)) # Export pyperf.perf_counter for backward compatibility with pyperf 1.7