pub fn compute_entry_weight(
session: &AnalysisSession,
entry_points: &[EntryPoint],
) -> EngineResult<EntryWeightListing>Expand description
Compute the startup import weight of every runtime entry point.
entry_points gives the declaring source of each entry, as the listing
reports it. Entries are sorted by eager_bytes (heaviest first), then by
path.
ยงErrors
Returns an error if parsing or graph construction fails.