nakabonne / gosivy

Real-time visualization tool for Go process metrics
MIT License
472 stars 14 forks source link

Reuse connections instead of creating each time #6

Closed nakabonne closed 3 years ago

nakabonne commented 3 years ago

We'd better re-use one TCPConn again and again. https://github.com/nakabonne/gosivy/blob/97c565dc08809171a215b299aac397842dbe1519/diagnoser/diagnoser.go#L61-L64