Mercurial > lcfOS
view python/grind.py @ 251:6ed3d3a82a63
Added another c3 example. First import attempt
author | Windel Bouwman |
---|---|
date | Mon, 29 Jul 2013 20:23:13 +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')