def get_timeit(self, setup): return min(timeit.Timer( 'for n in range(64, 10000): _sample_n_k(n, 64)', setup=setup). repeat(repeat=10, number=1))