Talk Python To Me cover image

#28: Making Python Fast: Profiling Python Code

Talk Python To Me

00:00

The Differences Between C Profile and Profile

C profile is much slower and it is a much higher latency and as overhead, I mean, than C profile because it has to do a lot of different worker. It will print out to standard out your profile for you when it's done. All you need to do is just give it your main Python file and it'll run it. And then at the end of the running, it'll give you the profile. Yeah. One of my favorite things about C profile is that you can call it using, you know, the Python dash M syntax, the call of module syntax. So if you're using regular profile, I'd recommend, well, if you're use it in C Python

Play episode from 13:41
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