code: function tableDimensions(metrics) {
    const pointPad = UNIT.length + 2;
    let name = 6;
    let point = 5;
  
    for (let i = 0; i < metrics.length; i++) {
      const metric = metrics[i];
      name = Math.max(name, metric.label.length + 2);
      point = Math.max(
        point,
        numDigits(metric.avg) + pointPad,
        numDigits(metric.min) + pointPad,
        numDigits(metric.max) + pointPad
      );
    }
  
    return {
      name,
      avg: point,
      min: point,
      max: point,
    };
  }
docs: Calculates table cell dimensions.
  
  @param {@link FunctionMetrics[]} metrics
  
  @returns {Dimensions}