This gedit plugin uses the cProfile module from the Python standard library and displays the statistics in the bottom panel. Two modes are available:
* Profile modules or applications in a separate process. A specified Python expression is executed in the context of the specified Python file.
* Activate the Python profiler in gedit to profile active Python plugins.

For gedit 2 use version 0.3, for gedit 3.0 to 3.6 use version 1.0.1 and for gedit 3.8 and 3.10 use version 2.0.

This project is part of Gedit BC Developer Plugins: https://launchpad.net/~gedit-bc-dev-plugins
The PPA there contains the packages for Ubuntu.
For Ubuntu 16.04 and above the plugins in the PPA don't work with gedit from the offizial Ubuntu archive. Remove all gedit packages and install gedit310 (and gedit310-plugins) from the PPA.