@@ -1,55 +1,149 @@
11module Targets
2− ( groupTargets
3− , individualTargets
2+ ( targets
43 )
54where
65
7−import Data.Map (Map)
6+targets :: [(String, [String])]
7+targets =
8+ [ -- Base streams
9+ ("Data.Stream.StreamD",
10+ [ "base_stream_grp"
11+ , "base_stream_cmp"
12+ , "noTest"
13+ ]
14+ )
15+ , ("Data.Stream.StreamK",
16+ [ "base_stream_grp"
17+ , "base_stream_cmp"
18+ , "noTest"
19+ ]
20+ )
21+ , ("Data.Stream.StreamDK",
22+ [ "base_stream_grp"
23+ , "noTest"
24+ ]
25+ )
826
9−import qualified Data.Map as Map
27+ -- Streams
28+ , ("Prelude.Serial", ["serial_wserial_cmp"])
29+ , ("Prelude.WSerial", ["serial_wserial_cmp"])
30+ , ("Prelude.Serial",
31+ [ "prelude_serial_grp"
32+ , "infinite_grp"
33+ , "serial_wserial_cmp"
34+ , "serial_async_cmp"
35+ ]
36+ )
37+ , ("Prelude.WSerial",
38+ [ "prelude_serial_grp"
39+ , "infinite_grp"
40+ , "serial_wserial_cmp"
41+ ]
42+ )
43+ , ("Prelude.ZipSerial",
44+ [ "prelude_serial_grp"
45+ , "infinite_grp"
46+ ]
47+ )
48+ , ("Prelude.Async",
49+ [ "prelude_concurrent_grp"
50+ , "infinite_grp"
51+ , "concurrent_cmp"
52+ , "serial_async_cmp"
53+ ]
54+ )
55+ , ("Prelude.WAsync",
56+ [ "prelude_concurrent_grp"
57+ , "infinite_grp"
58+ , "concurrent_cmp"
59+ ]
60+ )
61+ , ("Prelude.Ahead",
62+ [ "prelude_concurrent_grp"
63+ , "infinite_grp"
64+ , "concurrent_cmp"
65+ ]
66+ )
67+ , ("Prelude.Parallel",
68+ [ "prelude_concurrent_grp"
69+ , "infinite_grp"
70+ , "concurrent_cmp"
71+ ]
72+ )
73+ , ("Prelude.ZipAsync",
74+ [ "prelude_concurrent_grp"
75+ , "infinite_grp"
76+ ]
77+ )
78+ , ("Prelude.Concurrent", [ "prelude_other_grp" ])
79+ , ("Prelude.Rate",
80+ [ "prelude_other_grp"
81+ , "infinite_grp"
82+ , "testDevOnly"
83+ ]
84+ )
85+ , ("Prelude.Adaptive",
86+ [ "prelude_other_grp"
87+ , "noTest"
88+ ]
89+ )
1090
11−groupTargets :: Map String [String]
12−groupTargets =
13− Map.fromList
14− [ ( "base_stream_grp"
15− , [ "Data.Stream.StreamD"
16− , "Data.Stream.StreamK"
17− , "Data.Stream.StreamDK"
18− ])
19− , ("prelude_serial_grp", preludeSerialGrp)
20− , ("prelude_concurrent_grp", preludeConcurrentGrp)
21− , ( "prelude_other_grp"
22− , ["Prelude.Rate", "Prelude.Concurrent", "Prelude.Adaptive"])
23− , ( "array_grp"
24− , [ "Data.Array"
25− , "Data.Array.Foreign"
26− , "Data.Array.Prim"
27− , "Data.SmallArray"
28− , "Data.Array.Prim.Pinned"
29− ])
30− , ("base_parser_grp", ["Data.Parser.ParserD", "Data.Parser.ParserK"])
31− , ("parser_grp", ["Data.Fold", "Data.Parser"])
32− , ("list_grp ", [])
33− , ( "infinite_grp"
34− , preludeSerialGrp ++ preludeConcurrentGrp ++ ["Prelude.Rate"])
35− ]
91+ -- Arrays
92+ , ("Data.Array",
93+ [ "array_grp"
94+ , "array_cmp"
95+ ]
96+ )
97+ , ("Data.Array.Foreign",
98+ [ "array_grp"
99+ , "array_cmp"
100+ , "pinned_array_cmp"
101+ ]
102+ )
103+ , ("Data.Array.Prim",
104+ [ "array_grp"
105+ , "array_cmp"
106+ ]
107+ )
108+ , ("Data.Array.Prim.Pinned",
109+ [ "array_grp"
110+ , "array_cmp"
111+ , "pinned_array_cmp"
112+ ]
113+ )
114+ , ("Data.SmallArray",
115+ [ "array_grp" ]
116+ )
36117
37− where
118+ -- Parsers
119+ , ("Data.Parser.ParserD",
120+ [ "base_parser_grp"
121+ , "base_parser_cmp"
122+ ]
123+ )
124+ , ("Data.Parser.ParserK",
125+ [ "base_parser_grp"
126+ , "base_parser_cmp"
127+ , "noTest"
128+ ]
129+ )
130+ , ("Data.Fold", [ "parser_grp" ])
131+ , ("Data.Parser", [ "parser_grp" ])
38132
39− preludeSerialGrp = ["Prelude.Serial", "Prelude.WSerial", "Prelude.ZipSerial"]
40− preludeConcurrentGrp =
41− [ "Prelude.Async"
42− , "Prelude.WAsync"
43− , "Prelude.Ahead"
44− , "Prelude.Parallel"
45− , "Prelude.ZipAsync"
46− ]
133+ , ("Data.Unfold", [])
134+ , ("FileSystem.Handle", [])
135+ , ("Unicode.Stream", [])
136+ , ("Unicode.Utf8", ["noTest"])
137+ , ("Unicode.Char", ["testDevOnly"])
47138
48−individualTargets :: [String]
49−individualTargets =
50− [ "Data.Unfold"
51− , "Unicode.Stream"
52− , "Unicode.Char"
53− , "Unicode.Utf8"
54− , "FileSystem.Handle"
139+ -- test only, no benchmarks
140+ , ("Prelude", ["prelude_other_grp", "noBench"])
141+ , ("Prelude.Fold", ["prelude_other_grp", "noBench"])
142+ , ("FileSystem.Event", ["noBench"])
143+ , ("Network.Socket", ["noBench"])
144+ , ("Network.Inet.TCP", ["noBench"])
145+ , ("version-bounds", ["noBench"])
146+
147+ , ("Data.List", ["list_grp", "noBench"])
148+ , ("Data.List.Base", ["list_grp", "noBench"])
55149 ]