1{-# LANGUAGE TupleSections #-}
2{-# LANGUAGE ScopedTypeVariables #-}
8import BenchGraph (bgraph, defaultConfig, Config(..), ComparisonStyle(..))
9import Control.Exception (handle, catch, SomeException, ErrorCall)
13 let cfg = defaultConfig
14 { outputDir = "charts"
15 , comparisonStyle = CompareFull
18 ignoringErr a = catch a (\(_ :: ErrorCall) ->
19 putStrLn "Failed. Skipping.")
20 -- bgraph <input> <output> <field in csv file to be plotted>
21 -- other interesting fields to plot are:
26 ignoringErr $ bgraph "charts/results.csv" "nested-ops" "time" $ cfg
27 { chartTitle = Just "Nested operations (time)"
28 , classifyBenchmark = \b ->
29 let ls = splitOn "/" b
32 _ -> Just (head ls, last ls)
33 , sortBenchmarks = nub
34 , comparisonStyle = CompareFull
37 ignoringErr $ bgraph "charts/results.csv" "nested-serial-comparative" "time" $ cfg
38 { chartTitle = Just "Nested serial comparative (time)"
39 , classifyBenchmark = \b ->
40 let ls = splitOn "/" b
42 "streamly" -> Just (head ls, last ls)
44 , sortBenchmarks = nub
45 , comparisonStyle = CompareDelta
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