class

CogUtil::PerformanceRegression

Inherits Reference < Object

Constructors

new(storage_path : String = "performance_history.json", baseline_window : Int32 = 10, sensitivity_threshold : Float64 = 5.0)
Source

Instance methods

analyze_regressions(current_session : PerformanceProfiler::Session) : Array(RegressionResult)

Analyze for performance regressions

Source
cleanup_old_data(retention_days : Int32 = 90)

Clean old data beyond retention period

Source
export_data(format : String = "json") : String

Export historical data for external analysis

Source
generate_regression_report(regressions : Array(RegressionResult)) : String

Generate regression report

Source
get_trend_analysis(function_name : String, days : Int32 = 30) : Hash(String, Float64) | Nil

Get trend analysis for a specific function

Source
record_metrics(session : PerformanceProfiler::Session, version : String)

Record current performance metrics

Source

Nested types