Home
last modified time | relevance | path

Searched refs:autorange (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Lib/test/
Dtest_timeit.py366 def autorange(self, seconds_per_increment=1/1024, callback=None): member in TestTimeit
369 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)
/third_party/python/Lib/
Dtimeit.py210 def autorange(self, callback=None): member in Timer
326 number, _ = t.autorange(callback)
/third_party/python/Doc/library/
Dtimeit.rst110 method. The :meth:`.repeat` and :meth:`.autorange` methods are convenience
144 .. method:: Timer.autorange(callback=None)
/third_party/python/Misc/NEWS.d/
D3.6.0a4.rst249 Add autorange method to timeit.Timer objects.
D3.7.0a1.rst4200 timeit autorange now uses a single loop iteration if the benchmark takes
/third_party/python/Doc/whatsnew/
D3.6.rst1537 The new :meth:`Timer.autorange() <timeit.Timer.autorange>` convenience