update
This commit is contained in:
parent
01f89c9256
commit
bb5da0421d
|
@ -102,6 +102,7 @@ class BenchMark:
|
|||
|
||||
|
||||
class SpeedBenchMark(BenchMark):
|
||||
"""A simple class used to benchmark the running time of a callable."""
|
||||
def _measure(self, func, number=3, repeat=1):
|
||||
self._buffer["measure_kwargs"]["number"] = number
|
||||
self._buffer["measure_kwargs"]["repeat"] = repeat
|
||||
|
|
Loading…
Reference in New Issue