ports/132615: [patch] x11/libX11: work aroung parsing bug in Bash 4.0

Robert Noland rnoland at FreeBSD.org
Fri Apr 24 20:42:01 UTC 2009


On Fri, 2009-04-24 at 20:10 +0000, Eygene Ryabinkin wrote:
> The following reply was made to PR ports/132615; it has been noted by GNATS.
> 
> From: Eygene Ryabinkin <rea-fbsd at codelabs.ru>
> To: bug-followup at freebsd.org
> Cc: x11 at freebsd.org, obrien at freebsd.org, stas at freebsd.org, miwi at FreeBSD.org
> Subject: Re: ports/132615: [patch] x11/libX11: work aroung parsing bug in
> 	Bash 4.0
> Date: Sat, 25 Apr 2009 00:03:20 +0400
> 
>  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?

Well, I don't actually know anything about dolt... but, yes this seems
like it might be worthwhile.  What do you attribute the speedup to be
from?  Is dolt doing a parallel build, while make is not?

robert.

>  -- 
>  Eygene
>   _                ___       _.--.   #
>   \`.|\..----...-'`   `-._.-'_.-'`   #  Remember that it is hard
>   /  ' `         ,       __.--'      #  to read the on-line manual
>   )/' _/     \   `-_,   /            #  while single-stepping the kernel.
>   `-'" `"\_  ,_.-;_.-\_ ',  fsc/as   #
>       _.-'_./   {_.'   ; /           #    -- FreeBSD Developers handbook
>      {_.-``-'         {_/            #
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
-- 
Robert Noland <rnoland at FreeBSD.org>
FreeBSD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20090424/383587a3/attachment.pgp


More information about the freebsd-x11 mailing list