Profiling in Python

Basic tools that help find bottlenecks in your application

Anna Astori
Towards Data Science
4 min readMay 6, 2021

--

Photo by Possessed Photography on Unsplash

When experimenting with a project, it can be helpful (or simply fun!) to try and see which parts of the code are, for example, the most memory-consuming. If those places in the code pose a problem, it’s worth figuring out how they can be improved. Sometimes, all that’s needed is a couple of tweaks to shave off some time here and…

--

--

Software Engineer. Ex-Decathlon, ex-Amazon (Alexa AI). I’m also a big figure skating fan and a foodie.