/xmlbench/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/xmlbench/trunk
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
--------------------------------------------------------------------------------
Command:            ./expat-sablotron-dom 1 ../xml.files/mini.rdf ../xml.files/rdf2html.xsl
Massif arguments:   --heap=yes --depth=5 --massif-out-file=/tmp/massif.out
ms_print arguments: /tmp/massif.out
--------------------------------------------------------------------------------


    MB
1.940^                                                     ,....,..,.,...@    
     |                                                   ..#::::@::@:@:::@:@, 
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
     |                                                  :::#::::@::@:@:::@:@@:
   0 +----------------------------------------------------------------------->Mi
     0                                                                   4.090

Number of snapshots: 67
 Detailed snapshots: [9 (peak), 21, 29, 34, 44, 48, 57]

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
  0              0                0                0             0            0
  1      3,001,008              576              568             8            0
  2      3,026,882        1,853,352        1,853,218           134            0
  3      3,053,647        1,854,504        1,854,344           160            0
  4      3,081,019        1,928,280        1,928,096           184            0
  5      3,106,378        1,928,296        1,928,097           199            0
  6      3,128,187        1,928,640        1,928,406           234            0
  7      3,157,588        1,930,680        1,930,314           366            0
  8      3,189,344        1,936,240        1,935,810           430            0
  9      3,212,105        2,018,280        2,017,809           471            0
99.98% (2,017,809B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->91.81% (1,852,918B) 0x401616: ReadFile(char*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
| ->91.72% (1,851,189B) 0x402E15: Test(int, char**) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
| | ->91.72% (1,851,189B) 0x58A45E2: (below main) (in /lib64/libc-2.9.so)
| |   
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->03.25% (65,536B) 0x4E66623: SabArena::newBlock(int) (in /usr/lib64/libsablot.so.0.100.3)
| ->03.25% (65,536B) 0x4E666E1: SabArena::armalloc(int, int) (in /usr/lib64/libsablot.so.0.100.3)
|   ->03.25% (65,536B) 0x4EAB25A: Tree::Tree(Str const&, int) (in /usr/lib64/libsablot.so.0.100.3)
|     ->03.25% (65,536B) 0x4E9B0E3: SablotParse_(void*, char const*, char const*, void**, int) (in /usr/lib64/libsablot.so.0.100.3)
|       ->03.25% (65,536B) 0x401509: initXML_Transformation(TestData*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
|         
->03.25% (65,536B) 0x4E90E5F: TreeConstructer::feedDocumentToParser(Situation&, void*) (in /usr/lib64/libsablot.so.0.100.3)
| ->03.25% (65,536B) 0x4E915FC: TreeConstructer::parseDataLineUsingGivenExpat(Situation&, Tree*, DataLine*, XML_ParserStruct*) (in /usr/lib64/libsablot.so.0.100.3)
|   ->03.25% (65,536B) 0x4E91B50: TreeConstructer::parseDataLineUsingExpat(Situation&, Tree*, DataLine*, char*) (in /usr/lib64/libsablot.so.0.100.3)
|     ->03.25% (65,536B) 0x4E9B29A: SablotParse_(void*, char const*, char const*, void**, int) (in /usr/lib64/libsablot.so.0.100.3)
|       ->03.25% (65,536B) 0x401509: initXML_Transformation(TestData*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
|         
->01.68% (33,819B) in 36 places, all below massif's threshold (01.00%)
  
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 10      3,215,629        2,018,280        2,017,813           467            0
 11      3,255,575        2,018,296        2,017,819           477            0
 12      3,280,965        2,021,912        2,021,320           592            0
 13      3,298,295        2,022,376        2,021,695           681            0
 14      3,321,168        2,022,480        2,021,759           721            0
 15      3,353,094        2,022,784        2,021,941           843            0
 16      3,382,237        2,022,808        2,021,901           907            0
 17      3,401,645        2,023,184        2,022,192           992            0
 18      3,422,568        2,023,216        2,022,219           997            0
 19      3,452,786        2,023,608        2,022,543         1,065            0
 20      3,476,425        2,024,856        2,023,614         1,242            0
 21      3,498,547        2,024,656        2,023,515         1,141            0
99.94% (2,023,515B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->91.52% (1,852,918B) 0x401616: ReadFile(char*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
| ->91.43% (1,851,189B) 0x402E15: Test(int, char**) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
| | ->91.43% (1,851,189B) 0x58A45E2: (below main) (in /lib64/libc-2.9.so)
| |   
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->03.24% (65,536B) 0x4E66623: SabArena::newBlock(int) (in /usr/lib64/libsablot.so.0.100.3)
| ->03.24% (65,536B) 0x4E666E1: SabArena::armalloc(int, int) (in /usr/lib64/libsablot.so.0.100.3)
|   ->03.24% (65,536B) 0x4EAB25A: Tree::Tree(Str const&, int) (in /usr/lib64/libsablot.so.0.100.3)
|     ->03.24% (65,536B) 0x4E9B0E3: SablotParse_(void*, char const*, char const*, void**, int) (in /usr/lib64/libsablot.so.0.100.3)
|       ->03.24% (65,536B) 0x401509: initXML_Transformation(TestData*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
|         
->03.24% (65,536B) 0x4E90E5F: TreeConstructer::feedDocumentToParser(Situation&, void*) (in /usr/lib64/libsablot.so.0.100.3)
| ->03.24% (65,536B) 0x4E915FC: TreeConstructer::parseDataLineUsingGivenExpat(Situation&, Tree*, DataLine*, XML_ParserStruct*) (in /usr/lib64/libsablot.so.0.100.3)
|   ->03.24% (65,536B) 0x4E91B50: TreeConstructer::parseDataLineUsingExpat(Situation&, Tree*, DataLine*, char*) (in /usr/lib64/libsablot.so.0.100.3)
|     ->03.24% (65,536B) 0x4E9B29A: SablotParse_(void*, char const*, char const*, void**, int) (in /usr/lib64/libsablot.so.0.100.3)
|       ->03.24% (65,536B) 0x401509: initXML_Transformation(TestData*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
|         
->01.95% (39,525B) in 56 places, all below massif's threshold (01.00%)
  
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 22      3,514,348        2,025,008        2,023,876         1,132            0
 23      3,538,755        2,025,624        2,024,410         1,214            0
 24      3,562,018        2,026,160        2,024,832         1,328            0
 25      3,595,648        2,026,864        2,025,457         1,407            0
 26      3,616,924        2,027,376        2,025,820         1,556            0
 27      3,633,394        2,027,808        2,026,248         1,560            0
 28      3,661,435        2,027,888        2,026,298         1,590            0
 29      3,681,757        2,028,232        2,026,576         1,656            0
99.92% (2,026,576B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->91.36% (1,852,918B) 0x401616: ReadFile(char*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
| ->91.27% (1,851,189B) 0x402E15: Test(int, char**) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
| | ->91.27% (1,851,189B) 0x58A45E2: (below main) (in /lib64/libc-2.9.so)
| |   
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->03.23% (65,536B) 0x4E66623: SabArena::newBlock(int) (in /usr/lib64/libsablot.so.0.100.3)
| ->03.23% (65,536B) 0x4E666E1: SabArena::armalloc(int, int) (in /usr/lib64/libsablot.so.0.100.3)
|   ->03.23% (65,536B) 0x4EAB25A: Tree::Tree(Str const&, int) (in /usr/lib64/libsablot.so.0.100.3)
|     ->03.23% (65,536B) 0x4E9B0E3: SablotParse_(void*, char const*, char const*, void**, int) (in /usr/lib64/libsablot.so.0.100.3)
|       ->03.23% (65,536B) 0x401509: initXML_Transformation(TestData*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
|         
->03.23% (65,536B) 0x4E90E5F: TreeConstructer::feedDocumentToParser(Situation&, void*) (in /usr/lib64/libsablot.so.0.100.3)
| ->03.23% (65,536B) 0x4E915FC: TreeConstructer::parseDataLineUsingGivenExpat(Situation&, Tree*, DataLine*, XML_ParserStruct*) (in /usr/lib64/libsablot.so.0.100.3)
|   ->03.23% (65,536B) 0x4E91B50: TreeConstructer::parseDataLineUsingExpat(Situation&, Tree*, DataLine*, char*) (in /usr/lib64/libsablot.so.0.100.3)
|     ->03.23% (65,536B) 0x4E9B29A: SablotParse_(void*, char const*, char const*, void**, int) (in /usr/lib64/libsablot.so.0.100.3)
|       ->03.23% (65,536B) 0x401509: initXML_Transformation(TestData*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
|         
->02.10% (42,586B) in 63 places, all below massif's threshold (01.00%)
  
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 30      3,696,270        2,028,280        2,026,613         1,667            0
 31      3,721,850        2,028,504        2,026,891         1,613            0
 32      3,744,000        2,028,752        2,027,131         1,621            0
 33      3,775,205        2,029,520        2,027,740         1,780            0
 34      3,805,530        2,029,824        2,028,030         1,794            0
99.91% (2,028,030B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->91.28% (1,852,918B) 0x401616: ReadFile(char*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
| ->91.20% (1,851,189B) 0x402E15: Test(int, char**) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
| | ->91.20% (1,851,189B) 0x58A45E2: (below main) (in /lib64/libc-2.9.so)
| |   
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->03.23% (65,536B) 0x4E66623: SabArena::newBlock(int) (in /usr/lib64/libsablot.so.0.100.3)
| ->03.23% (65,536B) 0x4E666E1: SabArena::armalloc(int, int) (in /usr/lib64/libsablot.so.0.100.3)
|   ->03.23% (65,536B) 0x4EAB25A: Tree::Tree(Str const&, int) (in /usr/lib64/libsablot.so.0.100.3)
|     ->03.23% (65,536B) 0x4E9B0E3: SablotParse_(void*, char const*, char const*, void**, int) (in /usr/lib64/libsablot.so.0.100.3)
|       ->03.23% (65,536B) 0x401509: initXML_Transformation(TestData*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
|         
->03.23% (65,536B) 0x4E90E5F: TreeConstructer::feedDocumentToParser(Situation&, void*) (in /usr/lib64/libsablot.so.0.100.3)
| ->03.23% (65,536B) 0x4E915FC: TreeConstructer::parseDataLineUsingGivenExpat(Situation&, Tree*, DataLine*, XML_ParserStruct*) (in /usr/lib64/libsablot.so.0.100.3)
|   ->03.23% (65,536B) 0x4E91B50: TreeConstructer::parseDataLineUsingExpat(Situation&, Tree*, DataLine*, char*) (in /usr/lib64/libsablot.so.0.100.3)
|     ->03.23% (65,536B) 0x4E9B29A: SablotParse_(void*, char const*, char const*, void**, int) (in /usr/lib64/libsablot.so.0.100.3)
|       ->03.23% (65,536B) 0x401509: initXML_Transformation(TestData*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
|         
->02.17% (44,040B) in 63 places, all below massif's threshold (01.00%)
  
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 35      3,839,070        2,030,720        2,028,804         1,916            0
 36      3,858,183        2,030,632        2,028,782         1,850            0
 37      3,885,378        2,031,216        2,029,145         2,071            0
 38      3,905,345        2,031,096        2,029,110         1,986            0
 39      3,928,439        2,031,480        2,029,372         2,108            0
 40      3,950,858        2,032,336        2,030,118         2,218            0
 41      3,966,148        2,032,376        2,030,198         2,178            0
 42      3,988,393        2,033,248        2,031,014         2,234            0
 43      4,021,886        2,033,824        2,031,447         2,377            0
 44      4,042,253        2,034,328        2,031,842         2,486            0
99.88% (2,031,842B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->91.08% (1,852,918B) 0x401616: ReadFile(char*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
| ->91.00% (1,851,189B) 0x402E15: Test(int, char**) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
| | ->91.00% (1,851,189B) 0x58A45E2: (below main) (in /lib64/libc-2.9.so)
| |   
| ->00.08% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->03.22% (65,536B) 0x4E66623: SabArena::newBlock(int) (in /usr/lib64/libsablot.so.0.100.3)
| ->03.22% (65,536B) 0x4E666E1: SabArena::armalloc(int, int) (in /usr/lib64/libsablot.so.0.100.3)
|   ->03.22% (65,536B) 0x4EAB25A: Tree::Tree(Str const&, int) (in /usr/lib64/libsablot.so.0.100.3)
|     ->03.22% (65,536B) 0x4E9B0E3: SablotParse_(void*, char const*, char const*, void**, int) (in /usr/lib64/libsablot.so.0.100.3)
|       ->03.22% (65,536B) 0x401509: initXML_Transformation(TestData*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
|         
->03.22% (65,536B) 0x4E90E5F: TreeConstructer::feedDocumentToParser(Situation&, void*) (in /usr/lib64/libsablot.so.0.100.3)
| ->03.22% (65,536B) 0x4E915FC: TreeConstructer::parseDataLineUsingGivenExpat(Situation&, Tree*, DataLine*, XML_ParserStruct*) (in /usr/lib64/libsablot.so.0.100.3)
|   ->03.22% (65,536B) 0x4E91B50: TreeConstructer::parseDataLineUsingExpat(Situation&, Tree*, DataLine*, char*) (in /usr/lib64/libsablot.so.0.100.3)
|     ->03.22% (65,536B) 0x4E9B29A: SablotParse_(void*, char const*, char const*, void**, int) (in /usr/lib64/libsablot.so.0.100.3)
|       ->03.22% (65,536B) 0x401509: initXML_Transformation(TestData*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
|         
->02.35% (47,852B) in 64 places, all below massif's threshold (01.00%)
  
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 45      4,069,830        1,952,232        1,949,792         2,440            0
 46      4,094,551        1,938,384        1,936,764         1,620            0
 47      4,116,312        1,940,040        1,938,085         1,955            0
 48      4,142,255        1,941,920        1,939,820         2,100            0
99.89% (1,939,820B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->95.42% (1,852,918B) 0x401616: ReadFile(char*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
| ->95.33% (1,851,189B) 0x402E15: Test(int, char**) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
| | ->95.33% (1,851,189B) 0x58A45E2: (below main) (in /lib64/libc-2.9.so)
| |   
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->03.37% (65,536B) 0x4E66623: SabArena::newBlock(int) (in /usr/lib64/libsablot.so.0.100.3)
| ->03.37% (65,536B) 0x4E666E1: SabArena::armalloc(int, int) (in /usr/lib64/libsablot.so.0.100.3)
|   ->03.37% (65,536B) 0x4EAB25A: Tree::Tree(Str const&, int) (in /usr/lib64/libsablot.so.0.100.3)
|     ->03.37% (65,536B) 0x4E9B0E3: SablotParse_(void*, char const*, char const*, void**, int) (in /usr/lib64/libsablot.so.0.100.3)
|       ->03.37% (65,536B) 0x401509: initXML_Transformation(TestData*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
|         
->01.10% (21,366B) in 73 places, all below massif's threshold (01.00%)
  
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 49      4,160,821        1,939,688        1,937,922         1,766            0
 50      4,164,849        1,938,336        1,936,763         1,573            0
 51      4,170,003        1,937,344        1,935,880         1,464            0
 52      4,175,563        1,935,840        1,934,544         1,296            0
 53      4,179,111        1,935,528        1,934,284         1,244            0
 54      4,183,059        1,933,720        1,932,680         1,040            0
 55      4,188,832        1,932,920        1,931,976           944            0
 56      4,193,449        1,932,512        1,931,706           806            0
 57      4,210,942        1,932,448        1,931,650           798            0
99.96% (1,931,650B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->95.88% (1,852,918B) 0x401616: ReadFile(char*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
| ->95.80% (1,851,189B) 0x402E15: Test(int, char**) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
| | ->95.80% (1,851,189B) 0x58A45E2: (below main) (in /lib64/libc-2.9.so)
| |   
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->03.39% (65,536B) 0x4E66623: SabArena::newBlock(int) (in /usr/lib64/libsablot.so.0.100.3)
| ->03.39% (65,536B) 0x4E666E1: SabArena::armalloc(int, int) (in /usr/lib64/libsablot.so.0.100.3)
|   ->03.39% (65,536B) 0x4EAB25A: Tree::Tree(Str const&, int) (in /usr/lib64/libsablot.so.0.100.3)
|     ->03.39% (65,536B) 0x4E9B0E3: SablotParse_(void*, char const*, char const*, void**, int) (in /usr/lib64/libsablot.so.0.100.3)
|       ->03.39% (65,536B) 0x401509: initXML_Transformation(TestData*) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
|         
->00.68% (13,196B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 58      4,215,508        1,931,880        1,931,138           742            0
 59      4,219,588        1,858,072        1,857,384           688            0
 60      4,226,913        1,856,824        1,856,253           571            0
 61      4,231,884        1,856,880        1,856,279           601            0
 62      4,235,422        1,857,112        1,856,446           666            0
 63      4,242,811        1,856,776        1,856,239           537            0
 64      4,248,872        1,855,088        1,854,863           225            0
 65      4,254,570        1,855,048        1,854,831           217            0
 66      4,289,157            1,648            1,568            80            0