File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 42
42
stack bench --ghc-options=-Werror --stack-yaml=$STACK_YAML || stack bench --ghc-options=-Werror --stack-yaml=$STACK_YAML || stack bench --ghc-options=-Werror --stack-yaml=$STACK_YAML
43
43
displayName: 'stack bench --ghc-options=-Werror'
44
44
- bash : |
45
- cat bench-results/results.csv
45
+ column -s, -t < bench-results/results.csv
46
46
displayName: "cat results"
47
47
- publish : bench-results
48
48
artifact : benchmarks
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ import System.FilePath
65
65
import qualified Text.ParserCombinators.ReadP as P
66
66
import Text.Read (Read (.. ), get , readMaybe , readP_to_Prec )
67
67
import GHC.Stack (HasCallStack )
68
+ import Data.List (transpose )
68
69
69
70
config :: FilePath
70
71
config = " bench/config.yaml"
@@ -238,7 +239,7 @@ main = shakeArgs shakeOptions {shakeChange = ChangeModtimeAndDigest} $ do
238
239
header' = " version, " <> header
239
240
results' = zipWith (\ v -> map (\ l -> v <> " , " <> l)) versions results
240
241
241
- writeFileChanged out $ unlines $ header' : concat results'
242
+ writeFileChanged out $ unlines $ header' : interleave results'
242
243
243
244
priority 2 $
244
245
build -/- " */*/*.diff.svg" %> \ out -> do
@@ -482,6 +483,9 @@ unescapeExperiment = Unescaped . map f . escaped
482
483
f ' _' = ' '
483
484
f other = other
484
485
486
+ interleave :: [[a ]] -> [a ]
487
+ interleave = concat . transpose
488
+
485
489
myColors :: [E. AlphaColour Double ]
486
490
myColors = map E. opaque
487
491
[ E. blue
You can’t perform that action at this time.
0 commit comments