Home | History | Annotate | Download | only in python2.7

Lines Matching refs:timeit

12     python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [--] [statement]
61 # Must be an older Python version (see timeit() below)
66 dummy_src_name = "<timeit-src>"
114 timeit() method. The repeat() method is a convenience to call
115 timeit() multiple times and return a list of results.
158 t.timeit(...) # or t.repeat(...)
178 def timeit(self, number=default_number):
202 """Call timeit() a few times.
204 This is a convenience function that calls the timeit()
206 specifies how many times to call timeit(), defaulting to 3;
223 t = self.timeit(number)
227 def timeit(stmt="pass", setup="pass", timer=default_timer,
229 """Convenience function to create Timer object and call timeit method."""
230 return Timer(stmt, setup, timer).timeit(number)
300 x = t.timeit(number)