In both runs the same computations are done (sequentially resp. parallel), so the gc should be the same. But still using 2 cores is much slower than using 1 core (same program - no communication).
On 3 Mar 2009 at 20:21, Bulat Ziganshin wrote: > Hello mwinter, > > Tuesday, March 3, 2009, 8:09:21 PM, you wrote: > > > anybody give me an idea what I am doing wrong? > > 1. add -O2 to compile command > 2. add +RTS -s to run commands > > your program execution time may be dominated by GCs > > > -- > Best regards, > Bulat mailto:bulat.zigans...@gmail.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe