Ann: HAllInOne bug fix release

Hal Daume t-hald@microsoft.com
Thu, 31 Jul 2003 07:55:02 -0700


(haskell-cafe now)

Interesting.  I've stripped them and they are exactly the same size.
diff says they differ though.  pre-stripping, the normal nhc (non ai1)
is marginally larger (6.8m versus 7.0m).

I'll try to measure memory usage if someone tells me how :)

 - Hal

 --
 Hal Daume III                                   | hdaume@isi.edu
 "Arrest this man, he talks in maths."           | www.isi.edu/~hdaume


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