def run(self, meth, args=(), kwargs={}, argiterator=None):
        res = FunctionTimerResult(_form_name(meth, args, kwargs))
        if argiterator:
            iterator = itertools.cycle(argiterator)
        else:
            iterator = itertools.repeat(args)
        start = now()
        try:
            _next = iterator.__next__
        except __HOLE__:
            _next = iterator.next
        for i in range(self._iter):
            args = _next()
            rv = meth(*args, **kwargs)
        end = now()
        res.runtime = ((end - start)/self._iter) - self._overhead
        res.overhead = self._overhead
        res.returnvalue = rv
        return res
dataset/ETHPy150Open kdart/pycopia/core/pycopia/benchmarks.py/FunctionTimer.run