class

CogUtil::PerformanceProfiler

Inherits Reference < Object

Core performance profiler with CPU, memory, and timing metrics

Class methods

current_session

Get current profiling session (for monitoring purposes)

Source
end_session

End current profiling session and return metrics

Source
export_metrics

Export metrics to JSON for external analysis

Source
generate_report

Generate comprehensive performance report

Source
profile(name : String, &)

Profile a code block with automatic timing and metrics collection

Source
profile_iterations(name : String, iterations : Int32, &)

Profile multiple iterations of a code block for statistical analysis

Source
profile_memory_allocation(name : String, &)

Memory allocation profiler

Source
start_session

Start a new profiling session

Source

Nested types