@property
    def time_per_iteration(self):
        if not self.avg:
            return 0.0
        return sum(self.avg) / float(len(self.avg))
dataset/ETHPy150Open pallets/click/click/_termui_impl.py/ProgressBar.time_per_iteration/original