mirror of
https://github.com/composewell/streamly.git
synced 2024-08-16 15:00:25 +03:00
Fix the space requirements of two benchmarks
Move showInstance benchmark for pure streams to o-n-space Increase the heap space for array map x 4
This commit is contained in:
parent
e09428332c
commit
424f1e9871
@ -471,7 +471,6 @@ o_1_space_elimination_folds value =
|
||||
, benchIOSink value "and" (and value)
|
||||
, benchIOSink value "or" (or value)
|
||||
|
||||
, benchPureSink value "showsPrec pure streams" showInstance
|
||||
-- length is used to check for foldr/build fusion
|
||||
, benchPureSink value "length . IsList.toList" (Prelude.length . GHC.toList)
|
||||
]
|
||||
@ -513,6 +512,8 @@ o_n_heap_elimination_buffered value =
|
||||
-- XXX can the outputs be streaming? Can we have special read/show
|
||||
-- style type classes, readM/showM supporting streaming effects?
|
||||
[ bench "showPrec Haskell lists" $ nf showInstanceList (mkList value)
|
||||
-- XXX This is not o-1-space for GHC-8.10
|
||||
, benchPureSink value "showsPrec pure streams" showInstance
|
||||
]
|
||||
]
|
||||
|
||||
|
@ -102,6 +102,8 @@ bench_rts_opts_specific () {
|
||||
Data.SmallArray/o-1-sp*) echo -n "-K128K" ;;
|
||||
# For tasty-bench
|
||||
Data.Array*/o-1-space/generation/show) echo -n "-M32M" ;;
|
||||
# XXX For GHC-8.10
|
||||
Data.Array/o-1-space/transformationX4/map) echo -n "-M32M" ;;
|
||||
*) echo -n "" ;;
|
||||
esac
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user