From 68c5b06b4d544bbbb0bd75a25d27885002fa3775 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Mon, 16 Nov 2026 21:26:22 +0000 Subject: [PATCH] Fix formatting for specializer statistics section --- doc/run_benchmark.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/run_benchmark.rst b/doc/run_benchmark.rst index 84083712..0e98e4e4 100644 --- a/doc/run_benchmark.rst +++ b/doc/run_benchmark.rst @@ -189,7 +189,7 @@ values. Specializer statistics (``pystats``) ==================================== -``pyperf`` has built-in support for `specializer statistics (``pystats``) `_. +``pyperf`` has built-in support for `specializer statistics (pystats) `_. If running benchmarks on a CPython built with the ``--enable-pystats`` flag, when you pass ``--hook pystats``, pyperf will collect ``pystats`` on the benchmark code by calling ``sys._stats_on`` immediately before the benchmark and calling ``sys._stats_off`` immediately after. Stats are not collected when running ``pyperf``'s own code or when warming up or calibrating the benchmarks.