/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
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
--------------------------------------------------------------------------------
Command:            ./libxml-pull 1 xmlgen 262144
Massif arguments:   --heap=yes --depth=5 --massif-out-file=/tmp/massif.out
ms_print arguments: /tmp/massif.out
--------------------------------------------------------------------------------


    KB
289.9^               :                    #             .             ,      .
     |              @:                    #             :             @      :
     |.....,........@:                    #,....,..,.,..:             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
     |:::::@::::::::@:                    #@::::@::@:@:::             @      :
   0 +----------------------------------------------------------------------->Mi
     0                                                                   102.2

Number of snapshots: 86
 Detailed snapshots: [13, 34, 37 (peak), 40, 54, 64, 74, 84]

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
  0              0                0                0             0            0
  1        897,146          262,184          262,158            26            0
  2      1,688,527          262,184          262,158            26            0
  3      2,255,102          262,184          262,158            26            0
  4      2,662,437          262,208          262,171            37            0
  5      3,320,526          262,208          262,171            37            0
  6      3,915,288          262,184          262,158            26            0
  7      4,490,725          262,184          262,158            26            0
  8      4,879,244          262,208          262,171            37            0
  9      5,564,751          262,184          262,158            26            0
 10      6,117,928          262,184          262,158            26            0
 11      6,842,994          262,184          262,158            26            0
 12      7,498,388          262,184          262,158            26            0
 13      8,135,282          262,208          262,171            37            0
99.99% (262,171B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.98% (262,145B) 0x404985: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
| ->99.98% (262,145B) 0x406095: Test (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
|   ->99.98% (262,145B) 0x5409A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->00.01% (26B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 14      8,770,252          262,184          262,158            26            0
 15      9,230,318          262,184          262,158            26            0
 16      9,837,018          262,184          262,158            26            0
 17     10,254,153          262,184          262,158            26            0
 18     10,769,873          262,184          262,158            26            0
 19     11,197,741          262,184          262,158            26            0
 20     11,995,402          262,184          262,158            26            0
 21     12,585,391          262,184          262,158            26            0
 22     13,179,080          262,184          262,158            26            0
 23     13,618,908          262,184          262,158            26            0
 24     14,207,268          262,208          262,171            37            0
 25     15,082,015          262,184          262,158            26            0
 26     15,666,125          262,208          262,171            37            0
 27     16,246,299          262,184          262,158            26            0
 28     16,833,422          262,184          262,158            26            0
 29     17,414,124          262,184          262,158            26            0
 30     17,850,512          262,184          262,158            26            0
 31     18,588,938          262,184          262,158            26            0
 32     19,252,424          262,184          262,158            26            0
 33     20,143,238          262,184          262,158            26            0
 34     20,989,545          288,200          287,370           830            0
99.71% (287,370B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->90.96% (262,145B) 0x404985: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
| ->90.96% (262,145B) 0x406095: Test (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
|   ->90.96% (262,145B) 0x5409A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->03.03% (8,737B) in 40 places, all below massif's threshold (01.00%)
| 
->02.88% (8,296B) 0x4E78456: xmlBufferCreateSize (in /usr/lib64/libxml2.so.2.7.4)
| ->02.84% (8,194B) 0x4E82FB1: xmlAllocParserInputBuffer (in /usr/lib64/libxml2.so.2.7.4)
| | ->02.84% (8,194B) 0x4E5FAE9: xmlCreatePushParserCtxt (in /usr/lib64/libxml2.so.2.7.4)
| |   ->02.84% (8,194B) 0x4F033A0: xmlNewTextReader (in /usr/lib64/libxml2.so.2.7.4)
| |     ->02.84% (8,194B) 0x4F036E0: xmlReaderForMemory (in /usr/lib64/libxml2.so.2.7.4)
| |       
| ->00.04% (102B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->01.42% (4,096B) 0x4F14B3A: xmlDictCreate (in /usr/lib64/libxml2.so.2.7.4)
| ->01.42% (4,096B) 0x4E5B7A3: xmlInitParserCtxt (in /usr/lib64/libxml2.so.2.7.4)
|   ->01.42% (4,096B) 0x4E5B81C: xmlNewParserCtxt (in /usr/lib64/libxml2.so.2.7.4)
|     ->01.42% (4,096B) 0x4E5FAFA: xmlCreatePushParserCtxt (in /usr/lib64/libxml2.so.2.7.4)
|       ->01.42% (4,096B) 0x4F033A0: xmlNewTextReader (in /usr/lib64/libxml2.so.2.7.4)
|         
->01.42% (4,096B) 0x4E7850C: xmlBufferCreate (in /usr/lib64/libxml2.so.2.7.4)
  ->01.42% (4,096B) 0x4E5B9A3: (within /usr/lib64/libxml2.so.2.7.4)
    ->01.42% (4,096B) 0x4E5BAE5: (within /usr/lib64/libxml2.so.2.7.4)
      ->01.42% (4,096B) 0x4E60B61: xmlParseEncodingDecl (in /usr/lib64/libxml2.so.2.7.4)
        ->01.42% (4,096B) 0x4E63685: xmlParseXMLDecl (in /usr/lib64/libxml2.so.2.7.4)
          
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 35     21,625,338          296,752          295,687         1,065            0
 36     22,460,640          296,872          295,783         1,089            0
 37     53,767,523          296,872          295,783         1,089            0
99.63% (295,783B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->88.30% (262,145B) 0x404985: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
| ->88.30% (262,145B) 0x406095: Test (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
|   ->88.30% (262,145B) 0x5409A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->02.95% (8,767B) 0x4E75AE1: xmlBufferGrow (in /usr/lib64/libxml2.so.2.7.4)
| ->02.95% (8,767B) 0x4E57486: xmlCharEncInFunc (in /usr/lib64/libxml2.so.2.7.4)
|   ->02.95% (8,767B) 0x4E84B9D: xmlParserInputBufferPush (in /usr/lib64/libxml2.so.2.7.4)
|     ->02.95% (8,767B) 0x4E7288F: xmlParseChunk (in /usr/lib64/libxml2.so.2.7.4)
|       ->02.95% (8,767B) 0x4F039EC: (within /usr/lib64/libxml2.so.2.7.4)
|         
->02.79% (8,296B) 0x4E78456: xmlBufferCreateSize (in /usr/lib64/libxml2.so.2.7.4)
| ->02.76% (8,194B) 0x4E82FB1: xmlAllocParserInputBuffer (in /usr/lib64/libxml2.so.2.7.4)
| | ->02.76% (8,194B) 0x4E5FAE9: xmlCreatePushParserCtxt (in /usr/lib64/libxml2.so.2.7.4)
| |   ->02.76% (8,194B) 0x4F033A0: xmlNewTextReader (in /usr/lib64/libxml2.so.2.7.4)
| |     ->02.76% (8,194B) 0x4F036E0: xmlReaderForMemory (in /usr/lib64/libxml2.so.2.7.4)
| |       
| ->00.03% (102B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->01.98% (5,879B) in 39 places, all below massif's threshold (01.00%)
| 
->01.38% (4,096B) 0x4F14B3A: xmlDictCreate (in /usr/lib64/libxml2.so.2.7.4)
| ->01.38% (4,096B) 0x4E5B7A3: xmlInitParserCtxt (in /usr/lib64/libxml2.so.2.7.4)
|   ->01.38% (4,096B) 0x4E5B81C: xmlNewParserCtxt (in /usr/lib64/libxml2.so.2.7.4)
|     ->01.38% (4,096B) 0x4E5FAFA: xmlCreatePushParserCtxt (in /usr/lib64/libxml2.so.2.7.4)
|       ->01.38% (4,096B) 0x4F033A0: xmlNewTextReader (in /usr/lib64/libxml2.so.2.7.4)
|         
->01.13% (3,360B) 0x4F1574F: (within /usr/lib64/libxml2.so.2.7.4)
| ->01.13% (3,360B) in 3 places, all below massif's threshold (01.00%)
|   
->01.09% (3,240B) 0x4E78B2C: xmlNewNodeEatName (in /usr/lib64/libxml2.so.2.7.4)
  ->01.09% (3,240B) 0x4E7DF6A: xmlNewDocNodeEatName (in /usr/lib64/libxml2.so.2.7.4)
    ->01.09% (3,240B) 0x4F169B3: xmlSAX2StartElementNs (in /usr/lib64/libxml2.so.2.7.4)
      ->01.09% (3,240B) 0x4EFF12A: (within /usr/lib64/libxml2.so.2.7.4)
        ->01.05% (3,120B) 0x4E6C024: (within /usr/lib64/libxml2.so.2.7.4)
        | 
        ->00.04% (120B) in 1+ places, all below ms_print's threshold (01.00%)
        
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 38     54,434,268          263,296          263,084           212            0
 39     55,105,888          263,320          263,097           223            0
 40     55,994,301          263,296          263,084           212            0
99.92% (263,084B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.56% (262,145B) 0x404985: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
| ->99.56% (262,145B) 0x406095: Test (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
|   ->99.56% (262,145B) 0x5409A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->00.36% (939B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 41     56,666,907          263,296          263,084           212            0
 42     57,337,052          263,296          263,084           212            0
 43     58,009,107          263,296          263,084           212            0
 44     58,457,074          263,320          263,097           223            0
 45     59,351,936          263,296          263,084           212            0
 46     59,804,316          263,296          263,084           212            0
 47     60,256,270          263,296          263,084           212            0
 48     61,145,505          263,296          263,084           212            0
 49     61,594,457          263,296          263,084           212            0
 50     61,986,055          263,368          263,123           245            0
 51     62,376,668          263,296          263,084           212            0
 52     62,769,893          263,296          263,084           212            0
 53     63,159,134          263,296          263,084           212            0
 54     63,548,203          263,296          263,084           212            0
99.92% (263,084B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.56% (262,145B) 0x404985: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
| ->99.56% (262,145B) 0x406095: Test (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
|   ->99.56% (262,145B) 0x5409A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->00.36% (939B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 55     63,938,417          263,320          263,097           223            0
 56     64,330,959          263,296          263,084           212            0
 57     64,720,598          263,368          263,123           245            0
 58     65,114,434          263,296          263,084           212            0
 59     65,505,444          263,296          263,084           212            0
 60     65,897,789          263,296          263,084           212            0
 61     66,286,810          263,320          263,097           223            0
 62     66,678,963          263,296          263,084           212            0
 63     67,067,646          263,296          263,084           212            0
 64     67,457,410          263,320          263,097           223            0
99.92% (263,097B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.55% (262,145B) 0x404985: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
| ->99.55% (262,145B) 0x406095: Test (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
|   ->99.55% (262,145B) 0x5409A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->00.36% (952B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 65     67,849,366          263,296          263,084           212            0
 66     68,243,097          263,296          263,084           212            0
 67     68,631,806          263,296          263,084           212            0
 68     69,024,743          263,368          263,123           245            0
 69     69,414,814          263,320          263,097           223            0
 70     69,803,374          263,296          263,084           212            0
 71     70,194,919          263,296          263,084           212            0
 72     70,587,536          263,296          263,084           212            0
 73     70,980,083          263,296          263,084           212            0
 74     71,369,685          263,296          263,084           212            0
99.92% (263,084B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.56% (262,145B) 0x404985: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
| ->99.56% (262,145B) 0x406095: Test (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
|   ->99.56% (262,145B) 0x5409A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->00.36% (939B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 75     71,759,182          263,392          263,136           256            0
 76     72,151,184          263,296          263,084           212            0
 77     72,540,234          263,320          263,097           223            0
 78     72,929,198          263,296          263,084           212            0
 79     73,318,322          263,296          263,084           212            0
 80     73,706,963          263,344          263,110           234            0
 81     74,095,864          263,320          263,097           223            0
 82     74,584,307          291,696          290,656         1,040            0
 83     75,042,827          296,752          295,687         1,065            0
 84     95,882,195          296,856          295,783         1,073            0
99.64% (295,783B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->88.31% (262,145B) 0x404985: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
| ->88.31% (262,145B) 0x406095: Test (in /home/csa/misc/bench/xmlbench/parse/libxml-pull)
|   ->88.31% (262,145B) 0x5409A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->02.95% (8,767B) 0x4E75AE1: xmlBufferGrow (in /usr/lib64/libxml2.so.2.7.4)
| ->02.95% (8,767B) 0x4E57486: xmlCharEncInFunc (in /usr/lib64/libxml2.so.2.7.4)
|   ->02.95% (8,767B) 0x4E84B9D: xmlParserInputBufferPush (in /usr/lib64/libxml2.so.2.7.4)
|     ->02.95% (8,767B) 0x4E7288F: xmlParseChunk (in /usr/lib64/libxml2.so.2.7.4)
|       ->02.95% (8,767B) 0x4F039EC: (within /usr/lib64/libxml2.so.2.7.4)
|         
->02.79% (8,296B) 0x4E78456: xmlBufferCreateSize (in /usr/lib64/libxml2.so.2.7.4)
| ->02.76% (8,194B) 0x4E82FB1: xmlAllocParserInputBuffer (in /usr/lib64/libxml2.so.2.7.4)
| | ->02.76% (8,194B) 0x4E5FAE9: xmlCreatePushParserCtxt (in /usr/lib64/libxml2.so.2.7.4)
| |   ->02.76% (8,194B) 0x4F033A0: xmlNewTextReader (in /usr/lib64/libxml2.so.2.7.4)
| |     ->02.76% (8,194B) 0x4F036E0: xmlReaderForMemory (in /usr/lib64/libxml2.so.2.7.4)
| |       
| ->00.03% (102B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->01.98% (5,879B) in 39 places, all below massif's threshold (01.00%)
| 
->01.38% (4,096B) 0x4F14B3A: xmlDictCreate (in /usr/lib64/libxml2.so.2.7.4)
| ->01.38% (4,096B) 0x4E5B7A3: xmlInitParserCtxt (in /usr/lib64/libxml2.so.2.7.4)
|   ->01.38% (4,096B) 0x4E5B81C: xmlNewParserCtxt (in /usr/lib64/libxml2.so.2.7.4)
|     ->01.38% (4,096B) 0x4E5FAFA: xmlCreatePushParserCtxt (in /usr/lib64/libxml2.so.2.7.4)
|       ->01.38% (4,096B) 0x4F033A0: xmlNewTextReader (in /usr/lib64/libxml2.so.2.7.4)
|         
->01.13% (3,360B) 0x4F1574F: (within /usr/lib64/libxml2.so.2.7.4)
| ->01.13% (3,360B) in 3 places, all below massif's threshold (01.00%)
|   
->01.09% (3,240B) 0x4E78B2C: xmlNewNodeEatName (in /usr/lib64/libxml2.so.2.7.4)
  ->01.09% (3,240B) 0x4E7DF6A: xmlNewDocNodeEatName (in /usr/lib64/libxml2.so.2.7.4)
    ->01.09% (3,240B) 0x4F169B3: xmlSAX2StartElementNs (in /usr/lib64/libxml2.so.2.7.4)
      ->01.09% (3,240B) 0x4EFF12A: (within /usr/lib64/libxml2.so.2.7.4)
        ->01.05% (3,120B) 0x4E6C024: (within /usr/lib64/libxml2.so.2.7.4)
        | 
        ->00.04% (120B) in 1+ places, all below ms_print's threshold (01.00%)
        
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 85    107,169,854          296,816          295,756         1,060            0