Question

I noticed that when I do compilation, installing some module, haskell compiler uses only one processor (blue chart 1/4)? 1 of 4 on my laptop.

I've heard that Haskell Compiler is smart, so it could safe my time using all I have.

Is there a way to make it faster? Some configuration maybe.

There is a pic - processor graph is blue. Yellow - network. Red - hard-drive.

At that moment when screenshot was made it could use all processor time since it does not use either hard-drive or network.

enter image description here

Était-ce utile?

La solution

You're looking for the -j flag in GHC versions 7.8.1 and higher.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top