Permalink
Browse files

Enable GC between runs by default

  • Loading branch information...
1 parent 9be04d9 commit 972d9a482f961864a04bd29c1388a844f18d91b5 @bos committed Feb 5, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 Criterion/Config.hs
  2. +1 −1 Criterion/Main.hs
View
@@ -75,7 +75,7 @@ defaultConfig = Config {
cfgBanner = ljust "I don't know what version I am."
, cfgConfInterval = ljust 0.95
, cfgMatchType = ljust Prefix
- , cfgPerformGC = ljust False
+ , cfgPerformGC = ljust True
, cfgPrintExit = Nada
, cfgResamples = ljust (100 * 1000)
, cfgReport = mempty
View
@@ -102,7 +102,7 @@ defaultOptions = [
, Option ['G'] ["no-gc"] (noArg mempty { cfgPerformGC = ljust False })
"do not collect garbage between iterations"
, Option ['g'] ["gc"] (noArg mempty { cfgPerformGC = ljust True })
- "collect garbage between iterations"
+ "collect garbage between iterations (default)"
, Option ['I'] ["ci"] (ReqArg ci "CI")
"bootstrap confidence interval"
, Option ['l'] ["list"] (noArg mempty { cfgPrintExit = List })

0 comments on commit 972d9a4

Please sign in to comment.