Bindgen::Statistics
Simple collector of run-time statistics.
Constants
DEPTH_MULTIPLIER = 2
HEAP_COLUMN_SIZE = 8
JUSTIFY_OFFSET = 2
Constructors
new
SourceInstance methods
measure(stage_name : String, &)
Measures execution of the given block. Returns the result of the block.
The measured data is put into #stages.
total_duration
Returns the total duration of all measured steps. The timings between the stages is not recorded, and is thus excluded from the total duration.