proposal: runtime/pprof: add SetMaxDumpGoroutine to limit the number of goroutines dumped in a profile · Issue #50794 · golang/go

We are using pprof for online profiling and we found goroutine dumping may take too much time when there are many goroutines. In this case, it will take ~300ms when there are 100k goroutines on my ...