module
CQL::Performance::ColorUtils
Overview
Colorization helper
Direct including types
Defined in:
performance/utilities.crInstance Method Summary
- #colorize_by_severity(text : String, severity : Symbol) : String
- #colorize_duration(duration : Time::Span, slow_threshold : Time::Span = 100.milliseconds, very_slow_threshold : Time::Span = 1.second) : String
Instance Method Detail
def colorize_duration(duration : Time::Span, slow_threshold : Time::Span = 100.milliseconds, very_slow_threshold : Time::Span = 1.second) : String
#