spdl.pipeline.TaskPerfStats¶
- class TaskPerfStats(num_tasks: int, num_failures: int, ave_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.