class_docstr: A running estimate of performance (operations/sec) using adjusted exponential moving average
  :param alpha: Smoothing factor in range [0, 1], [default: 0.1].
code: def __repr__(self):
      return f"{self.__class__.__name__}(ema={self.samples_per_second:.5f}, num_updates={self.num_updates})"
  
file_path: hivemind/hivemind/utils/performance_ema.py
imports: import time
  from contextlib import contextmanager
  from threading import Lock
  from typing import Optional
label_desc: Use image node_id 5 for calling the PerformanceEMA obj's underlying member method code with example usage: obj.__repr__() and returns: self, str, self, str, self, str