From owner-freebsd-x11@FreeBSD.ORG Fri Apr 24 22:30:07 2009 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33EB6106568B for ; Fri, 24 Apr 2009 22:30:07 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id D77678FC18 for ; Fri, 24 Apr 2009 22:30:06 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from DSPAM-Daemon (localhost [127.0.0.1]) by mx0.deglitch.com (Postfix) with SMTP id EBCAD8FC55 for ; Sat, 25 Apr 2009 02:30:01 +0400 (MSD) Received: from orion.SpringDaemons.com (unknown [77.232.3.143]) by mx0.deglitch.com (Postfix) with ESMTPA id 51C4D8FC18; Sat, 25 Apr 2009 02:29:57 +0400 (MSD) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id 117C039827; Sat, 25 Apr 2009 02:30:00 +0400 (MSD) Date: Sat, 25 Apr 2009 02:30:00 +0400 From: Stanislav Sedov To: rea-fbsd@codelabs.ru Message-Id: <20090425023000.7466392f.stas@FreeBSD.org> In-Reply-To: <3vHRxK8zyisyJx9ZrK67n180LIY@veJXoSoJtqjaE+n2qYrh3k99+AQ> References: <200903140956.n2E9uJ9G049103@freefall.freebsd.org> <3vHRxK8zyisyJx9ZrK67n180LIY@veJXoSoJtqjaE+n2qYrh3k99+AQ> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Sat Apr 25 02:30:01 2009 X-DSPAM-Confidence: 1.0000 X-DSPAM-Improbability: 1 in 98689409 chance of being spam X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 49f23d69967001517610879 Cc: x11@freebsd.org, obrien@freebsd.org, bug-followup@freebsd.org, miwi@FreeBSD.org Subject: Re: ports/132615: [patch] x11/libX11: work aroung parsing bug in Bash 4.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2009 22:30:07 -0000 On Sat, 25 Apr 2009 00:03:20 +0400 Eygene Ryabinkin mentioned: > Gentlemen, good day. > > Sun, Mar 15, 2009 at 10:20:17AM +0300, Eygene Ryabinkin wrote: > > I had researched on the DOLT a little bit more and found that > > doltcompile greatly speeds up the compilation process, because it was > > written precisely for this purpose: > > http://lists.debian.org/debian-devel/2008/04/msg00286.html > > > > So, I would say that it's better to patch the doltcompile script itself > > rather than to drop support for it. > > I had made some measurements for non-DOLT and DOLT case for the > current libX11 case. Here are the results of ministat spawned > for data from 10 compilation cycles with DOLT and without DOLT: > (fully warmed disk cache, almost zero activity on the machine, > all resources are dedicated to the port building): > ----- > x noDOLT.real > + withDOLT.real > +------------------------------------------------------------------------------+ > | ++ | > | ++ x | > | +++++ + x xxx xx xxx| > ||______M_A_________| |___A____| | > +------------------------------------------------------------------------------+ > N Min Max Median Avg Stddev > x 10 177.48 189.25 184.365 184.366 3.5870173 > + 10 135.01 159.06 137.345 139.211 7.0399976 > Difference at 95.0% confidence > -45.155 +/- 5.24948 > -24.492% +/- 2.84732% > (Student's t, pooled s = 5.58696) > ----- > I'd say that 45 seconds (24.5%) speedup worth some patching. > > Any thoughts 'bout this? I think we could try to replace the libtool by our own stripped-down implementation that will be even simpler than dolt. If dolt is able to reduce the compilations speed by about one forth, then with a FreeBSD specific libtool replacement the imporvement may be even better. As a benefit we can also stop installing .la and .a library files. -- Stanislav Sedov ST4096-RIPE !DSPAM:49f23d69967001517610879!