#Profiling
2 posts
8 min read
Modern Python Advanced #7 Performance — cProfile, py-spy, Memory Profiling
A toolbox for finding and fixing slow Python code — timeit, cProfile, py-spy, line_profiler, memray, and common optimization patterns.
5 min read
Go Advanced #6 Profiling — pprof and benchmark
Measuring CPU, memory, and goroutine profiles with go test -bench and pprof. Addressing performance with measurement instead of guesswork.