cthulhu/test/harness/runprofiler.py

7 lines
159 B
Python
Raw Permalink Normal View History

try:
import cProfile as myprofiler
except:
import profile as myprofiler
import cthulhu.cthulhu
myprofiler.run('cthulhu.cthulhu.main()', 'cthulhuprof')