about summary refs log tree commit diff stats
path: root/html/lambda-to-mu.mu.html
Commit message (Expand)AuthorAgeFilesLines
* 3764 - better colors for cross-linksKartik K. Agaram2017-03-081-3/+4
* 3761Kartik K. Agaram2017-03-071-171/+172
* 3725Kartik K. Agaram2016-12-271-131/+131
* 3716Kartik K. Agaram2016-12-261-0/+2
* 3713 - cross-link calls with definitions in htmlKartik K. Agaram2016-12-261-52/+52
* 3710Kartik K. Agaram2016-12-261-590/+590
* 3709 - line numbers in htmlKartik K. Agaram2016-12-261-594/+618
* 3688Kartik K. Agaram2016-11-251-2/+8
* 3681Kartik K. Agaram2016-11-221-18/+18
* 3667Kartik K. Agaram2016-11-111-11/+11
* 3569Kartik K. Agaram2016-10-231-266/+266
* 3568Kartik K. Agaram2016-10-231-8/+8
* 3561Kartik K. Agaram2016-10-221-2/+2
* 3558Kartik K. Agaram2016-10-221-1/+1
* 3543Kartik K. Agaram2016-10-221-3/+3
* 3491Kartik K. Agaram2016-10-091-60/+60
* 3431Kartik K. Agaram2016-09-301-9/+9
* 3401Kartik K. Agaram2016-09-181-0/+624
* 3355Kartik K. Agaram2016-09-151-623/+0
* 3174Kartik K. Agaram2016-08-121-0/+18
* 3158Kartik K. Agaram2016-07-271-0/+605
neral Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. """Run all the tests inside the test/ directory as a test suite.""" if __name__ == '__main__': from re import compile from test import * from time import time from types import FunctionType as function from sys import argv bms = [] try: n = int(argv[1]) except IndexError: n = 10 if len(argv) > 2: args = [compile(re) for re in argv[2:]] def allow(name): for re in args: if re.search(name): return True else: return False else: allow = lambda name: True for key, val in vars().copy().items(): if key.startswith('bm_'): bms.extend(v for k,v in vars(val).items() if type(v) == type) for bmclass in bms: for attrname in vars(bmclass): if not attrname.startswith('bm_'): continue bmobj = bmclass() t1 = time() method = getattr(bmobj, attrname) methodname = "{0}.{1}".format(bmobj.__class__.__name__, method.__name__) if allow(methodname): try: method(n) except: print("{0} failed!".format(methodname)) raise else: t2 = time() print("{0:60}: {1:10}s".format(methodname, t2 - t1))