Method
__init__
(self, loops, repeat, best, worst, all_runs, compile_time, precision)
Source from the content-addressed store, hash-verified
| 77 | |
| 78 | """ |
| 79 | def __init__(self, loops, repeat, best, worst, all_runs, compile_time, precision): |
| 80 | self.loops = loops |
| 81 | self.repeat = repeat |
| 82 | self.best = best |
| 83 | self.worst = worst |
| 84 | self.all_runs = all_runs |
| 85 | self.compile_time = compile_time |
| 86 | self._precision = precision |
| 87 | self.timings = [ dt / self.loops for dt in all_runs] |
| 88 | |
| 89 | @property |
| 90 | def average(self): |
Tested by
no test coverage detected