module FeatureTiming
Defined in:
feature_timing.crClass Method Summary
-
.record_enable(feature_name : String, duration : Time::Span)
Record time spent in a feature's enable() method
-
.record_task(feature_name : String, duration : Time::Span)
Record time spent executing a task for a feature
-
.report
Generate timing report as a table
-
.total_for(feature_name : String) : Time::Span
Get total time for a feature (enable + tasks)
Class Method Detail
def self.record_enable(feature_name : String, duration : Time::Span)
#
Record time spent in a feature's enable() method
def self.record_task(feature_name : String, duration : Time::Span)
#
Record time spent executing a task for a feature
def self.total_for(feature_name : String) : Time::Span
#
Get total time for a feature (enable + tasks)