cmd/gmigrate: Tool to show number of times G migrates to another M (OS thread)
This tool analyzes `go tool trace -d` output and take notices on ProcStart and GoStart events to track G->P->M relation to check how often a G changes M. Unfortunately it seems to be a frequent event and changing M probably means changing CPU and thus loosing CPU caches.
Showing
cmd/gmigrate/gmigrate.go
0 → 100644
Please register or sign in to comment