Change build params on libxml to save space (24kb) |
|||||
Issue descriptionTry adjusting the libxml build parameters and you'll save memory. I believe you can turn off LIBXML_LEGACY_ENABLED, LIBXML_DEBUG_ENABLED Turning these off with net roughly 12K You might get away dropping LIB_XPTR_ENABLED which will be another 12K.
,
Apr 3 2017
Dominic - saw you touched this recently (https://codereview.chromium.org/2789473002). Wonder if you'd be willing to look at tweaking these defines as well?
,
Apr 5 2017
Thanks for routing this to me; I turned off a bunch of these including LEGACY, XPTR, DEBUG and others in r461657. dcheng is making some changes to other libxml2 users. I believe updater is the last user of SAX1 and WRITER, so there may be a bit more which can be wrung out here.
,
Apr 14 2017
I'm going to mark this as fixed because we've probably hit a local optima with this. LEGACY, DEBUG, XPTR and various others are gone in M58-59; hopefully that will stick. Could you verify that did indeed shrink things? Just curious but what's the easiest way to spelunk sizes like this these days?
,
Apr 21 2017
Looks like r461657 reduced size by ~32800 bytes: https://chromeperf.appspot.com/report?sid=ec464e89358810af9b857af88d316e5ee1b735fc532f3b1a883380d26d29da06&rev=461657 Best way to look at size is the graph I linked, as well as using tools at //tools/binary_size.
,
May 9 2017
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by agrieve@chromium.org
, Mar 17 2017Summary: Change build params on libxml to save space (24kb) (was: Change build params on libxml to save space)