class

CogUtil::OptimizationEngine

Inherits Reference < Object

Constructors

new(regression_detector : PerformanceRegression | Nil = nil)
Source

Instance methods

analyze_and_recommend(session : PerformanceProfiler::Session) : Array(Recommendation)

Analyze performance data and generate optimization recommendations

Source
analyze_global_patterns(session : PerformanceProfiler::Session) : Array(Recommendation)

Analyze code patterns across all functions

Source
estimate_optimization_impact(function_name : String, optimization_type : String) : Float64

Estimate optimization impact based on function metrics

Source
generate_optimization_report(recommendations : Array(Recommendation)) : String

Generate comprehensive optimization report

Source
get_optimization_roadmap(recommendations : Array(Recommendation)) : Hash(String, Array(Recommendation))

Get optimization roadmap prioritized by impact

Source
profiler_session=(session : PerformanceProfiler::Session | Nil)

Set the profiler session for optimization analysis

Source

Nested types