def METHOD_NAME(metrics: list[Metric]) -> None:
    click.echo("Server Timing Info", err=True)
    term_width = shutil.get_terminal_size((80, 20)).columns
    use_width = term_width - 4
    items = sorted(
        (
            (f"{m.description or m.name}={m.duration}", m.duration)
            for m in metrics
            if m.duration is not None
        ),
        key=lambda x: x[1],
    )
    last = items[-1]
    factor = last[1]
    desc_width = (max(len(x[0]) for x in items) if items else 0) + 1
    hborder = click.style(f"+{'-' * (use_width + 2)}+", fg=_BORDER_COLOR)
    vborder = click.style("|", fg=_BORDER_COLOR)
    click.echo(hborder, err=True)
    for desc, size in items:
        desc = desc.ljust(desc_width, ".")
        bar_width = max(int((use_width - desc_width) * size / factor), 1)
        bar = "#" * bar_width
        msg = desc + click.style(bar, fg=_FILL_COLOR)
        style_char_length = len(msg) - len(click.unstyle(msg))
        msg = msg.ljust(use_width + style_char_length, " ")
        click.echo(f"{vborder} {msg} {vborder}", err=True)
    click.echo(hborder, err=True)