You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that when generating HTML output for more than one section (e.g. elf-size-analyze -WFR) it is not possible to collapse a row. The javascript currently assumes there is only one generated document.
The text was updated successfully, but these errors were encountered:
I think we should think about writing it to files directly. Another thing I noticed while working with a big ELF file is, that most of the time is spent to analyze the file. Writing to the output is really fast. In one of my project I need to store the results for ROM and RAM in HTML and JSON format and this takes a lot of time as I have to run the tool multiple times and therefore parse the file multiple times. I think we would benefit from parsing the file once and then generate all needed output formats in separate files...
It makes sense. Another option would be to allow loading data from JSON (the one that we generate) and just displaying it. But then we would need to add some metadata to JSON, so it's probably better to stick with always parsing the ELF file.
If we add option to generate JSON/HTML in separate files then I would prefer to specify file names explicitly instead of auto-generating file names (so e.g. elf-size-analyze fw.elf -R -W out.html -j out.json). Then we would have to always put all sections output in one HTML/JSON (same as now everything goes to stdout). We could instead provide simple templating and put section name/number in a placeholder, e.g. elf-size-analyze fw.elf -FR -W 'out_{}.html' -j 'out_{}.json'.
It seems that when generating HTML output for more than one section (e.g.
elf-size-analyze -WFR
) it is not possible to collapse a row. The javascript currently assumes there is only one generated document.The text was updated successfully, but these errors were encountered: