I'm using python -m cProfile -s calls myscript.py
python -m cProfile -s percall myscript.py
does not work.
The Python documentation says "Look in the Stats documentation for valid sort values.": http://docs.python.org/library/profile.html#module-cProfile, which I cannot find.