Searched refs:fake_setup (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_timeit.py | 88 fake_setup = "import timeit; timeit._fake_timer.setup()" variable in TestTimeit 115 self.timeit(self.fake_stmt, self.fake_setup, number=0) 118 self.timeit(self.fake_stmt, self.fake_setup, number=3) 121 self.timeit(self.fake_callable_stmt, self.fake_setup, number=3) 137 delta_time = timeit.timeit(self.fake_stmt, self.fake_setup, number=0, 163 self.repeat(self.fake_stmt, self.fake_setup, repeat=0) 166 self.repeat(self.fake_stmt, self.fake_setup, number=0) 169 self.repeat(self.fake_stmt, self.fake_setup, repeat=3, number=5) 172 self.repeat(self.fake_callable_stmt, self.fake_setup, 190 delta_times = timeit.repeat(self.fake_stmt, self.fake_setup, repeat=0, [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_timeit.py | 91 fake_setup = "import timeit\ntimeit._fake_timer.setup()" variable in TestTimeit 119 self.timeit(self.fake_stmt, self.fake_setup, number=0) 122 self.timeit(self.fake_stmt, self.fake_setup, number=3) 125 self.timeit(self.fake_callable_stmt, self.fake_setup, number=3) 141 delta_time = timeit.timeit(self.fake_stmt, self.fake_setup, number=0, 178 self.repeat(self.fake_stmt, self.fake_setup, repeat=0) 181 self.repeat(self.fake_stmt, self.fake_setup, number=0) 184 self.repeat(self.fake_stmt, self.fake_setup, repeat=3, number=5) 187 self.repeat(self.fake_callable_stmt, self.fake_setup, 205 delta_times = timeit.repeat(self.fake_stmt, self.fake_setup, repeat=0, [all …]
|