Subject: code bloat (45%!) between NetBSD-1.5 and NetBSD-1.6.1
To: None <port-powerpc@netbsd.org>
From: Tad Hunt <tad@entrisphere.com>
List: port-powerpc
Date: 09/22/2003 22:22:10
It appears as though everything has grown quite significantly
between NetBSD-1.5 and NetBSD-1.6.1.  Here are some examples from
the macppc distribution.

Did I just pick a bad example of a program which has received new
features between the two releases (dd), or should I expect the same
program compiled on a NetBSD-1.6.1 system to be between 3% to 45%
larger?

Is a 6% size increase generally expected?

-Tad

sh$ ls -l /usr/NetBSD-1.6.1/macppc/bin/dd /usr/NetBSD-1.5/macppc/bin/dd
-r-xr-xr-x   1 root  wheel  121092 Apr  8 07:58 /usr/NetBSD-1.6.1/macppc/bin/dd
-r-xr-xr-x  14 root  wheel   75276 Oct 11  2001 /usr/NetBSD-1.5/macppc/bin/dd
		difference: 45816 bytes	(45%)

-rw-rw-r--  1 tad  software  371656 Sep 22 15:14 ls		# NetBSD-1.6.1
-rw-rw-r--  1 tad  software  349724 Sep 25  2001 ls		# NetBSD-1.5
		difference: 21932 bytes (6%)

-rw-rw-r--  1 tad  software  425860 Sep 22 15:14 ps		# NetBSD-1.6.1
-rw-rw-r--  1 tad  software  401540 Sep 25  2001 ps		# NetBSD-1.5
		difference: 24320 bytes (6%)

-rw-rw-r--  1 tad  software  587668 Sep 22 15:14 sh		# NetBSD-1.6.1
-rw-rw-r--  1 tad  software  570700 Sep 25  2001 sh		# NetBSD-1.5
		difference: 16968 bytes (3%)