Ann: HAllInOne bug fix release

John Meacham john@repetae.net
Wed, 30 Jul 2003 17:22:17 -0700


Another useful thing would be the striped binary sizes of the two
versions. I am curious how much AllInOneing affects the resultant
binary. Memory usage would also be interesting.
        John

On Wed, Jul 30, 2003 at 04:22:58PM -0700, Hal Daume wrote:
> Ah, apparently it is not (at least not the Cygwin version).
> 
> I recompiled NHC with GHC -O2, both the separate compilation version and
> the all-in-over version.  Averaged over five runs, we see that the
> separate compilation version is actually *faster* than the ai1 version:
> 
> standard nhc compiled with ghc:
> 
> real    0m27.167s
> user    0m9.991s
> sys     0m1.304s
> 
> nhc all-in-one:
> 
> real    0m31.411s
> user    0m10.007s
> sys     0m1.299s
> 
> 
> 
> i am completely unable to explain this.  someone want to hazard a guess?
> 
>  - hal, who is a bit disappointed now :(
> 
>  --
>  Hal Daume III                                   | hdaume@isi.edu
>  "Arrest this man, he talks in maths."           | www.isi.edu/~hdaume
> 
> 
> > -----Original Message-----
> > From: haskell-admin@haskell.org 
> > [mailto:haskell-admin@haskell.org] On Behalf Of Wolfgang Jeltsch
> > Sent: Wednesday, July 30, 2003 2:59 PM
> > To: The Haskell Mailing List
> > Subject: Re: Ann: HAllInOne bug fix release
> > 
> > 
> > On Wednesday, 2003-07-30, 23:36, CEST, Hal Daume III wrote:
> > > [...]
> > 
> > > A few people have asked me for speed-up results from 
> > All-In-One-ifying code,
> > > so here's a good one.  We take two versions of NHC.  One is 
> > the original
> > > binary distribution and the other is the All-In-One-ified 
> > version, compiled
> > > by GHC.
> > 
> > Hi,
> > 
> > is the original binary distribution compiled with GHC? If 
> > not, the speed-up 
> > may also be the result of using a different compiler (i.e., GHC).
> > 
> > > [...]
> > 
> > Wolfgang
> > 
> > _______________________________________________
> > Haskell mailing list
> > Haskell@haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell
> > 
> -- 
> Haskell mailing list
> Haskell@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
> 

-- 
---------------------------------------------------------------------------
John Meacham - California Institute of Technology, Alum. - john@foo.net
---------------------------------------------------------------------------