@@ -28,8 +28,8 @@ relationship between this piece of code and the associated Python function using
2828.. note ::
2929
3030 Support for profiling is available on Linux and macOS on select architectures.
31- `` perf `` is available on Linux, while `` samply `` can be used on both Linux and macOS.
32- `` samply `` support on macOS is available starting from Python 3.14.
31+ Perf is available on Linux, while samply can be used on both Linux and macOS.
32+ samply support on macOS is available starting from Python 3.14.
3333 Check the output of the ``configure `` build step or
3434 check the output of ``python -m sysconfig | grep HAVE_PERF_TRAMPOLINE ``
3535 to see if your system is supported.
@@ -149,25 +149,25 @@ Instead, if we run the same experiment with ``perf`` support enabled we get:
149149
150150
151151
152- Using `` samply `` profiler
152+ Using the samply profiler
153153-------------------------
154154
155- `` samply `` is a modern profiler that can be used as an alternative to `` perf `` .
155+ samply is a modern profiler that can be used as an alternative to perf.
156156It uses the same perf map files that Python generates, making it compatible
157- with Python's profiling support. `` samply `` is particularly useful on macOS
158- where `` perf `` is not available.
157+ with Python's profiling support. samply is particularly useful on macOS
158+ where perf is not available.
159159
160- To use `` samply `` with Python, first install it following the instructions at
160+ To use samply with Python, first install it following the instructions at
161161https://github.com/mstange/samply, then run::
162162
163163 $ samply record PYTHONPERFSUPPORT=1 python my_script.py
164164
165165This will open a web interface where you can analyze the profiling data
166- interactively. The advantage of `` samply `` is that it provides a modern
166+ interactively. The advantage of samply is that it provides a modern
167167web-based interface for analyzing profiling data and works on both Linux
168168and macOS.
169169
170- On macOS, `` samply `` support requires Python 3.14 or later.
170+ On macOS, samply support requires Python 3.14 or later.
171171
172172How to enable ``perf `` profiling support
173173----------------------------------------
0 commit comments