Profiling

1 articles

Where does the time go? Profiling gocloak with pprof

CPU and heap profiles from gocloak benchmarks with go tool pprof: why encoding/json v1 reads its input twice, why resty's body limit causes two thirds of all allocated bytes, and how a too small connection pool shifts TLS handshake CPU onto the Keycloak side.

go pprof profiling performance