code: def get_benchmarker(endpoint: str = None, timeout: float = 10):
      
      if endpoint is None:
          config = PyquilConfig()
          endpoint = config.quilc_url
  
      return BenchmarkConnection(endpoint=endpoint, timeout=timeout)
docs: Retrieve an instance of the appropriate AbstractBenchmarker subclass for a given endpoint.
  
      :param endpoint: Benchmarking sequence server address. Defaults to the setting in the user's
                       pyQuil config.
      :param timeout: Number of seconds to wait before giving up on a call.
      :return: Instance of an AbstractBenchmarker subclass, connected to the given endpoint.