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
runtime: diagnostics improvements tracking issue #57175
Comments
2022-12-07 SyncAttendees: @mknyszek @aclements @prattmic @felixge @nsrip-dd @rhysh Notes:
|
I'll miss the Dec 22nd meetup because I'm traveling for the holidays. That being said, if I find time I might also look into #57159 . Getting a proof of concept for Perfetto UI integration (ideally using their protocol buffer format) is probably more important than the gentraceback refactoring at this point. I just tried to work with a 300 MB (15s of prod activity) yesterday, and it was a real eye opener to the way the current UI struggles. |
I don't know if it's relevant (probably nothing new for the folks on this thread), but I had similar problems with the |
would the pprof labels also show up in goroutine traces? |
I'm working on a PoC that improves native stack unwinding on Windows by adding additional information to the PE file. This will help debugging with WinDbg and profiling with Windows Performance Analyzer. Would this work fit into the effort tracked by this issue? |
@thediveo I think that might be a good question for #56295, or you could file another issue. Off the top of my head, that doesn't sound like it would be too difficult to do. @qmuntal Oh neat! That's awesome. I think it's a little tangential to the work we're proposing here, unless you also plan to do anything with the runtime's unwinder (i.e. |
I still have to prepare the proposal, I plan to submit it next week.
Not for now, but once I finish this I want to investigate how feasible is too unwind native code and merge it with the Go unwinding, in case the exception happens in a non-Go module. |
I do now #57302 |
Change https://go.dev/cl/459095 mentions this issue: |
2022-12-22 SyncAttendees: @mknyszek @aclements @prattmic @bboreham @rhysh @dominikh
|
2022-01-05 SyncAttendees: @aclements @felixge @nsrip-dd @rhysh @bboreham vnedkov @dashpole
|
2022-01-19 Sync
|
As the Go user base grows, more and more Go developers are seeking to understand the performance of their programs and reduce resource costs. However, they are locked into the relatively limited diagnostic tools we provide today. Some teams build their own tools, but right now that requires a large investment. This issue extends to the Go team as well, where we often put significant effort into ad-hoc performance tooling to analyze the performance of Go itself.
This issue is a tracking issue for improving the state of Go runtime diagnostics and its tooling, focusing primarily on
runtime/trace
traces and heap analysis tooling.To do this work, we the Go team are collaborating with @felixge and @nsrip-dd and with input from others in the Go community. We currently have a virtual sync every 2 weeks (starting 2022-12-07), Thursdays at 11 AM NYC time. Please ping me at
mknyszek -- at -- golang.org
for an invite if you're interested in attending. This issue will be updated regularly with meeting notes from those meetings.Below is what we currently plan to work on and explore, organized by broader effort and roughly prioritized. Note that this almost certainly will change as work progresses and more may be added. (TODO(mknyszek): Expand on this.)
Runtime tracing
Tracing usability
Tracing performance
gentraceback
refactoring (runtime: rewrite gentraceback as an iterator API #54466) (CC @felixge, @aclements)Heap analysis (see #57447)
viewcore
's internal core file libraries (gocore
andcore
) to work with Go at tip.gocore
andcore
are well-tested, and tested at tip.gocore
andcore
externally-visible APIs, allowing Go developers to build on top of it.CC @aclements @prattmic @felixge @nsrip-dd @rhysh @dominikh
The text was updated successfully, but these errors were encountered: