instruction_sizes library
Helper functions for parsing output of --print-instructions-sizes-to
flag.
Classes
- SymbolInfo
- Information about the size of the instruction object.
Functions
-
fromJson(
List json) → List< SymbolInfo> -
Parse the output of
--print-instructions-sizes-to
saved in the given fileinput
. -
loadProgramInfo(
List json, {bool collapseAnonymousClosures = false}) → ProgramInfo -
Parse the output of
--print-instructions-sizes-to
saved in the given fileinput
into ProgramInfo structure representing the sizes of individual functions. -
toProgramInfo(
List< SymbolInfo> symbols, {bool collapseAnonymousClosures = false}) → ProgramInfo - Restore hierarchical ProgramInfo representation from the list of symbols by parsing function names.