← Writing

Perf

1 post

Profiling Below the Bytecode

Part 13 of a series on the CPython runtime: one slow program, five ways of looking at it. cProfile blames str.split, py-spy blames a list comprehension, perf finds the cycle collector taking 60% of the time and no Python …