on master help sign in
Increase memory limit for some dev flag benchmarks
commit1c6c2d03463d35faa69b27aff47662fe3147aaaa authorHarendra Kumar <harendra@composewell.com> dateTue 30 Nov 2021, 00:14 (5 years ago) parent25e2dd5
1 file changed+12−3
benchmark/streamly-benchmarks.cabal+12−3
benchmark/streamly-benchmarks.cabal+12−3
@@ -197,7 +197,10 @@ benchmark Prelude.Serial
197197 else
198198 buildable: True
199199 if flag(limit-build-mem)
200− ghc-options: +RTS -M2000M -RTS
200+ if flag(dev)
201+ ghc-options: +RTS -M3500M -RTS
202+ else
203+ ghc-options: +RTS -M2000M -RTS
201204
202205
203206benchmark Prelude.WSerial
@@ -317,7 +320,10 @@ benchmark Data.Parser.ParserD
317320 buildable: True
318321 build-depends: exceptions >= 0.8 && < 0.11
319322 if flag(limit-build-mem)
320− ghc-options: +RTS -M750M -RTS
323+ if flag(dev)
324+ ghc-options: +RTS -M3000M -RTS
325+ else
326+ ghc-options: +RTS -M750M -RTS
321327
322328benchmark Data.Parser.ParserK
323329 import: bench-options
@@ -357,7 +363,10 @@ benchmark Data.Parser
357363 buildable: True
358364 build-depends: exceptions >= 0.8 && < 0.11
359365 if flag(limit-build-mem)
360− ghc-options: +RTS -M1000M -RTS
366+ if flag(dev)
367+ ghc-options: +RTS -M3000M -RTS
368+ else
369+ ghc-options: +RTS -M1000M -RTS
361370
362371-------------------------------------------------------------------------------
363372-- Raw Streams