Profiling configuration options

This commit is contained in:
Nikita Volkov 2015-11-20 07:18:09 +03:00
parent ce921693f2
commit 4d9f3b90f5

View File

@ -170,8 +170,14 @@ executable demo
main-is:
Main.hs
ghc-options:
-O2
-threaded
"-with-rtsopts=-N"
ghc-prof-options:
-O2
-threaded
-fprof-auto
"-with-rtsopts=-N -p -s -h -i0.1"
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
@ -199,7 +205,11 @@ benchmark benchmark
-O2
-threaded
"-with-rtsopts=-N"
-funbox-strict-fields
ghc-prof-options:
-O2
-threaded
-fprof-auto
"-with-rtsopts=-N -p -s -h -i0.1"
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language: