-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathunicast-test.hs
63 lines (45 loc) · 1.07 KB
/
unicast-test.hs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
module Main where
import Test.BChan
import Test.BChanFast
import Test.BChanVFast
import Test.BTChan
import Test.Chan
import Test.Dequeue
import Test.Queue
import Test.ManyQueue
import Test.ManyQueueStrict
import Test.ManyQueueVector
import Test.IORefQueue
import Test.MVarBatchQueue
import Test.ManyQueueStream
import Conf
import Util
main = do
print iTERATIONS
-- timed (print ())
-- runTest boundedChanTest
-- runTest boundedChanTestFast
-- runTest boundedChanTestVFast
--
-- runTest testManyQueue'1P3C
runTest testManyQueue'2P2C'singleQueue
runTest testManyQueue'1P1C
runTest testMQueue'1P1C
runTest testMVarBatchQueue'1P1C
-- runTest testIORefQueue'1P1C
-- runTest testIORefQueue'1P1C'Batch
--
-- runTest testManyQueueStrict'1P1C
-- runTest testManyQueueStrict'1P3C
--
-- runTest testManyQueueVector'1P1C
-- runTest testManyQueueVector'1P3C
-- TOO SLOW:
-- runTest boundedTChanTest
-- runTest testDequeue
-- UNBOUNDED MEMORY:
-- runTest testQueue1
-- runTest chanTest
-- 1P3C
-- runTest testQueue'1P1C
-- runTest testQueue'1P3C