Function track_performance

Source
pub fn track_performance(operation_name: &str, duration: Duration)
Expand description

Track performance metrics for a named operation

REVOLUTIONARY PERFORMANCE TRACKING - Comprehensive metrics for the 96% automation engine

This is used by the procedural macros for performance tracking and supports:

  • Cross-Module Automation Engine performance monitoring
  • Circuit Breaker adaptive threshold calculation
  • Heuristic Recovery confidence scoring based on performance
  • AST-Driven Fixes optimization metrics
  • Auto-Diff Preview generation timing