Skip to content

Commit

Permalink
remove GCStats.Pause initialization (#2189)
Browse files Browse the repository at this point in the history
It's too small anyway so the runtime has to reallocate it.
  • Loading branch information
slingamn authored Sep 8, 2024
1 parent 796bc19 commit f68d32b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion irc/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f68d32b

Please sign in to comment.