Mercurial > lcfOS
view python/grind.py @ 279:2ccd57b1d78c
Fix register allocator to do burn2 OK
author | Windel Bouwman |
---|---|
date | Sat, 12 Oct 2013 09:56:23 +0200 |
parents | 444b9df2ed99 |
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')