Skip to main content

Module timing

Module timing 

Source
Expand description

Simple timing accumulator for profiling compiler passes.

Uses std::time::Instant unconditionally (cheap when not storing results). Controlled by the __profiling flag in plugin options.

Structsยง

TimingData
Accumulates timing data for compiler passes.
TimingEntry
A single timing entry recording how long a named phase took.