@property
    def avg_response_time(self):
        try:
            return float(self.total_response_time) / self.num_requests
        except ZeroDivisionError:
            return 0
dataset/ETHPy150Open locustio/locust/locust/stats.py/StatsEntry.avg_response_time/original