Skip to content

Commit

Permalink
remove GCStats.Pause initialization
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 committed Aug 20, 2024
1 parent 796bc19 commit a46c7ae
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 a46c7ae

Please sign in to comment.