def bench3(): times = [] for i in range(25): before = time() for i in range(10000): simplex3(i, i, i) after = time() t = (after - before) / 10000 times.append(1 / t) return "simplex3", times
def bench3(): times = [] for i in range(25): before = time() for i in range(10000): simplex3(i, i, i) after = time() t = (after - before) / 10000 times.append(1/t) return "simplex3", times
def time_simplex3(i): simplex3(i, i, i)