Profiling and optimizing your Python code | Python tricks

Опубликовано: 16 Март 2025
на канале: Sebastiaan Mathôt
72,030
2.4k

(For more, visit https://pythontutorials.eu !) In this video, I show how you can profile Python code using the cProfile module, and how you can use this information to optimize your code, resulting (sometimes) in massive performance improvements.

The Jupyter notebook is available from https://osf.io/upav8/