Measures CPU time (instead of wall time) and designed specially for greenlets. Can help you to find CPU heavy parts of your code and improve responsiveness of your gevent-based application.
from gprof import GProfiler
p = GProfiler()
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.