You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a plugin to run the Python
line_profiler
from within the Python IDE Spyder.
The code is an adaptation of the profiler plugin integrated in Spyder.
Installation
To install this plugin, you can use either pip or conda package
managers, as follows:
Using conda (the recommended way!):
conda install spyder-line-profiler -c conda-forge
Using pip:
pip install spyder-line-profiler
Usage
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 be shown in a dockwidget, grouped by function. Lines with a
stronger color take more time to run.
Screenshot
Contributing
Everyone is welcome to contribute!
Sponsors
Spyder and its subprojects are funded thanks to the generous support of
and the donations we have received from our users around the world through Open Collective:
About
This is a plugin to run the python line profiler from within the spyder editor.