Recommended procedure for profiling python scripts

Assuming we want to profile myscript.py, run:

In order to view it, I strongly recommend runsnakerun:

You can install runsnake on Ubuntu using

 


Check out similar posts by category: Python