Created
November 12, 2011 12:28
-
-
Save 23Skidoo/1360470 to your computer and use it in GitHub Desktop.
ghc --make vs. ghc-parmake on a EC2 large instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment