Comments (3)
LTO seems to influence the ccache cache sizes a lot
the ArchLinux ccache cache is 150MB with LTO, and 24MB without
See https://gist.github.com/iTrooz/740f00f0935e365534f5a76dab0e7738 to measure section sizes for ELF
from imhex.
building in Release mode instead of RelWithDebInfo helps a lot with artifacts size. For example, Ubuntu 22.04 DEB went from 132MB to 16.2MB. Windows Installer went from 217MB to 24.2MB
More information: https://github.com/iTrooz/ImHex/actions/runs/9231528139 and https://github.com/iTrooz/ImHex/actions/runs/9231536431
from imhex.
using -gz=zlib
(or fallback on -gz
doesn't seem to improve cache sizes (Checked on Ubuntu 22.04 and ArchLinux builds)
Artifacts sizes do not improve either. In fact, AppImage seems to have gone from 141MB to 162MB
Windows and MacOS do not support this option.
Note that actual ELF files produced drastically reduce in size (e.g. 140.6MiB to 56.4MiB for libimhex for Ubuntu 22.04). The reason we are not observing changes in artifacts is because packages formats (e.g. .deb, .rpm, .tar.zst..) are already compressed.
NOTE: This means that this optimisation would still be useful once the package installed
More information: https://github.com/iTrooz/ImHex/actions/runs/9231528139 https://github.com/iTrooz/ImHex/actions/runs/9235290159
from imhex.
Related Issues (20)
- [Bug] DDS pattern is incorrect HOT 4
- [Feature] Bookmarks: Change order of bookmarks HOT 5
- [Feature] Renaming view
- [Bug] Bookmark: Tooltip for "open in new view" is not shown
- [Bug] Highlight Rules not saved
- [Feature] ASCII only view
- [Bug] GUI Layout is broken in 1.34
- [Bug] Imhex shows incorrectly version in Winget even after update
- [Bug] Linking CXX shared library libimhex.dll FAILED: libimhex.dll lib/libimhex/liblibimhex.dll.a HOT 1
- zlib_decompress to process raw deflate data (w/o zlib or gzip header).
- [Bug] Keyboard shortcuts in editor for macOS no long work in 1.34.0 HOT 5
- [Feature] UTF-16 LE/BE and Chinese Character Encoding Issues Without TBL File
- [Feature] Access prior items in Array
- [Confirmation] Pronunciation of "ImHex" regarding adoption of "Kawaii" logo HOT 3
- [Bug] High CPU utilization with 2 x 2MB files open when windows are not active
- [Bug] Cursor is not properly mapped to the window HOT 2
- [Bug] Disassembler always disassembles as little endian
- [Bug] Elevated ImHex creates application settings folders in C:\Program Files\ImHex, they overlap effective layout settings HOT 1
- [Feature] Show stacktrace implementation used
- libmbedtls.so.20: cannot open shared object file: No such file or directory HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imhex.