2-- Module : NestedUnfold
3-- Copyright : (c) 2019 Composewell Technologies
6-- Maintainer : streamly@composewell.com
8import Control.DeepSeq (NFData)
9import System.Random (randomRIO)
11import qualified NestedUnfoldOps as Ops
15benchIO :: (NFData b) => String -> (Int -> IO b) -> Benchmark
16benchIO name f = bench name $ nfIO $ randomRIO (1,1) >>= f
22 [ benchIO "toNull" $ Ops.toNull
23 , benchIO "toNull3" $ Ops.toNull3
24 , benchIO "concat" $ Ops.concat
25 , benchIO "toList" $ Ops.toList
26 , benchIO "toListSome" $ Ops.toListSome
27 , benchIO "filterAllOut" $ Ops.filterAllOut
28 , benchIO "filterAllIn" $ Ops.filterAllIn
29 , benchIO "filterSome" $ Ops.filterSome
30 , benchIO "breakAfterSome" $ Ops.breakAfterSome
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list