Skip to the content.

Performance profiling

Measure the performance of your code with different methods.

Nice visualization with snakeviz module.

python -m cProfile -o program.prof my_program.py
snakeviz program.prof