static perf(measurement, title) {
    const text = `${this.pad(`[${measurement.name}]`)} ${measurement.duration}ms`;
    // @ts-ignore
    this._logHistory.push(`-    perf -${printTitle(title)} ${text}`);
    if (this.allMuted || !this.perfEnabled) {
      return;
    }
    log(colors.fgGray, `   perf${printTitle(title)}`, colors.reset, text);
  }
@param {PerformanceMeasure} measurement
@param {string} [title]