Menu

#Culprit

1 post

Feed
1 of 1 post
Why Your Go Microservice Spends 40% of CPU on runtime.mallocgc
🖼️
0Read More

Why Your Go Microservice Spends 40% of CPU on runtime.mallocgc

DEV Community·Gabriel Anhaia·6 months ago
#HqDkdXIi
#culprit#go#performance#benchmark#string

When pprof shows mallocgc and scanobject at the top of your Go service, three usual culprits explain it. Here is how to read the profile and fix each one.

15s