vm_snapshot_analysis.precompiler_trace library Null safety

Helpers for working with the output of --trace-precompiler-to VM flag.

Classes

CallGraph
CallGraphNode
CallGraphNode represents a node of the call-graph. It can either be: [...]

Functions

generateCallGraphWithDominators(Object precompilerTrace, NodeType nodeType) CallGraph
Generates a CallGraph from the given precompilerTrace, which is produced by --trace-precompiler-to, then collapses it down to the granularity specified by nodeType, and computes dominators of the resulting graph.
loadTrace(Object inputJson) CallGraph
Build CallGraph based on the trace written by --trace-precompiler-to flag.