diff --git a/doc/changelog.rst b/doc/changelog.rst index e8d73de..bc0e8af 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 7ddbd5f..ba73aea 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 f3a5d13..7b1cd35 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