From f68d32b4eea702934d96377144be4f975d3fefc7 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 8 Sep 2024 07:48:47 +0200 Subject: [PATCH] remove GCStats.Pause initialization (#2189) It's too small anyway so the runtime has to reallocate it. --- irc/handlers.go | 1 - 1 file changed, 1 deletion(-) diff --git a/irc/handlers.go b/irc/handlers.go index 0f264a87..ecd23dbc 100644 --- a/irc/handlers.go +++ b/irc/handlers.go @@ -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)