public
Created

ghc --make vs. ghc-parmake on a EC2 large instance

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
$ time ghc --make Main.hs -odir tmp -hidir tmp
[1 of 7] Compiling Distribution.Compat.ReadP ( Distribution/Compat/ReadP.hs, tmp/Distribution/Compat/ReadP.o )
[2 of 7] Compiling GHC.ParMake.BuildPlan ( GHC/ParMake/BuildPlan.hs, tmp/GHC/ParMake/BuildPlan.o )
[3 of 7] Compiling GHC.ParMake.Common ( GHC/ParMake/Common.hs, tmp/GHC/ParMake/Common.o )
[4 of 7] Compiling GHC.ParMake.Util ( GHC/ParMake/Util.hs, tmp/GHC/ParMake/Util.o )
[5 of 7] Compiling GHC.ParMake.Parse ( GHC/ParMake/Parse.hs, tmp/GHC/ParMake/Parse.o )
[6 of 7] Compiling GHC.ParMake.Engine ( GHC/ParMake/Engine.hs, tmp/GHC/ParMake/Engine.o )
[7 of 7] Compiling Main ( Main.hs, tmp/Main.o )
Linking Main ...
 
real 0m3.743s
user 0m1.800s
sys 0m0.610s
$ time ./dist/build/ghc-parmake/ghc-parmake -j 3 Main.hs -odir tmp -hidir tmp
[1][1 of 7] Compiling Distribution.Compat.ReadP ( Distribution/Compat/ReadP.hs, tmp/Distribution/Compat/ReadP.o )
[2][2 of 7] Compiling GHC.ParMake.BuildPlan ( GHC/ParMake/BuildPlan.hs, tmp/GHC/ParMake/BuildPlan.o )
[3][3 of 7] Compiling GHC.ParMake.Common ( GHC/ParMake/Common.hs, tmp/GHC/ParMake/Common.o )
[1][4 of 7] Compiling GHC.ParMake.Util ( GHC/ParMake/Util.hs, tmp/GHC/ParMake/Util.o )
[3][5 of 7] Compiling GHC.ParMake.Engine ( GHC/ParMake/Engine.hs, tmp/GHC/ParMake/Engine.o )
[2][6 of 7] Compiling GHC.ParMake.Parse ( GHC/ParMake/Parse.hs, tmp/GHC/ParMake/Parse.o )
[1][7 of 7] Compiling Main ( Main.hs, tmp/Main.o )
Linking Main ...
 
real 0m3.323s
user 0m3.140s
sys 0m1.120s

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.