# Function runAdapterLatencyBenchmark

- runAdapterLatencyBenchmark(
  adapters: readonly ICliAdapter[],
  scenarios?: readonly LatencyScenario[],
  config?: Partial<AdapterLatencyConfig>,
  ): Promise<AdapterLatencyResult>

  Run latency benchmarks across adapters and scenarios.

  #### Parameters

  - adapters: readonly ICliAdapter[]
  - scenarios: readonly LatencyScenario[] = DEFAULT_SCENARIOS
  - config: Partial<AdapterLatencyConfig> = {}

  #### Returns Promise<AdapterLatencyResult>

  - Defined in packages/nexus-agents/src/benchmarks/adapter-latency-benchmark.ts:120