[6a665a]: runProfile.py Maximize Restore History

Download this file

runProfile.py    7 lines (6 with data), 242 Bytes

1
2
3
4
5
6
import cProfile,subprocess
from scrolltest import Compressor
#from recipsample import Compressor
command ="""Compressor()"""
cProfile.runctx(command,globals(),locals(),filename="profile.txt")
subprocess.check_call(['runsnake','profile.txt'])