maple.utils.timeout.OperationTimer.__init__
- OperationTimer.__init__(operation: str, expected: float = 1.0, warn_threshold: float = 2.0, log_always: bool = False)
Initialize operation timer.
- Parameters:
operation – Name of operation
expected – Expected duration in seconds
warn_threshold – Multiplier for warning (warn if elapsed > expected * threshold)
log_always – If True, always log duration