The Python Papers

The Python Papers

Profiling Your Code in Python

Mike Driscoll's avatar
Mike Driscoll
Mar 13, 2023
∙ Paid
9
Share

Code is never perfect. You will find that when you write a lot of code, you will often need to go back to improve it. For example, let's say you create a web app and it becomes popular a few months after launch. Now that it's popular and handling a lot more requests, the app is running much slower under load.

How do you figure out what is making the web …

Keep reading with a 7-day free trial

Subscribe to The Python Papers to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Mike Driscoll
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture