Sponsor:

Your company here — click to reach over 10,000 unique daily visitors

Package pyinstrument

Python profiler with colorful output

https://github.com/joerick/pyinstrument

This package provides a line profiler similar to cProfile, but based on
statistical sampling instead, and with a nicer and more colorful output:
    pyinstrument script.py

Version: 4.6.2

General Commands

pyinstrument pyinstrument 4.6.2