grain.experimental.ExecutionTrackingMode

grain.experimental.ExecutionTrackingMode#

class grain.experimental.ExecutionTrackingMode(*values)#

Represents different modes for tracking execution statistics.

Available modes:
DISABLED:

No execution statistics are measured. This mode is the default.

STAGE_TIMING:

The time taken for each transformation stage to execute is measured and recorded. This recorded time reflects the duration spent within the specific transformation to return an element, excluding the time spent in any parent transformations. The recorded time can be retrieved using grain.experimental.get_execution_summary method.

__init__(*args, **kwds)#

Attributes

DISABLED

STAGE_TIMING