@property
    def total_rps(self):
        if not self.stats.last_request_timestamp or not self.stats.start_time:
            return 0.0

        return self.num_requests / max(self.stats.start_time - self.stats.last_request_timestamp, 1)
dataset/ETHPy150Open locustio/locust/locust/stats.py/StatsEntry.total_rps/swapped operands of `-`