Talk Python To Me cover image

#28: Making Python Fast: Profiling Python Code

Talk Python To Me

00:00

How to Make Your Python Code Faster and More Efficient

By default, it looks like it gives you basically the total time spent in methods. You can give it a sorting argument to see how many times each method is called. In a real program with many, many functions and so on, that can be pretty hard to understand,. So I was searching around more and I found PyCaulgraph which is amazing at showing you the flow over program. And it gives you great graph of representation of what C profile is also showing you. That's awesome.

Play episode from 15:43
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app