From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Windows: Emacs 24.1 binary size vs 24.2 binary size Date: Sat, 01 Sep 2012 17:50:02 +0300 Message-ID: <83pq65g5lx.fsf@gnu.org> References: <503D7C5B.4080701@gmail.com> <504219DA.20309@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1346511014 13659 80.91.229.3 (1 Sep 2012 14:50:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2012 14:50:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Christoph Scholtes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 01 16:50:15 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T7p1a-00061y-E2 for ged-emacs-devel@m.gmane.org; Sat, 01 Sep 2012 16:50:14 +0200 Original-Received: from localhost ([::1]:36348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7p1X-0008CU-Vk for ged-emacs-devel@m.gmane.org; Sat, 01 Sep 2012 10:50:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7p1U-0008BK-Tv for emacs-devel@gnu.org; Sat, 01 Sep 2012 10:50:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7p1S-0005nl-J2 for emacs-devel@gnu.org; Sat, 01 Sep 2012 10:50:08 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:43652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7p1S-0005ft-B0 for emacs-devel@gnu.org; Sat, 01 Sep 2012 10:50:06 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M9O00300EFS5300@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Sat, 01 Sep 2012 17:49:59 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M9O0034FEJB4M40@a-mtaout21.012.net.il>; Sat, 01 Sep 2012 17:49:59 +0300 (IDT) In-reply-to: <504219DA.20309@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152932 Archived-At: > Date: Sat, 01 Sep 2012 08:21:14 -0600 > From: Christoph Scholtes > CC: Eli Zaretskii > > On 8/28/2012 8:20 PM, Christoph Scholtes wrote: > > I just built the latest 24.2 release on Windows and I noticed a > > significant difference in the binary size of emacs.exe between version > > 24.1 and 24.2. Was there any change that would explain the difference? > > > > emacs.exe (24.1): 11,343,408 bytes > > emacs.exe (24.2): 9,881,136 bytes > > > > Both versions were compiled with gcc 4.6.2 > > I'd like to have an answer just in case anybody else notices after I > upload the release build. Any ideas? I don't have a stripped binary to compare with your numbers. I do see a similar decrease in the size of the un-stripped emacs.exe, but I cannot find any explanation for that. The size of temacs.exe is almost identical between the 2 versions, which seems to point to Lisp, or to data structures built by Emacs during loadup/dump process. However, loadup.el saw no changes between the 2 versions, and loaddefs.el is identical modulo time stamps of the files it records. And I cannot spot anything pertinent, neither in src/ChangeLog nor in lisp/ChangeLog. So I have no idea what could explain the 1.6MB decrease in the exe size. The memory footprint of "emacs -Q" is 0.7MB _larger_ with Emacs 24.2 than it is with 24.1, FWIW.