spdl.pipeline.ProfileResult¶
- class ProfileResult[source]¶
A data class contains profiling result, returned by
profile_pipeline()
.Attributes
The name of the pipe stage.
Dataclass objects for each concurrency level tested, where each stat includes:
- stats: Sequence[_ProfileStats]¶
Dataclass objects for each concurrency level tested, where each stat includes:
concurrency
: The concurrency level used for this benchmark.qps
: The number of items the stage processed per second.occupancy_rate
: The percentage of time the queue was occupied (0.0 to 1.0).