guidellm.benchmark.profiles.throughput
Throughput benchmark profile.
ThroughputProfile
Bases: Profile
Maximize system throughput with optional concurrency constraints.
Maximizes system throughput by maintaining maximum concurrent requests, optionally constrained by a concurrency limit.
Source code in src/guidellm/benchmark/profiles/throughput.py
strategy_types property
Returns:
| Type | Description |
|---|---|
list[str] | Single throughput strategy type |
next_strategy(prev_strategy, prev_benchmark)
Generate throughput strategy for first execution only.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
prev_strategy | SchedulingStrategy | None | Previously completed strategy (unused) | required |
prev_benchmark | Benchmark | None | Benchmark results from previous execution (unused) | required |
Returns:
| Type | Description |
|---|---|
ThroughputStrategy | None | ThroughputStrategy for first execution, None afterward |
Source code in src/guidellm/benchmark/profiles/throughput.py
ThroughputProfileArgs
Bases: ProfileArgs
Pydantic model for throughput profile creation arguments.