8000 bpo-46072: Document --enable-stats option. by markshannon · Pull Request #30139 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-46072: Document --enable-stats option. #30139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 16, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Fix formatting
  • Loading branch information
markshannon committed Dec 16, 2021
commit e294b0f5fc67098e5b04614e6abff5ae1513291f
2 changes: 1 addition & 1 deletion Doc/using/configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ General Options
Turn on internal statistics gathering.
Copy link
Member

Choose a reason for hiding this comment

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

Would you mind to give a more more details? In the issue, you wrote: "Currently various parts of the VM gather stats: the GC, dicts, the bytecode interpreter, type lookup cache, etc.".

Copy link
Member Author

Choose a reason for hiding this comment

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

I'd rather not because, as it says, they are internal. We may well add or remove stats when we need them and this documentation will end up being a pain to maintain or just wrong.


The statistics will be dumped to a arbitrary (probably unique) file in
``/tmp/py_stats/`, or `C:\temp\py_stats\` on Windows.
``/tmp/py_stats/``, or ``C:\temp\py_stats\`` on Windows.

Use ``Tools//summarize_stats.py`` to read the stats.

Expand Down
0