Skip to content
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

cmd/go: add pprof subcommand #46087

Open
josharian opened this issue May 10, 2021 · 1 comment
Open

cmd/go: add pprof subcommand #46087

josharian opened this issue May 10, 2021 · 1 comment
Labels
FeatureRequest GoCommand cmd/go NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone

Comments

@josharian
Copy link
Contributor

pprof is an important part of the Go programmer's toolbox. Perhaps we should promote it to a direct subcommand of cmd/go, rather than via go tool. This would also let us provide a nicer help message and nicer flags for the most common and difficult to remember pprof command line flags, such as -sample_index=inuse_objects. The full pprof experience would still be available at go tool pprof, for scripts and muscle memory.

@ALTree ALTree added the NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. label May 10, 2021
@andig
Copy link
Contributor

andig commented May 12, 2021

I've just started to use pprof again for a project, 2nd time in one year. The experience was bad, but less due to go tool, more due to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FeatureRequest GoCommand cmd/go NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Projects
None yet
Development

No branches or pull requests

4 participants