-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtiming-report.txt
318 lines (288 loc) · 8.14 KB
/
timing-report.txt
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
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
LLVM
execution 1
0.000008 int main()
0.000068 {
0.000079 int x = 0;
0.000086 int i = 0;
0.000093 while (i < 10) {
0.000100 x += 1;
0.000106 i++;
0.000112 }
0.000119 return x;
0.000126 }
real 0m0.020s
user 0m0.028s
sys 0m0.000s
execution 2
0.000012 int main()
0.000111 {
0.000126 int x = 0;
0.000138 int i = 0;
0.000148 while (i < 10) {
0.000158 x += 1;
0.000182 i++;
0.000189 }
0.000196 return x;
0.000203 }
real 0m0.019s
user 0m0.028s
sys 0m0.000s
execution 3
0.000013 int main()
0.000119 {
0.000133 int x = 0;
0.000143 int i = 0;
0.000173 while (i < 10) {
0.000180 x += 1;
0.000187 i++;
0.000194 }
0.000229 return x;
0.000259 }
real 0m0.027s
user 0m0.027s
sys 0m0.010s
execution 4
0.000011 int main()
0.000091 {
0.000106 int x = 0;
0.000115 int i = 0;
0.000124 while (i < 10) {
0.000133 x += 1;
0.000141 i++;
0.000149 }
0.000177 return x;
0.000370 }
real 0m0.025s
user 0m0.025s
sys 0m0.011s
execution 5
0.000009 int main()
0.000071 {
0.000084 int x = 0;
0.000092 int i = 0;
0.000100 while (i < 10) {
0.000107 x += 1;
0.000114 i++;
0.000122 }
0.000129 return x;
0.000136 }
real 0m0.024s
user 0m0.024s
sys 0m0.009s
Joern
execution 1
0.564209 executing /root/tools/joern_example.sc with params=Map(inDirectory -> data, inFile -> data/loop_exchange.c)
3.429778 Using generator for language: C
3.441463 Creating project `project` for code at `data`
3.443358 Project with name project already exists - overwriting
5.026527 moving cpg.bin.zip to cpg.bin because it is already a database file
5.031587 Creating working copy of CPG to be safe
5.032401 Loading base CPG from: /root/workspace/project/cpg.bin.tmp
5.220765 Adding default overlays to base CPG
5.508398 The graph has been modified. You may want to use the `save` command to persist changes to disk. All changes will also be saved collectively on exit
5.508457 Code successfully imported. You can now query it using `cpg`.
5.508472 For an overview of all imported code, type `workspace`.
5.551941 int main()
5.552011 {
5.552025 int x = 0;
5.552036 int i = 0;
5.552048 while (i < 10)
5.552059 {
5.552069 x += 1;
5.552079 i ++;
5.552090 }
5.552101 return x;
5.552111 }
5.552394 script finished successfully
5.552440 ()
real 0m5.607s
user 0m13.357s
sys 0m0.907s
execution 2
0.763351 executing /root/tools/joern_example.sc with params=Map(inDirectory -> data, inFile -> data/loop_exchange.c)
4.278253 Using generator for language: C
4.291413 Creating project `project` for code at `data`
4.292987 Project with name project already exists - overwriting
5.892057 moving cpg.bin.zip to cpg.bin because it is already a database file
5.896276 Creating working copy of CPG to be safe
5.897009 Loading base CPG from: /root/workspace/project/cpg.bin.tmp
6.092227 Adding default overlays to base CPG
6.373564 The graph has been modified. You may want to use the `save` command to persist changes to disk. All changes will also be saved collectively on exit
6.373613 Code successfully imported. You can now query it using `cpg`.
6.373624 For an overview of all imported code, type `workspace`.
6.414675 int main()
6.414751 {
6.414781 int x = 0;
6.414790 int i = 0;
6.414797 while (i < 10)
6.414804 {
6.414812 x += 1;
6.414820 i ++;
6.414828 }
6.414835 return x;
6.414842 }
6.415107 script finished successfully
6.415135 ()
real 0m6.490s
user 0m15.883s
sys 0m1.035s
execution 3
0.628214 executing /root/tools/joern_example.sc with params=Map(inDirectory -> data, inFile -> data/loop_exchange.c)
3.734224 Using generator for language: C
3.749427 Creating project `project` for code at `data`
3.751681 Project with name project already exists - overwriting
5.486720 moving cpg.bin.zip to cpg.bin because it is already a database file
5.490791 Creating working copy of CPG to be safe
5.491959 Loading base CPG from: /root/workspace/project/cpg.bin.tmp
5.753009 Adding default overlays to base CPG
6.023626 The graph has been modified. You may want to use the `save` command to persist changes to disk. All changes will also be saved collectively on exit
6.023695 Code successfully imported. You can now query it using `cpg`.
6.023709 For an overview of all imported code, type `workspace`.
6.063141 int main()
6.063206 {
6.063219 int x = 0;
6.063228 int i = 0;
6.063237 while (i < 10)
6.063245 {
6.063254 x += 1;
6.063264 i ++;
6.063273 }
6.063281 return x;
6.063290 }
6.063584 script finished successfully
6.063634 ()
real 0m6.127s
user 0m14.612s
sys 0m1.001s
execution 4
0.633046 executing /root/tools/joern_example.sc with params=Map(inDirectory -> data, inFile -> data/loop_exchange.c)
4.467211 Using generator for language: C
4.480157 Creating project `project` for code at `data`
4.481993 Project with name project already exists - overwriting
6.401920 moving cpg.bin.zip to cpg.bin because it is already a database file
6.405244 Creating working copy of CPG to be safe
6.406316 Loading base CPG from: /root/workspace/project/cpg.bin.tmp
6.683568 Adding default overlays to base CPG
6.961824 The graph has been modified. You may want to use the `save` command to persist changes to disk. All changes will also be saved collectively on exit
6.961885 Code successfully imported. You can now query it using `cpg`.
6.961899 For an overview of all imported code, type `workspace`.
7.000304 int main()
7.000376 {
7.000388 int x = 0;
7.000398 int i = 0;
7.000408 while (i < 10)
7.000418 {
7.000427 x += 1;
7.000435 i ++;
7.000445 }
7.000455 return x;
7.000464 }
7.000720 script finished successfully
7.000755 ()
real 0m7.043s
user 0m16.993s
sys 0m1.140s
execution 5
0.578336 executing /root/tools/joern_example.sc with params=Map(inDirectory -> data, inFile -> data/loop_exchange.c)
3.983688 Using generator for language: C
3.996156 Creating project `project` for code at `data`
3.997809 Project with name project already exists - overwriting
5.640536 moving cpg.bin.zip to cpg.bin because it is already a database file
5.644234 Creating working copy of CPG to be safe
5.645132 Loading base CPG from: /root/workspace/project/cpg.bin.tmp
5.858958 Adding default overlays to base CPG
6.109839 The graph has been modified. You may want to use the `save` command to persist changes to disk. All changes will also be saved collectively on exit
6.109893 Code successfully imported. You can now query it using `cpg`.
6.109906 For an overview of all imported code, type `workspace`.
6.145907 int main()
6.145967 {
6.145979 int x = 0;
6.145988 int i = 0;
6.145997 while (i < 10)
6.146006 {
6.146033 x += 1;
6.146051 i ++;
6.146062 }
6.146072 return x;
6.146081 }
6.146306 script finished successfully
6.146330 ()
real 0m6.186s
user 0m15.082s
sys 0m0.789s
srcML
execution 1
0.036594 int main()
0.036690 {
0.036705 int x = 0;
0.036715 int i = 0;
0.036725 while(i < 10)
0.036734 {
0.036743 x += 1;
0.036751 i ++;
0.036760 }
0.036769 return x;
0.036778 }
real 0m0.066s
user 0m0.080s
sys 0m0.013s
execution 2
0.055558 int main()
0.055652 {
0.055666 int x = 0;
0.055676 int i = 0;
0.055686 while(i < 10)
0.055694 {
0.055703 x += 1;
0.055711 i ++;
0.055721 }
0.055730 return x;
0.055738 }
real 0m0.086s
user 0m0.090s
sys 0m0.018s
execution 3
0.036592 int main()
0.036691 {
0.036705 int x = 0;
0.036714 int i = 0;
0.036723 while(i < 10)
0.036732 {
0.036741 x += 1;
0.036748 i ++;
0.036757 }
0.036766 return x;
0.036774 }
real 0m0.066s
user 0m0.061s
sys 0m0.031s
execution 4
0.036562 int main()
0.036666 {
0.036681 int x = 0;
0.036691 int i = 0;
0.036700 while(i < 10)
0.036708 {
0.036715 x += 1;
0.036724 i ++;
0.036733 }
0.036741 return x;
0.036748 }
real 0m0.066s
user 0m0.080s
sys 0m0.012s
execution 5
0.036881 int main()
0.037006 {
0.037024 int x = 0;
0.037035 int i = 0;
0.037045 while(i < 10)
0.037054 {
0.037072 x += 1;
0.037082 i ++;
0.037092 }
0.037101 return x;
0.037110 }
real 0m0.067s
user 0m0.092s
sys 0m0.000s