-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-96143: Improve perf profiler docs #96445
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
Conversation
erlend-aasland
commented
Aug 30, 2022
•
edited
Loading
edited
- Add What's New
- Rewrite NEWS entry to match What's New
- Document new sys APIs
- Fix formatting here and there
- Adjust wording a few places
- Issue: Allow the linux perf profiler to see Python calls #96143
Co-authored-by: Pablo Galindo Salgado <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Great work! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused by "compatibility mode" wording whereas the env var is called "perf support". I would prefer to say that -X perf enables support for the Linux perf tool.
"Enable" support or "Add" support, not sure which one makes more send. Technically, the option adds something ;-)
The PyConfig member, the env var and the -X option have 3 different names which also confuse me. Would it make sense to rename the -X option to -X perfsupport
to make it more consistent? If yes, I would suggest doing that in a separated PR.
The name "perf" is very generic and can mean many things. A newcomer might read it as: "use -X perf to get best performance" :-)
For me, "compatibility mode" sounds like "backward compatibility mode".
+1 I've tried to address your review comments in 9c72023, @vstinner. Are you ok with those changes?
+1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the edits!
When you're done making the requested changes, leave the comment: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ezio made many interesting comments. I will wait until they are addressed to review again the PR ;-)
Sorry for the delay. I finally got around to try to address the review. Please take a look at the changes. |
Co-authored-by: Ezio Melotti <[email protected]>
@erlend-aasland can you fix the conflicts and I will land this? Thanks! |
Will do! Thanks for the heads-up. I forgot about this PR :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the fixes! ❤️
I plan to land this this week as all the feedback has been addressed but I will give some time in case someone wants to request some further changes.