code: def make_bench(request):
      def _make_bench(name):
          import pytest_benchmark.plugin
  
          # hack from https://github.com/ionelmc/pytest-benchmark/issues/166
          bench = (
              pytest_benchmark.plugin.benchmark.__pytest_wrapped__.obj(
                  request
              )
          )
  
          suffix = f"-{name}"
  
          def add_suffix(_name):
              start, sep, end = _name.partition("[")
              return start + suffix + sep + end
  
          bench.name = add_suffix(bench.name)
          bench.fullname = add_suffix(bench.fullname)
  
          return bench
  
      return _make_bench
  
imports: import os
  import shutil
  from pathlib import Path
  from subprocess import check_output
  from typing import Dict, Optional
  import pytest
  from dulwich.porcelain import clone
  from funcy import first
  from packaging import version
  from dvc.types import StrPath
label_desc: Use image node_id 10 for calling a global function with example usage: make_bench(request) and returns: _make_bench, bench, unknown