-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbenchs
More file actions
280 lines (235 loc) · 12.3 KB
/
Copy pathbenchs
File metadata and controls
280 lines (235 loc) · 12.3 KB
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
running 24 tests
test clr::tests::dragon_book ... ignored
test clr::tests::puncs ... ignored
test clr::tests::scanner ... ignored
test clr::tests::serokell ... ignored
test clr::tests::ucalgary_uni_oth_lr1 ... ignored
test clr::tests::wikipedia ... ignored
test lalr::tests::dragon_book ... ignored
test lalr::tests::puncs ... ignored
test lalr::tests::scanner ... ignored
test lalr::tests::serokell ... ignored
test lalr::tests::ucalgary_uni_oth_lr1 ... ignored
test lalr::tests::wikipedia ... ignored
test slr::tests::dragon_book ... ignored
test slr::tests::puncs ... ignored
test slr::tests::scanner ... ignored
test slr::tests::serokell ... ignored
test slr::tests::ucalgary_uni_oth_lr1 ... ignored
test slr::tests::wikipedia ... ignored
test tabler::tests::dragon_book ... ignored
test tabler::tests::puncs ... ignored
test tabler::tests::scanner ... ignored
test tabler::tests::serokell ... ignored
test tabler::tests::ucalgary_uni_oth_lr1 ... ignored
test tabler::tests::wikipedia ... ignored
test result: ok. 0 passed; 0 failed; 24 ignored; 0 measured; 0 filtered out; finished in 0.00s
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Tabler setup:
dragon's book setup: 1.689186ms / 100 = ± 16.891µs/iter
serokell setup: 7.805607ms / 100 = ± 78.056µs/iter
ucalgary_uni_oth_lr1 setup: 6.120609ms / 100 = ± 61.206µs/iter
wikipedia setup: 2.479368ms / 100 = ± 24.793µs/iter
punctuations setup: 1.345345ms / 100 = ± 13.453µs/iter
scanner setup: 35.465972ms / 100 = ± 354.659µs/iter
Canonical LR productions:
dragon's book table production: 6.181578ms / 100 = ± 61.815µs/iter
serokell table production: 95.676563ms / 100 = ± 956.765µs/iter
ucalgary_uni_oth_lr1 table production: 23.492375ms / 100 = ± 234.923µs/iter
wikipedia table production: 23.633175ms / 100 = ± 236.331µs/iter
punctuations table production: 54.137969ms / 100 = ± 541.379µs/iter
scanner table production: 446.893884ms / 100 = ± 4.468938ms/iter
LALR(1) productions:
dragon's book table production: 8.84233ms / 100 = ± 88.423µs/iter
serokell table production: 89.154157ms / 100 = ± 891.541µs/iter
ucalgary_uni_oth_lr1 table production: 33.75415ms / 100 = ± 337.541µs/iter
wikipedia table production: 29.686113ms / 100 = ± 296.861µs/iter
punctuations table production: 88.853133ms / 100 = ± 888.531µs/iter
scanner table production: 498.529506ms / 100 = ± 4.985295ms/iter
SLR productions:
dragon's book table production: 3.731685ms / 100 = ± 37.316µs/iter
serokell table production: 13.989418ms / 100 = ± 139.894µs/iter
ucalgary_uni_oth_lr1 table production: 18.631288ms / 100 = ± 186.312µs/iter
wikipedia table production: 6.662434ms / 100 = ± 66.624µs/iter
punctuations table production: 12.05063ms / 100 = ± 120.506µs/iter
scanner table production: 121.330664ms / 100 = ± 1.213306ms/iter
Canonical LR's DFA:
dragon's book parsing inputs: 551.675µs / 100 = ± 5.516µs/iter
serokell parsing inputs: 878.32µs / 100 = ± 8.783µs/iter
ucalgary_uni_oth_lr1 parsing inputs: 703.365µs / 100 = ± 7.033µs/iter
wikipedia parsing inputs: 516.619µs / 100 = ± 5.166µs/iter
punctuations parsing inputs: 820.218µs / 100 = ± 8.202µs/iter
scanner parsing inputs: 5.261139ms / 100 = ± 52.611µs/iter
LALR(1)'s DFA:
dragon's book parsing inputs: 517.878µs / 100 = ± 5.178µs/iter
serokell parsing inputs: 757.57µs / 100 = ± 7.575µs/iter
ucalgary_uni_oth_lr1 parsing inputs: 615.446µs / 100 = ± 6.154µs/iter
wikipedia parsing inputs: 512.772µs / 100 = ± 5.127µs/iter
punctuations parsing inputs: 499.359µs / 100 = ± 4.993µs/iter
scanner parsing inputs: 5.376525ms / 100 = ± 53.765µs/iter
SLR's DFA:
dragon's book parsing inputs: 522.061µs / 100 = ± 5.22µs/iter
serokell parsing inputs: 764.977µs / 100 = ± 7.649µs/iter
ucalgary_uni_oth_lr1 parsing inputs: 620.747µs / 100 = ± 6.207µs/iter
wikipedia parsing inputs: 513.675µs / 100 = ± 5.136µs/iter
punctuations parsing inputs: 511.792µs / 100 = ± 5.117µs/iter
scanner parsing inputs: 5.41563ms / 100 = ± 54.156µs/iter
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
running 24 tests
test clr::tests::dragon_book ... ignored
test clr::tests::puncs ... ignored
test clr::tests::scanner ... ignored
test clr::tests::serokell ... ignored
test clr::tests::ucalgary_uni_oth_lr1 ... ignored
test clr::tests::wikipedia ... ignored
test lalr::tests::dragon_book ... ignored
test lalr::tests::puncs ... ignored
test lalr::tests::scanner ... ignored
test lalr::tests::serokell ... ignored
test lalr::tests::ucalgary_uni_oth_lr1 ... ignored
test lalr::tests::wikipedia ... ignored
test slr::tests::dragon_book ... ignored
test slr::tests::puncs ... ignored
test slr::tests::scanner ... ignored
test slr::tests::serokell ... ignored
test slr::tests::ucalgary_uni_oth_lr1 ... ignored
test slr::tests::wikipedia ... ignored
test tabler::tests::dragon_book ... ignored
test tabler::tests::puncs ... ignored
test tabler::tests::scanner ... ignored
test tabler::tests::serokell ... ignored
test tabler::tests::ucalgary_uni_oth_lr1 ... ignored
test tabler::tests::wikipedia ... ignored
test result: ok. 0 passed; 0 failed; 24 ignored; 0 measured; 0 filtered out; finished in 0.01s
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Tabler setup:
dragon's book setup: 1.684784ms / 100 = ± 16.847µs/iter
serokell setup: 4.592341ms / 100 = ± 45.923µs/iter
ucalgary_uni_oth_lr1 setup: 6.498239ms / 100 = ± 64.982µs/iter
wikipedia setup: 2.452058ms / 100 = ± 24.52µs/iter
punctuations setup: 1.290942ms / 100 = ± 12.909µs/iter
scanner setup: 35.877259ms / 100 = ± 358.772µs/iter
Canonical LR productions:
dragon's book table production: 6.195905ms / 100 = ± 61.959µs/iter
serokell table production: 95.559449ms / 100 = ± 955.594µs/iter
ucalgary_uni_oth_lr1 table production: 23.736403ms / 100 = ± 237.364µs/iter
wikipedia table production: 23.652864ms / 100 = ± 236.528µs/iter
punctuations table production: 54.959089ms / 100 = ± 549.59µs/iter
scanner table production: 448.517971ms / 100 = ± 4.485179ms/iter
LALR(1) productions:
dragon's book table production: 8.95086ms / 100 = ± 89.508µs/iter
serokell table production: 89.179085ms / 100 = ± 891.79µs/iter
ucalgary_uni_oth_lr1 table production: 33.838869ms / 100 = ± 338.388µs/iter
wikipedia table production: 29.669069ms / 100 = ± 296.69µs/iter
punctuations table production: 89.592057ms / 100 = ± 895.92µs/iter
scanner table production: 499.875068ms / 100 = ± 4.99875ms/iter
SLR productions:
dragon's book table production: 3.758649ms / 100 = ± 37.586µs/iter
serokell table production: 13.931945ms / 100 = ± 139.319µs/iter
ucalgary_uni_oth_lr1 table production: 18.726889ms / 100 = ± 187.268µs/iter
wikipedia table production: 6.76231ms / 100 = ± 67.623µs/iter
punctuations table production: 12.071508ms / 100 = ± 120.715µs/iter
scanner table production: 122.249912ms / 100 = ± 1.222499ms/iter
Canonical LR's DFA:
dragon's book parsing inputs: 512.843µs / 100 = ± 5.128µs/iter
serokell parsing inputs: 863.1µs / 100 = ± 8.631µs/iter
ucalgary_uni_oth_lr1 parsing inputs: 661.746µs / 100 = ± 6.617µs/iter
wikipedia parsing inputs: 483.791µs / 100 = ± 4.837µs/iter
punctuations parsing inputs: 825.725µs / 100 = ± 8.257µs/iter
scanner parsing inputs: 5.213583ms / 100 = ± 52.135µs/iter
LALR(1)'s DFA:
dragon's book parsing inputs: 490.701µs / 100 = ± 4.907µs/iter
serokell parsing inputs: 739.412µs / 100 = ± 7.394µs/iter
ucalgary_uni_oth_lr1 parsing inputs: 603.154µs / 100 = ± 6.031µs/iter
wikipedia parsing inputs: 510.753µs / 100 = ± 5.107µs/iter
punctuations parsing inputs: 490.632µs / 100 = ± 4.906µs/iter
scanner parsing inputs: 5.271057ms / 100 = ± 52.71µs/iter
SLR's DFA:
dragon's book parsing inputs: 485.469µs / 100 = ± 4.854µs/iter
serokell parsing inputs: 721.397µs / 100 = ± 7.213µs/iter
ucalgary_uni_oth_lr1 parsing inputs: 624.944µs / 100 = ± 6.249µs/iter
wikipedia parsing inputs: 492.873µs / 100 = ± 4.928µs/iter
punctuations parsing inputs: 480.235µs / 100 = ± 4.802µs/iter
scanner parsing inputs: 5.343005ms / 100 = ± 53.43µs/iter
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
running 24 tests
test clr::tests::dragon_book ... ignored
test clr::tests::puncs ... ignored
test clr::tests::scanner ... ignored
test clr::tests::serokell ... ignored
test clr::tests::ucalgary_uni_oth_lr1 ... ignored
test clr::tests::wikipedia ... ignored
test lalr::tests::dragon_book ... ignored
test lalr::tests::puncs ... ignored
test lalr::tests::scanner ... ignored
test lalr::tests::serokell ... ignored
test lalr::tests::ucalgary_uni_oth_lr1 ... ignored
test lalr::tests::wikipedia ... ignored
test slr::tests::dragon_book ... ignored
test slr::tests::puncs ... ignored
test slr::tests::scanner ... ignored
test slr::tests::serokell ... ignored
test slr::tests::ucalgary_uni_oth_lr1 ... ignored
test slr::tests::wikipedia ... ignored
test tabler::tests::dragon_book ... ignored
test tabler::tests::puncs ... ignored
test tabler::tests::scanner ... ignored
test tabler::tests::serokell ... ignored
test tabler::tests::ucalgary_uni_oth_lr1 ... ignored
test tabler::tests::wikipedia ... ignored
test result: ok. 0 passed; 0 failed; 24 ignored; 0 measured; 0 filtered out; finished in 0.03s
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Tabler setup:
dragon's book setup: 1.089457ms / 100 = ± 10.894µs/iter
serokell setup: 3.134402ms / 100 = ± 31.344µs/iter
ucalgary_uni_oth_lr1 setup: 4.414388ms / 100 = ± 44.143µs/iter
wikipedia setup: 1.968753ms / 100 = ± 19.687µs/iter
punctuations setup: 1.356807ms / 100 = ± 13.568µs/iter
scanner setup: 40.988039ms / 100 = ± 409.88µs/iter
Canonical LR productions:
dragon's book table production: 5.430024ms / 100 = ± 54.3µs/iter
serokell table production: 96.819445ms / 100 = ± 968.194µs/iter
ucalgary_uni_oth_lr1 table production: 22.553991ms / 100 = ± 225.539µs/iter
wikipedia table production: 22.514113ms / 100 = ± 225.141µs/iter
punctuations table production: 54.656542ms / 100 = ± 546.565µs/iter
scanner table production: 466.764848ms / 100 = ± 4.667648ms/iter
LALR(1) productions:
dragon's book table production: 8.140067ms / 100 = ± 81.4µs/iter
serokell table production: 92.774025ms / 100 = ± 927.74µs/iter
ucalgary_uni_oth_lr1 table production: 32.498974ms / 100 = ± 324.989µs/iter
wikipedia table production: 28.281386ms / 100 = ± 282.813µs/iter
punctuations table production: 90.222447ms / 100 = ± 902.224µs/iter
scanner table production: 544.708704ms / 100 = ± 5.447087ms/iter
SLR productions:
dragon's book table production: 3.746144ms / 100 = ± 37.461µs/iter
serokell table production: 13.566394ms / 100 = ± 135.663µs/iter
ucalgary_uni_oth_lr1 table production: 25.972788ms / 100 = ± 259.727µs/iter
wikipedia table production: 7.627229ms / 100 = ± 76.272µs/iter
punctuations table production: 13.378807ms / 100 = ± 133.788µs/iter
scanner table production: 153.743303ms / 100 = ± 1.537433ms/iter
Canonical LR's DFA:
dragon's book parsing inputs: 489.097µs / 100 = ± 4.89µs/iter
serokell parsing inputs: 874.904µs / 100 = ± 8.749µs/iter
ucalgary_uni_oth_lr1 parsing inputs: 645.682µs / 100 = ± 6.456µs/iter
wikipedia parsing inputs: 451.878µs / 100 = ± 4.518µs/iter
punctuations parsing inputs: 829.222µs / 100 = ± 8.292µs/iter
scanner parsing inputs: 5.443081ms / 100 = ± 54.43µs/iter
LALR(1)'s DFA:
dragon's book parsing inputs: 471.011µs / 100 = ± 4.71µs/iter
serokell parsing inputs: 711.265µs / 100 = ± 7.112µs/iter
ucalgary_uni_oth_lr1 parsing inputs: 614.956µs / 100 = ± 6.149µs/iter
wikipedia parsing inputs: 457.46µs / 100 = ± 4.574µs/iter
punctuations parsing inputs: 504.394µs / 100 = ± 5.043µs/iter
scanner parsing inputs: 5.41061ms / 100 = ± 54.106µs/iter
SLR's DFA:
dragon's book parsing inputs: 480.155µs / 100 = ± 4.801µs/iter
serokell parsing inputs: 731.44µs / 100 = ± 7.314µs/iter
ucalgary_uni_oth_lr1 parsing inputs: 623.538µs / 100 = ± 6.235µs/iter
wikipedia parsing inputs: 454.389µs / 100 = ± 4.543µs/iter
punctuations parsing inputs: 496.361µs / 100 = ± 4.963µs/iter
scanner parsing inputs: 5.502308ms / 100 = ± 55.023µs/iter