Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime/debug: provide channel statistics #5611
I just now happened to want to know how many channel sends a certain Go program made. This class of statistic would interesting for a Go runtime environment variable, akin to GC tracing, to gather and report on program exit. "N send, N receive, ..." Maybe K blocked or Z goroutines spawned, Z' still alive.