annotate python/grind.py @ 280:02385f62f250
Rework from str interface to Instruction interface
author |
Windel Bouwman |
date |
Sat, 02 Nov 2013 10:03:26 +0100 |
parents |
444b9df2ed99 |
children |
|
rev |
line source |
245
|
1
|
|
2 import cProfile
|
|
3 import unittest
|
|
4 import pstats
|
|
5
|
|
6 if __name__ == '__main__':
|
|
7 suite = unittest.TestLoader().discover('.')
|
|
8 def runtests():
|
|
9 unittest.TextTestRunner().run(suite)
|
261
|
10 #s = cProfile.run('runtests()',sort='cumtime')
|
|
11 s = cProfile.run('runtests()',sort='tottime')
|
245
|
12
|