python profiling

It is apparantly as simple as

python -m cProfile <Source>

You will then get a CPU per Funcgtion call break down