Software Performance

  1. A flame graph showing the performance of different parts of a Python program.

    Finding Python performance problems

    When a Python program is running too slowly, use a profiler to measure which parts of the code are hurting performance the most. Measure Code Performance with cProfile Start by writing a decorator …