Skip to main content
CLI/pd bench [iterations]
CLI command · v3.30.6

pd bench [iterations]

Run daemon latency benchmarks for health checks and port assignment.

Syntax

Run pd bench [iterations] like this

pd bench 25
API spec

Command contract

Canonical command

pd bench [iterations]

Reference route

/docs/cli/bench

Reference group

Setup, Runtime, And Diagnostics

Runtime path

daemon-backed CLI command

Source

bin/port-daddy-cli.ts, cli/commands/setup.ts, cli/commands/daemon.ts, cli/commands/diagnostics.ts, cli/commands/mcp-install.ts

Aliases

none

Output mode

human display with command-specific state changes

Page type

generated API spec from the source-backed catalog

See the command surfaces this reference keeps in play

This clip shows the daemon health check, command discovery, and message-loop patterns that recur across the CLI reference. Here it grounds the pd bench [iterations] reference: daemon health, discovery, and message-loop patterns these pages keep pointing back to.

Usage patterns

Common ways this command shows up in practice

pd bench [iterations] belongs to Setup, Runtime, And Diagnostics. Install Port Daddy, inspect the live daemon, launch the dashboard, and manage canonical or sidecar runtimes.

daemon-backed CLI command. Validate live behavior from the daemon and handler source when changing this command.

Use this page as the stable public contract for pd bench [iterations]; aliases resolve to the same contract.

Flags

Options that change command behavior

iterations

Number of benchmark iterations to run.

Examples

Example 01

Run pd bench [iterations] from a coordinated checkout

CLI
pd bench 25
Output
Runs the pd bench [iterations] command family and prints the resulting Port Daddy state, ids, or readiness/error details.
Example 02

Find this command from the full CLI reference

CLI
pd help bench
open /docs/cli/bench
Output
The help topic and docs route both describe pd bench [iterations], including aliases, flags, and source provenance.