[commit: nofib] master: Compile all nofib programs with -O2 by default (c30491f)

Johan Tibell johan.tibell at gmail.com
Fri Feb 8 17:56:57 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/nofib

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/c30491fe3999e7e26eb4c0072120540988316a5c

>---------------------------------------------------------------

commit c30491fe3999e7e26eb4c0072120540988316a5c
Author: Johan Tibell <johan.tibell at gmail.com>
Date:   Fri Feb 8 08:55:49 2013 -0800

    Compile all nofib programs with -O2 by default
    
    This is what we recommend people to use for best performance, so we
    should use it in our benchmarks.

>---------------------------------------------------------------

 mk/boilerplate.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mk/boilerplate.mk b/mk/boilerplate.mk
index 1702e26..f5567f7 100644
--- a/mk/boilerplate.mk
+++ b/mk/boilerplate.mk
@@ -46,7 +46,7 @@ NoFibSubDirs = imaginary spectral real shootout
 NoFibWays = $(filter-out v,$(GhcLibWays))
 
 # Haskell compiler options for nofib
-NoFibHcOpts = -O
+NoFibHcOpts = -O2
 
 # Number of times to run each program
 NoFibRuns = 5





More information about the ghc-commits mailing list