code: public function format(): string
      {
          foreach ($this->times as $unit => $value) {
              if ($this->time >= $value) {
                  $time = floor($this->time / $value * 100) / 100;
                  return "{$time} {$unit}";
              }
          }
  
          return round($this->time * 1000) . " ms";
      }
docs: Formats the elapsed time as a string.
  
  @return string