def average_items_per_ms(self):
        if self.total_item_count == 0:
            return None
        else:
            # Use the exponential moving average so that we can adapt to
            # changes in how long the update process takes.
            return float(self.avg_item_count) / float(self.avg_duration_ms)
An estimate of how long it takes to do a single update.
dataset/ETHPy150Open matrix-org/synapse/synapse/storage/background_updates.py/BackgroundUpdatePerformance.average_items_per_ms