forked from wrengr/bytestring-trie
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtest.log
178 lines (133 loc) · 4.12 KB
/
test.log
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
Data.Trie.TextInternal.Test
("hello","","")
("hello","","")
("h","ello","i")
("h","ello","i")
("he","llo","at")
("he","llo","at")
("hel","lo","d")
("hel","lo","d")
("hell","o","")
("hell","o","")
("hello","","")
("hello","","")
("","hello","jello")
("","hello","jello")
End: Data.Trie.TextInternal.Test
Data.Trie.Text.Test
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hunit:
quickcheck @ Int (Text):
prop_insert
+++ OK, passed 500 tests.
prop_singleton
+++ OK, passed 5000 tests.
prop_size_insert
+++ OK, passed 500 tests.
prop_size_delete
+++ OK, passed 500 tests.
prop_insert_delete
+++ OK, passed 500 tests.
prop_delete_lookup
+++ OK, passed 500 tests.
prop_submap1
+++ OK, passed 500 tests.
prop_submap2
+++ OK, passed 500 tests.
prop_submap3
+++ OK, passed 500 tests.
prop_toList
+++ OK, passed 500 tests.
prop_fromList_takes_first
+++ OK, passed 500 tests.
prop_fromListR_takes_first
+++ OK, passed 500 tests.
prop_fromListL_takes_first
+++ OK, passed 500 tests.
prop_fromListS_takes_first
+++ OK, passed 500 tests.
prop_fromListWithConst_takes_first
+++ OK, passed 500 tests.
prop_fromListWithLConst_takes_first
+++ OK, passed 500 tests.
prop_lengthElem_is_length_toListElem
+++ OK, passed 500 tests.
smallcheck @ () (Text):
prop_insert
Completed 410 tests without failure.
prop_singleton
Completed 8660 tests without failure.
prop_size_insert
Completed 410 tests without failure.
But 22 did not meet ==> condition.
prop_size_delete
Completed 410 tests without failure.
But 22 did not meet ==> condition.
prop_insert_delete
Completed 410 tests without failure.
But 22 did not meet ==> condition.
prop_delete_lookup
Completed 410 tests without failure.
But 22 did not meet ==> condition.
prop_submap1
Completed 410 tests without failure.
prop_submap2
Completed 410 tests without failure.
End: Data.Trie.Text.Test
FromListBench
* fromListR obverse: .................
44.499ns per iteration / 22472.57 per second.
* fromListL obverse: ..............
188.917ns per iteration / 5293.32 per second.
* fromListR reverse: ..............
282.445ns per iteration / 3540.51 per second.
* fromListL reverse: .................
44.957ns per iteration / 22243.56 per second.
* fromListR obverse sorted: .................
46.250ns per iteration / 21621.59 per second.
* fromListL obverse sorted: ..............
179.668ns per iteration / 5565.83 per second.
* fromListR reverse sorted: .................
44.011ns per iteration / 22721.55 per second.
* fromListL reverse sorted: ..............
169.227ns per iteration / 5909.23 per second.
End: FromListBench
FromListBench.Text
* fromListR obverse: .................
45.306ns per iteration / 22071.96 per second.
* fromListL obverse: ..............
269.202ns per iteration / 3714.68 per second.
* fromListR reverse: ..............
366.425ns per iteration / 2729.07 per second.
* fromListL reverse: .................
44.477ns per iteration / 22483.34 per second.
* fromListR obverse sorted: ................
50.894ns per iteration / 19648.77 per second.
* fromListL obverse sorted: ..............
278.447ns per iteration / 3591.35 per second.
* fromListR reverse sorted: ................
52.973ns per iteration / 18877.69 per second.
* fromListL reverse sorted: ..............
302.306ns per iteration / 3307.91 per second.
End: FromListBench.Text
FromListBench.Text.Encode
* fromListR obverse: ...............
175.814ns per iteration / 5687.84 per second.
* fromListL obverse: ..............
421.238ns per iteration / 2373.95 per second.
* fromListR reverse: ..............
357.746ns per iteration / 2795.28 per second.
* fromListL reverse: ...............
151.781ns per iteration / 6588.46 per second.
* fromListR obverse sorted: ...............
175.879ns per iteration / 5685.72 per second.
* fromListL obverse sorted: ..............
329.390ns per iteration / 3035.92 per second.
* fromListR reverse sorted: ...............
177.095ns per iteration / 5646.68 per second.
* fromListL reverse sorted: ..............
354.499ns per iteration / 2820.88 per second.
End: FromListBench.Text.Encode
TrieFile.Text
No Trie file to benchmark
End: TrieFile.Text