Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,32 @@
Changelog
=========

Version 2.11.0 (2026-XX-XX)
Version 2.11.0 (2026-11-08)
---------------------------

* Feature: Add ``--in-process`` option to run benchmarks in the current process.
This is useful when you cannot spawn child processes, such as on WASM environments.
Patch by Gyeongjae Choi.
* Feature: Add a new ``tachyon`` hook to profile benchmarks with the Tachyon
sampling profiler of Python 3.15 (``--hook tachyon``).
Patch by Maurycy Pietrzak.
Comment thread
vstinner marked this conversation as resolved.
Resolved

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Patch by Maurycy Pietrzak.
Patch by Maurycy Pawłowski-Wieroński.

* Feature: Hooks can now be registered from code with the new ``hooks``
parameter of :class:`Runner`.
Patch by Sergey Miryanov.
* Feature: Add :meth:`Runner.is_worker` to guard code which processes
benchmark results in the main process.
Patch by joo00der.
* Feature: Add ``cpu_quota`` metadata: the Linux cgroup CPU bandwidth limit of
the process (ex: ``docker run --cpus=2``).
Patch by Manu Nicholas Jacob.
* Bugfix: Allow a ``mem_max_rss`` metadata value of zero.
Patch by Samartha.
* Bugfix: ``psutil`` is now optional on the Emscripten platform.
Patch by Gyeongjae Choi.
* Optimization: ``format_number()`` and ``_common_metadata()`` are faster.
Patch by Deban Kumar Sahu.
* Maintenance: ``pyperf`` now requires Python 3.11 or higher.
Patch by Hugo van Kemenade.

Version 2.10.0 (2026-02-07)
---------------------------
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
# built documents.
#
# The short X.Y version.
version = release = '2.10.0'
version = release = '2.11.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion pyperf/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from time import perf_counter

VERSION = (2, 10, 0)
VERSION = (2, 11, 0)
__version__ = '.'.join(map(str, VERSION))

# Export pyperf.perf_counter for backward compatibility with pyperf 1.7
Expand Down
Loading