spdl.pipeline.TaskPerfStats¶
- class TaskPerfStats(num_tasks: int, num_failures: int, ave_time: float, p90_time: float, p99_time: float)[source]¶
Performance statistics of a task measured by
TaskStatsHook.See also
Collecting Runtime Statistics explains how to export the runtime performance statistics.
Analyzing the Performance explains how to use the exported stats.
Attributes
The number of tasks invoked.
The number of tasks failed.
The average execution time (in second) of successful tasks.
The 90th percentile execution time (in second) of successful tasks.
The 99th percentile execution time (in second) of successful tasks.