abstract class Azu::PerformanceReporter

Overview

Abstract base class for performance reporters following SRP and OCP

Direct Known Subclasses

Defined in:

azu/performance_reporter.cr

Instance Method Summary

Instance Method Detail

abstract def format_report(stats, since : Time | Nil) #

Abstract method to be implemented by concrete reporters


[View source]
def generate_report(since : Time | Nil = nil) : String #

Template method pattern - defines the structure of report generation


[View source]
abstract def output(content : String) : Nil #

Abstract method for output mechanism


[View source]
def output_report(since : Time | Nil = nil) : Nil #

Template method for outputting reports


[View source]
abstract def unavailable_message : String #

[View source]