remove GCStats.Pause initialization (#2189)

It's too small anyway so the runtime has to reallocate it.
This commit is contained in:
Shivaram Lingamneni
2024-09-08 07:48:47 +02:00
committed by GitHub
parent 796bc198ed
commit f68d32b4ee
-1
View File
@@ -855,7 +855,6 @@ func debugHandler(server *Server, client *Client, msg ircmsg.Message, rb *Respon
switch param {
case "GCSTATS":
stats := debug.GCStats{
Pause: make([]time.Duration, 10),
PauseQuantiles: make([]time.Duration, 5),
}
debug.ReadGCStats(&stats)