To profile a python program, I could use
python -m cProfile -s cumtime myprog.py
Most results from cProfile do not help, looking like