on master help sign in
Add benchmark for uncons
commit406deb4d64e62554cc27bd5e74f48b8be4003819 authorBryan O'Sullivan <bos@serpentine.com> dateTue 22 Dec 2015, 12:02 (11 years ago) parent6eaebff
1 file changed+7
benchmarks/haskell/Benchmarks/Pure.hs+7
benchmarks/haskell/Benchmarks/Pure.hs+7
@@ -262,6 +262,13 @@ benchmark kind fp = do
262262 , benchBSL $ nf (BL.map toUpper) bla
263263 , benchS $ nf (L.map toUpper) sa
264264 ]
265+ , bgroup "uncons"
266+ [ benchT $ nf T.uncons ta
267+ , benchTL $ nf TL.uncons tla
268+ , benchBS $ nf BS.uncons bsa
269+ , benchBSL $ nf BL.uncons bla
270+ , benchS $ nf L.uncons sa
271+ ]
265272 , bgroup "words"
266273 [ benchT $ nf T.words ta
267274 , benchTL $ nf TL.words tla