[Haskell-cafe] Compile times and separate compilation
Wojtek Narczyński
wojtek at power.com.pl
Mon Feb 29 19:07:37 UTC 2016
On 28.02.2016 21:25, Benno Fünfstück wrote:
>
> I think there's a problem with the number of cores that they report:
> the vms/containers report 16 cores, while they only have 2. Perhaps
> -j2 would work better?
>
>
Yes :-)
cabal build -j1 ....... 7.989s
cabal build -j4 ....... 4.736s (I have 4 cores)
cabal build -j16 ... 40.510s
Today I realized I forgot -O2 yesterday, which cabal uses, I guess. Now
cabal does not look that bad.
ghc -O2 -j .......... 3.835s
ghc -O2 ............. 6.462s
--
Wojtek
More information about the Haskell-Cafe
mailing list