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
7 changes: 7 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
=========

Version 2.11.0 (2026-XX-XX)
---------------------------

* 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.

Version 2.10.0 (2026-02-07)
---------------------------

Expand Down
4 changes: 4 additions & 0 deletions doc/runner.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ Option::
--timeout TIMEOUT
--track-memory
--tracemalloc
--in-process

* ``--python=PYTHON``: Python executable. By default, use the running Python
(``sys.executable``). The Python executable must have the ``pyperf`` module
Expand Down Expand Up @@ -155,6 +156,9 @@ Option::
``/proc/self/smaps``. On Windows, get ``PeakPagefileUsage`` of
``GetProcessMemoryInfo()`` (of the current process): the peak value of the
Commit Charge during the lifetime of this process.
* ``--in-process``: run the benchmark in the current process instead of a child process.
This is useful when you cannot spawn child processes, such as on WASM environments.
Note that this makes each run affect the next run, as the benchmark is executed in the same process.


Internal usage only
Expand Down
Loading