Effective PyCharm Transcripts
Chapter: Performance and profiling
Lecture: Performance and profiling
0:02 We've written our code, we've debugged it.
0:04 It's working great, but it's a little bit slow.
0:08 We imagine that that web application that were built was going to be ultra fast.
0:13 Everyone would be so impressed. They just click around and it's like lightning.
0:17 In fact it's like a second or two per page and it's just dragging on in
0:21 super slow, disappointed. Right, wow.
0:25 How do you fix it? We asked the question,
0:27 where are you spending your time?
0:29 What part is slow? What part is fast?
0:32 Instead of just guessing we'll be able to laser focus in on the part of our
0:37 application. That's actually the bottleneck once you find the problem.
0:41 Well, it's up to you, is your programming skills to maybe use different algorithms or data structures to make it fast
0:47 But to start to know where to apply your time and energy and make changes
0:51 You need to know where it's slow.
0:53 And so we're going to use the profiling tools in PyCharm to laser focus in
0:58 exactly where our program is slow and make it faster by understanding just the few lines what we need to change.