-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Things we can do:
- store the ttf files compressed in the Qt resource (requires decompression code in the updater):
Update Roboto font, add NotoSansSymbols, compress them #163 - optimize the embedded PNG images:
Heavily brute-forced optimized PNG files, to save on file space when embedding them #166 - LTO build, will be easier to implement once we use CMake with Qt6.
-
-Osbuild, already done for the updater, but for libs we can do it too:
Use -Os when building aria2 and OpenSSL #169 - garbage-collected binaries (GC sections)
- build less things in Qt itself. I noticed the build log reports enabling useless stuff like V4L2 (webcam support) and things like that.
My experience with other binaries is that using LTO usually gives massing size reduction, more than -Os itself in a much larger order of magnitude, but then -Os can shave more bytes atop of that. We don't need extra performance in the updater, so using some MinSizeRel build is fine.
Metadata
Metadata
Assignees
Labels
No labels