on master help sign in
Use more memory for running Parser bench with --long
35bc11aHarendra Kumar
benchmark/bench-runner/Main.hs+5
@@ -33,6 +33,11 @@ rtsOpts exeName benchName0 = unwords [general, exeSpecific, benchSpecific]
33 | "Data.Fold/o-n-heap.key-value.toHashMapIO (max buckets) sum" == benchName =
33 | "Data.Fold/o-n-heap.key-value.toHashMapIO (max buckets) sum" == benchName =
34 "-M64M"
34 "-M64M"
35
35
36+ -- This is required only for the --long case because we allocate all
37+ -- the arrays upfront. depends on the size of the stream.
38+ | "Data.Parser/o-1-space" `isPrefixOf` benchName =
39+ "-M128M"
40+
36 -----------------------------------------------------------------------
41 -----------------------------------------------------------------------
37
42
38 | "Prelude.Parallel/o-n-heap.mapping.mapM" == benchName = "-M256M"
43 | "Prelude.Parallel/o-n-heap.mapping.mapM" == benchName = "-M256M"