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

Comments

@josharian
Copy link
Contributor

@josharian josharian commented May 10, 2021

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.

@andig
Copy link
Contributor

@andig 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants