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 : How to export the runtime performance statistics.
Analyzing the Performance : 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.