Use more memory for running Parser bench with --long
commit35bc11a0fc19ee49f4fd683f7d0c4645184dc78a
authorHarendra Kumar <harendra@composewell.com>
dateTue 31 Oct 2023, 23:45 (3 years ago)
parent79df417
benchmark/bench-runner/Main.hs+5
@@ -33,6 +33,11 @@ rtsOpts exeName benchName0 = unwords [general, exeSpecific, benchSpecific]
3333 | "Data.Fold/o-n-heap.key-value.toHashMapIO (max buckets) sum" == benchName =
3434 "-M64M"
3535
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+
3641 -----------------------------------------------------------------------
3742
3843 | "Prelude.Parallel/o-n-heap.mapping.mapM" == benchName = "-M256M"