On Wed, Jun 01, 2022 at 10:45:42AM +0100, Emil Velikov wrote: > On Saturday, 28 May 2022, Morten Linderud <[email protected]> wrote: > > > From: Morten Linderud <[email protected]> > > > > `dwz` allows us to compress the DWARF files when building debug > > packages. Potentially shaving off some of the sizes of the symbols we > > distribute. > > > > https://sourceware.org/dwz/ > > > > A sample of packages built with dwz; > > > > pacman: > > Original debug info size: 1520kB > > Size after compression: 1252kB > > > > systemd: > > Original debug info size: 46692kB > > Size after compression: 41036kB > > > > > Out of curiosity: have you measured the overhead? > > The one during package creation and runtime one during extraction. > Especially for larger packages - say chromium, Firefox, etc > > That aside, I really like the explicit die-limit args which should ensure > that even the debug packages stay reproducible.
I haven't. I should frankly rewrite the commit message and provide a bit more details because I don't think they are 100% correct with the multifile approach. However from what I can tell the largest overhead during package creation is still the stripping itself and compression. dwz takes less then a second. I don't know how to test extraction though. Do feel free to help me test dwz though :) I'll add it to the repos so it's easier to test it. -- Morten Linderud PGP: 9C02FF419FECBE16
signature.asc
Description: PGP signature
