From: Mike Hommey Date: Thu, 22 Jan 2015 22:55:17 GMT Subject: Re: [PATCH] Makefile: do not compile git with debugging symbols by default Message-ID: <20150122225517.GB31912@glandium.org> In-Reply-To: <20150122183538.GA20085@peff.net> On Thu, Jan 22, 2015 at 01:35:38PM -0500, Jeff King wrote: > On Thu, Jan 22, 2015 at 06:36:41PM +0100, Matthieu Moy wrote: > > > > Yes, main point is size of executable. > > > > The Git executable is a few megabytes, i.e. 0.001% the size of a really > > small hard disk. The benefit seems really negligible to me. > > I don't know the layout of the symbols with respect to the code, or > whether the stripped version might reduce memory pressure. So in theory > it could have a performance impact. It doesn't. Debugging info is in a part of the file that is not mapped in memory, and in a part that can be removed without affecting the rest of the file, so it's more or less at the end. Mike