guidellm.benchmark.profiles.synchronous
Synchronous benchmark profile.
SynchronousProfile
Bases: Profile
Execute single synchronous strategy for baseline performance metrics.
Executes requests sequentially with one request at a time, establishing baseline performance metrics without concurrent execution overhead.
Source code in src/guidellm/benchmark/profiles/synchronous.py
strategy_types property
Returns:
| Type | Description |
|---|---|
list[str] | Single synchronous strategy type |
next_strategy(prev_strategy, prev_benchmark)
Generate synchronous 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 |
|---|---|
SynchronousStrategy | None | SynchronousStrategy for first execution, None afterward |
Source code in src/guidellm/benchmark/profiles/synchronous.py
SynchronousProfileArgs
Bases: ProfileArgs
Pydantic model for synchronous profile creation arguments.