Something very odd is going on. GHC does not generate programs than run 3x faster between GHC versions.
If, perhaps, you compiled both without -O, no cross-module inlining takes place. That would account for a big slow down when using separate compilation. I see you use -O2 this time. I don't know why the all in one version might go slower though S | -----Original Message----- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hal Daume | Sent: 31 July 2003 00:23 | To: Wolfgang Jeltsch; The Haskell Mailing List | Subject: RE: Ann: HAllInOne bug fix release | | 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 | [EMAIL PROTECTED] | "Arrest this man, he talks in maths." | www.isi.edu/~hdaume | | | > -----Original Message----- | > From: [EMAIL PROTECTED] | > [mailto:[EMAIL PROTECTED] 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 | > [EMAIL PROTECTED] | > http://www.haskell.org/mailman/listinfo/haskell | > | _______________________________________________ | Haskell mailing list | [EMAIL PROTECTED] | http://www.haskell.org/mailman/listinfo/haskell _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell