Add a @profile decorator to the functions that you wish to profile then Shift+F10 (line profiler default) to run the profiler on the current script, or go to Run > Run line profiler. The results will ...