Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add elf-size-analyze output to builds #135

Open
Habbie opened this issue Nov 2, 2024 · 0 comments
Open

add elf-size-analyze output to builds #135

Habbie opened this issue Nov 2, 2024 · 0 comments
Labels
dev developer things

Comments

@Habbie
Copy link
Member

Habbie commented Nov 2, 2024

https://github.com/jedrzejboczar/elf-size-analyze is very useful, and has an HTML mode. Short summary of what it did on some recent versions:

00:14Z <Habbie> amd64 non-static build: 880kb quickjs, 600kb lvgl, 384kb curl, 1450kb fonts, 54kb uicomponents, 26kb argparse
00:14Z <Habbie> 3-9kb for each of front-lvgl, backend.cpp, domains.hpp, haentity, logger, wsconn
00:15Z <Habbie> and, apparently, 480kb of expanded templates from /usr/include :)
00:18Z <Habbie> that adds up to just under 4MB, the stripped binary is 5MB
00:18Z <Habbie> the static armel binary (harder to analyze because it is not a debug build) is 6.5MB
00:18Z <Habbie> these numbers are not all from the same commit

for the armel build, I wonder if we can make a separate debug file that it can maybe ingest, or invoke the tool before we strip?

@Habbie Habbie added the dev developer things label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev developer things
Projects
None yet
Development

No branches or pull requests

1 participant