[Buildroot] [PATCH v3] support/scripts: add size-stats-compare script
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Feb 7 14:52:41 UTC 2016
Dear Thomas De Schampheleire,
On Tue, 2 Feb 2016 14:05:59 +0100, Thomas De Schampheleire wrote:
> From: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
>
> Leverage the CSV files produces by size-stats (make graph-size) to allow
> for a comparison of rootfs size between two different buildroot
> compilations.
>
> The script takes the file-size CSV files of two compilations as input, and
> produces a textual report of the differences per package.
> Using the -d/--detail flag, the report will show the file size changes
> instead of package size changes.
> The -t/--threshold option allows to ignore file size differences smaller
> or equal than the given threshold (in bytes).
>
> Example output is:
>
> Size difference per package (bytes), threshold = 0
> --------------------------------------------------------------------------------
> -8192 busybox
> 228572 added dmalloc
> 301584 added jq
> --------------------------------------------------------------------------------
> 521964 TOTAL
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list