Skip to content

runtime/debug: provide channel statistics #5611

@MichaelTJones

Description

@MichaelTJones
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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions