.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. .TH EMDUMP "1" "February 2022" "emdump 3.1.6~dfsg" "User Commands" .SH NAME emdump \- emscripten tool to print out statistics about compiled code sizes .SH DESCRIPTION usage: emdump.py prints out statistics about compiled code sizes. python emdump.py \fB\-\-file\fR a.js [\-\-file2 b.js] .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-file\fR [FILE ...] Specifies the compiled JavaScript build file to analyze. .TP \fB\-\-file1\fR [FILE1 ...] Specifies the compiled JavaScript build file to analyze. .TP \fB\-\-symbol\-map\fR SYMBOL_MAP Specifies a filename to the symbol map file that can be used to unminify function and variable names. .TP \fB\-\-file2\fR [FILE2 ...] Specifies a second compiled JavaScript build file to analyze. .TP \fB\-\-symbol\-map2\fR SYMBOL_MAP2 Specifies a filename to a second symbol map file that will be used to unminify function and variable names of file2. .TP \fB\-\-list\-unaccounted\fR LIST_UNACCOUNTED Pass \fB\-\-list\-unaccounted\fR=\fI\,0\/\fR to skip listing a summary entry of unaccounted content .TP \fB\-\-dump\-unaccounted\-larger\-than\fR DUMP_UNACCOUNTED_LARGER_THAN If an integer value >= 0 is specified, all unaccounted strings of content longer than the given value will be printed out to the console. (Note that it is common to have several unaccounted blocks, this is provided for curiosity/debugging/optimization ideas) .TP \fB\-\-only\-unique\-1\fR If two data sets are specified, prints out only the symbols that are present in set 1, but not in set 2 .TP \fB\-\-only\-unique\-2\fR If two data sets are specified, prints out only the symbols that are present in set 2, but not in set 1 .TP \fB\-\-only\-common\fR If two data sets are specified, prints out only the symbols that are common to both data sets .TP \fB\-\-only\-changes\fR If two data sets are specified, prints out only the symbols that have changed size or are added/removed .TP \fB\-\-only\-summarize\fR If specified, detailed information about each symbol is not printed, but only summary data is shown. .TP \fB\-\-filter\-name\fR FILTER_NAME Only prints out information about symbols that contain the given filter substring in their demangled names. The filtering is always performed in lower case. .TP \fB\-\-filter\-size\fR FILTER_SIZE Only prints out information about symbols that are (or were) larger than the given amount of bytes. .TP \fB\-\-sort\fR SORT Specifies the data column to sort output by. Possible values are: lines, bytes, delta, abs_delta, type, minified, unminified, demangled .TP \fB\-\-print\-format\fR PRINT_FORMAT Specifies the naming format for the symbols. Possible options are one of: m, u, d, du, dm, um, dum. Here "m" denotes minified, "u" denotes unminified, and "d" denotes demangled. Specify any combination of the characters in upper case to print out function parameters. Default: DM. .TP \fB\-\-sort\-ascending\fR If true, reverses the sorting order to be ascending instead of default descending. .TP \fB\-\-simplify\-cxx\fR Simplify C++ STL types as much as possible in the output .TP \fB\-\-group\-templates\fR Group/collapse all C++ templates with Foo and Foo to generic Foo