v5

latestOpenAPI 3.0.3raw.githubusercontent.com2026-03-27485380.4 KB
Benchmark

Start a benchmark run

Starts a benchmark run with the supplied (or default) configuration. The run executes in the background; poll GET /api/benchmark/status and GET /api/benchmark/report for progress and results. Creates temporary _benchmark_* collections that are cleaned up automatically on completion or cancellation.

post/benchmark/start

Request body

seedCountinteger

Number of deterministic seed records to create.

concurrencyinteger

Maximum degree of parallelism for scenario execution.

durationstring

Total benchmark duration (TimeSpan format, e.g. '00:03:00'). Scenarios loop until this elapses.

throttleDelaystring

Delay injected between every Mongo operation (TimeSpan format, e.g. '00:00:00.010').

collectionPrefixstring

Prefix applied to all temporary benchmark collections.

Response

Benchmark started

messagestring