mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
gh-96143: Add some comments and minor fixes missed in the original PR (#96433)
* gh-96132: Add some comments and minor fixes missed in the original PR * Update Doc/using/cmdline.rst Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
This commit is contained in:
parent
45fd3685aa
commit
f49dd54b72
4 changed files with 17 additions and 1 deletions
|
|
@ -155,6 +155,9 @@ active since the start of the Python interpreter, you can use the `-Xperf` optio
|
|||
|
||||
$ python -Xperf my_script.py
|
||||
|
||||
You can also set the :envvar:`PYTHONPERFSUPPORT` to a nonzero value to actiavate perf
|
||||
profiling mode globally.
|
||||
|
||||
There is also support for dynamically activating and deactivating the perf
|
||||
profiling mode by using the APIs in the :mod:`sys` module:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue