File tree Expand file tree Collapse file tree 3 files changed +11
-190
lines changed
Expand file tree Collapse file tree 3 files changed +11
-190
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22-- Copyright: (c) 2022 Andrew Lelechenko
33-- Licence: BSD3
44-- Maintainer: Andrew Lelechenko <[email protected] > 5+
56module Main where
67
78import Test.Tasty.Bench
89import Test.Tasty.Patterns.Printer
910
1011import BenchChar
1112import BenchDecimal
12- import BenchDecimalUnbounded (benchDecimalUnbounded )
1313import BenchDouble
1414import BenchHexadecimal
1515import BenchText
1616
1717main ∷ IO ()
18- main =
19- defaultMain $
20- map (mapLeafBenchmarks addCompare) $
21- [ benchText
22- , benchChar
23- , benchDecimal
24- , benchDecimalUnbounded
25- , benchHexadecimal
26- , benchDouble
27- ]
18+ main = defaultMain $ map (mapLeafBenchmarks addCompare) $
19+ [ benchText
20+ , benchChar
21+ , benchDecimal
22+ , benchHexadecimal
23+ , benchDouble
24+ ]
2825
29- textBenchName ∷ String
30- -- textBenchName = "Data.Text.Lazy.Builder"
31- textBenchName = " Data.ByteString.Builder"
26+ textBenchName :: String
27+ textBenchName = " Data.Text.Lazy.Builder"
3228
33- addCompare ∷ ([String ] → Benchmark → Benchmark )
29+ addCompare :: ([String ] -> Benchmark -> Benchmark )
3430addCompare (name : path)
3531 | name /= textBenchName = bcompare (printAwkExpr (locateBenchmark (textBenchName : path)))
3632addCompare _ = id
Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ benchmark linear-builder-bench
8080 other-modules :
8181 BenchChar
8282 BenchDecimal
83- BenchDecimalUnbounded
8483 BenchDouble
8584 BenchHexadecimal
8685 BenchText
You can’t perform that action at this time.
0 commit comments