A simple way to profile py3status Supports the following if installed cProfile pprofile vmprof Optional dependency psutil Example usage python performance.py --python=python --profiler=pprofile -o ./cachegrind.out.test For more details see python performance.py --help