Searched refs:autorange (Results 1 – 6 of 6) sorted by relevance
366 def autorange(self, seconds_per_increment=1/1024, callback=None): member in TestTimeit369 return t.autorange(callback)372 num_loops, time_taken = self.autorange()377 num_loops, time_taken = self.autorange(seconds_per_increment=1.0)385 num_loops, time_taken = self.autorange(callback=callback)
210 def autorange(self, callback=None): member in Timer326 number, _ = t.autorange(callback)
110 method. The :meth:`.repeat` and :meth:`.autorange` methods are convenience144 .. method:: Timer.autorange(callback=None)
249 Add autorange method to timeit.Timer objects.
4200 timeit autorange now uses a single loop iteration if the benchmark takes
1537 The new :meth:`Timer.autorange() <timeit.Timer.autorange>` convenience