Skip to main content

optimization_graph

Function optimization_graph 

pub fn optimization_graph(
    source: &str,
) -> (Vec<&'static str>, Vec<(&'static str, &'static str)>, Vec<(&'static str, &'static str)>)
Expand description

The complete per-program optimization graph from one all-on evaluation: the optimizations that fired, the blockers ((winner, loser) preemptions that occurred), and the emergent dependencies ((dependent, dep) — see optimization_dependencies). Everything the menu-tree needs, baked once per benchmark so the UI never probes in the hot path. All on the AOT codegen path (the one that produces the shown Rust), so the three views agree.