Skip to main content

Module rule_profiler

Module rule_profiler 

Source
Expand description

Rule Execution Profiler — invocation counts, latencies, hit rates, and hotspot detection.

This module provides RuleExecutionProfiler, which tracks per-rule performance metrics across a running inference engine: invocation counts, success/failure rates, cumulative and per-call latencies, and automatic hotspot detection.

Structs§

ProfilerStats
Aggregate statistics across all tracked rules.
RuleExecutionProfiler
Profiles individual rule execution performance.
RuleProfile
Per-rule execution statistics.