module
CQL::Performance::TimingUtils
Overview
Timing utilities
Extended Modules
Direct including types
- CQL::Performance::BasePerformanceComponent
- CQL::Performance::Monitor
- CQL::Performance::PerformanceMetrics
- CQL::Performance::SQLFormatter
- CQL::Performance::UnifiedReportGenerator
Defined in:
performance/utilities.crInstance Method Summary
- #categorize_duration(duration : Time::Span, slow_threshold : Time::Span = 100.milliseconds, very_slow_threshold : Time::Span = 1.second) : Symbol
- #format_duration(duration : Time::Span) : String
- #measure_execution(&)
Instance Method Detail
def categorize_duration(duration : Time::Span, slow_threshold : Time::Span = 100.milliseconds, very_slow_threshold : Time::Span = 1.second) : Symbol
#