module FeatureTiming

Defined in:

feature_timing.cr

Class Method Summary

Class Method Detail

def self.record_enable(feature_name : String, duration : Time::Span) #

Record time spent in a feature's enable() method


[View source]
def self.record_task(feature_name : String, duration : Time::Span) #

Record time spent executing a task for a feature


[View source]
def self.report #

Generate timing report as a table


[View source]
def self.total_for(feature_name : String) : Time::Span #

Get total time for a feature (enable + tasks)


[View source]