pub struct CompileStats {Show 19 fields
pub nodes: usize,
pub gnodes: usize,
pub inlined: usize,
pub aliased: usize,
pub thunks: usize,
pub by_name: usize,
pub folded: usize,
pub cached_defs: usize,
pub fold_abandoned: usize,
pub fold_skipped: usize,
pub fold_fuel: u64,
pub fold_nanos: u64,
pub speculative: u64,
pub substituted: usize,
pub beta: u64,
pub startup_values: usize,
pub startup_nanos: u64,
pub startup_call_hits: u64,
pub startup_fallbacks: usize,
}Expand description
What the compiler did.
Fields§
§nodes: usizeValue nodes.
gnodes: usizeGenerator nodes.
inlined: usizeOperator applications inlined.
aliased: usizeArguments substituted directly.
thunks: usizeArguments bound to thunks.
by_name: usizeArguments re-evaluated by name.
folded: usizeSubexpressions folded to constants.
cached_defs: usizeState-level definitions cached once per frame activation.
fold_abandoned: usizeFolds abandoned because they ran out of fuel.
fold_skipped: usizeFolds not attempted because the compile-time budget was spent.
fold_fuel: u64Loop iterations spent folding.
fold_nanos: u64Wall time spent folding, in nanoseconds.
speculative: u64Filters, function constructors and set operations the core builds
eagerly where TLC is lazy (Node::Spec).
substituted: usizeINSTANCE substitutions bound.
beta: u64Applications of lazy function constructors evaluated for their
argument alone (Node::Beta).
startup_values: usizeConstant definitions the binder left to the core, evaluated here
(crate::compile::Handoff::deferred), and closed zero-arity
definitions too large to fold, evaluated once at their first use
(crate::compile::SETTLE_FUEL).
startup_nanos: u64Wall time spent evaluating them, in nanoseconds.
startup_call_hits: u64Calls their evaluation answered from its call results.
startup_fallbacks: usizeThose the core did not evaluate whose value the binder’s evaluation
supplied (crate::compile::Handoff::startup_evaluator).