cthulhu/test/harness/runprofiler.py

7 lines
144 B
Python
Raw Normal View History

try:
import cProfile as myprofiler
except:
import profile as myprofiler
import orca.orca
myprofiler.run('orca.orca.main()', 'orcaprof')