out/Release/gen/components/metrics/proto is 110KiB (4% of Cronet) |
||
Issue descriptionThe metrics generated proto is 4% of entire Cronet size. Many of the protos are not used by Cronet. We should explore whether Cronet can depend on a stripped down version of //components/metrics:metrics
,
Dec 21
Fixed by https://chromium-review.googlesource.com/c/chromium/src/+/1256122 that allows to optionally remove //components/metrics dependency to reduce binary size. Add disable_histogram_support gn argument. If set to "true", then GetHistogramDeltas() support is disabled, and Cronet size is reduced by about 200 kilobytes.
,
Dec 21
|
||
►
Sign in to add a comment |
||
Comment 1 by pauljensen@chromium.org
, May 5 2017