oft: add --profile command line option

This produces a Python profile of the testcases. The resulting profile.out file
can be read with the pstats module, RunSnake, or pyprof2calltree.
1 file changed