view python/grind.py @ 261:444b9df2ed99

try to split up code generation
author Windel Bouwman
date Fri, 09 Aug 2013 09:05:13 +0200
parents 66912720d712
children
line wrap: on
line source


import cProfile
import unittest
import pstats

if __name__ == '__main__':
    suite = unittest.TestLoader().discover('.')
    def runtests():
        unittest.TextTestRunner().run(suite)
    #s = cProfile.run('runtests()',sort='cumtime')
    s = cProfile.run('runtests()',sort='tottime')