docs: def timing(self, stat, delta, rate=1):
          """
          Send new timing information.
  
          `delta` can be either a number of milliseconds or a timedelta.
          """
          if isinstance(delta, timedelta):
              # Convert timedelta to number of milliseconds.
              delta = delta.total_seconds() * 1000.
          self._send_stat(stat, '%0.6f|ms' % delta, rate)