Talk Python To Me cover image

#28: Making Python Fast: Profiling Python Code

Talk Python To Me

How to Make Your Python Code Faster and More Efficient

2min Snip

00:00
Play full episode
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.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode