Mercurial > lcfOS
view python/grind.py @ 258:04c19282a5aa
Added register allocator
author | Windel Bouwman |
---|---|
date | Mon, 05 Aug 2013 19:46:11 +0200 |
parents | 66912720d712 |
children | 444b9df2ed99 |
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')