class

Shellmin::PerformanceMonitor

Inherits Reference < Object

Performance monitoring with modern Crystal features

Class methods

clear_stats

Clear all performance statistics

Source
detect_os

Detect OS and version on local system (with caching)

Source
get_stats(name : String) : NamedTuple(count: Int64, total_time: Time::Span, avg_time: Time::Span, max_time: Time::Span, min_time: Time::Span) | Nil
Source
measure_operation(name : String, &block : -> T) : T forall T
Source
summary
Source