-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
proposal: runtime: add total lifetime # of goroutines created #9165
Labels
Milestone
Comments
How did you find it? I assume with a CPU profiler. If so I do not see a reason to add separate goroutine counter. First, if the goroutine creation does not show up in the CPU profile, then it is not a problem; otherwise it's discoverable with CPU profiler. Second, we can't add counters for all operations in runtime; CPU and memory profilers are generic tools that uncover all issues of such kind. |
I've retitled this as a proposal, for what it is, to reignite the conversation and perhaps get a decision. |
Any Googlers able to get in touch with the original poster, as his input to @dvyukov's response might help drive the convo more. |
I agree with @dvyukov's comment. Ordinary CPU profiling should show this, and is what people are going to reach for before printing a little-known runtime counter. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by dtmoore@google.com:
The text was updated successfully, but these errors were encountered: