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


    MB
4.294^                                                                  #     
     |                                                               . :#     
     |                                                             . : :#     
     |                                                            .: : :#.    
     |                                                          : :: : :#:    
     |                                                       . :: :: : :#:    
     |                                                      .: :: :: : :#::   
     |                                                    : :: :: :: : :#::   
     |                                                  .:: :: :: :: : :#:.   
     |                                                .:::: :: :: :: : :#::   
     |                                             .: ::::: :: :: :: : :#::   
     |                                            .:: ::::: :: :: :: : :#::@  
     |                                          .:::: ::::: :: :: :: : :#::@  
     |                                       . :::::: ::::: :: :: :: : :#::@  
     |                                       : :::::: ::::: :: :: :: : :#::@: 
     |                                    .: : :::::: ::::: :: :: :: : :#::@: 
     |                                    :: : :::::: ::::: :: :: :: : :#::@:.
     |                                    :: : :::::: ::::: :: :: :: : :#::@::
     |                                 :  :: : :::::: ::::: :: :: :: : :#::@::
     |: :: : ::::: :::: : :: ::: @:@ : :  :: : :::::: ::::: :: :: :: : :#::@::
   0 +----------------------------------------------------------------------->Mi
     0                                                                   46.57

Number of snapshots: 57
 Detailed snapshots: [20, 22, 48 (peak), 53]

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
  0              0                0                0             0            0
  1        649,730          262,224          262,190            34            0
  2      1,399,480          262,224          262,190            34            0
  3      2,482,690          262,224          262,190            34            0
  4      3,539,661          262,224          262,190            34            0
  5      4,830,695          262,224          262,190            34            0
  6      5,690,237          262,224          262,190            34            0
  7      6,437,705          262,224          262,190            34            0
  8      7,455,142          262,224          262,190            34            0
  9      8,060,435          262,224          262,190            34            0
 10      8,904,387          262,224          262,190            34            0
 11      9,569,781          262,224          262,190            34            0
 12     10,613,172          262,248          262,203            45            0
 13     11,505,794          262,224          262,190            34            0
 14     12,498,628          262,224          262,190            34            0
 15     13,688,418          262,296          262,229            67            0
 16     14,482,867          262,224          262,190            34            0
 17     15,775,351          262,224          262,190            34            0
 18     16,929,727          262,224          262,190            34            0
 19     17,589,424          262,224          262,190            34            0
 20     18,408,267          262,248          262,203            45            0
99.98% (262,203B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.96% (262,145B) 0x401AC9: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml)
| ->99.96% (262,145B) 0x4031BF: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
|   ->99.96% (262,145B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
|     
->00.02% (58B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 21     19,398,686          262,224          262,190            34            0
 22     20,056,933          262,248          262,203            45            0
99.98% (262,203B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.96% (262,145B) 0x401AC9: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml)
| ->99.96% (262,145B) 0x4031BF: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
|   ->99.96% (262,145B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
|     
->00.02% (58B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 23     21,206,606          262,224          262,190            34            0
 24     22,426,725          539,088          538,675           413            0
 25     24,522,226        1,063,088        1,062,642           446            0
 26     25,501,965        1,226,200        1,204,021        22,179            0
 27     26,549,593        1,401,696        1,356,079        45,617            0
 28     27,073,757        1,489,496        1,432,168        57,328            0
 29     27,860,705        1,621,216        1,546,309        74,907            0
 30     28,646,567        1,752,944        1,660,469        92,475            0
 31     29,432,761        1,884,664        1,774,613       110,051            0
 32     30,219,331        2,016,384        1,888,766       127,618            0
 33     31,005,721        2,148,096        2,002,915       145,181            0
 34     31,792,032        2,279,808        2,117,056       162,752            0
 35     32,578,363        2,411,512        2,231,217       180,295            0
 36     33,364,698        2,543,240        2,345,360       197,880            0
 37     34,151,003        2,674,968        2,459,499       215,469            0
 38     34,937,541        2,806,664        2,573,667       232,997            0
 39     35,724,132        2,938,384        2,687,822       250,562            0
 40     36,772,431        3,114,008        2,840,013       273,995            0
 41     37,821,058        3,289,608        2,992,207       297,401            0
 42     38,869,679        3,465,272        3,144,420       320,852            0
 43     39,918,219        3,640,888        3,296,622       344,266            0
 44     40,966,698        3,816,520        3,448,817       367,703            0
 45     42,014,904        3,992,152        3,600,973       391,179            0
 46     43,063,388        4,167,784        3,753,175       414,609            0
 47     44,111,720        4,343,432        3,905,350       438,082            0
 48     45,079,182        4,502,544        4,043,226       459,318            0
89.80% (4,043,226B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->31.31% (1,409,640B) 0x514B4DC: (within /usr/lib64/libxml2.so.2.7.3)
| ->24.41% (1,099,080B) 0x514B6E1: xmlSAX2Characters (in /usr/lib64/libxml2.so.2.7.3)
| | ->24.41% (1,098,960B) 0x509DD2F: xmlParseCharData (in /usr/lib64/libxml2.so.2.7.3)
| | | ->24.41% (1,098,960B) 0x50A17C7: xmlParseContent (in /usr/lib64/libxml2.so.2.7.3)
| | |   ->24.41% (1,098,960B) 0x50A1602: xmlParseElement (in /usr/lib64/libxml2.so.2.7.3)
| | |     
| | ->00.00% (120B) in 1+ places, all below ms_print's threshold (01.00%)
| | 
| ->06.44% (290,040B) 0x514B594: xmlSAX2Characters (in /usr/lib64/libxml2.so.2.7.3)
| | ->06.44% (290,040B) 0x50A17C7: xmlParseContent (in /usr/lib64/libxml2.so.2.7.3)
| |   ->06.44% (290,040B) 0x50A1602: xmlParseElement (in /usr/lib64/libxml2.so.2.7.3)
| |     ->05.99% (269,640B) 0x50A18AC: xmlParseContent (in /usr/lib64/libxml2.so.2.7.3)
| |     | 
| |     ->00.45% (20,400B) in 1+ places, all below ms_print's threshold (01.00%)
| |     
| ->00.46% (20,520B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->30.85% (1,389,120B) 0x50AD55D: xmlNewNode (in /usr/lib64/libxml2.so.2.7.3)
| ->30.85% (1,389,120B) 0x50B2A01: xmlNewDocNode (in /usr/lib64/libxml2.so.2.7.3)
|   ->30.85% (1,389,120B) 0x514C1AD: xmlSAX2StartElementNs (in /usr/lib64/libxml2.so.2.7.3)
|     ->30.85% (1,389,000B) 0x50A0AB6: (within /usr/lib64/libxml2.so.2.7.3)
|     | ->30.85% (1,389,000B) 0x50A1389: xmlParseElement (in /usr/lib64/libxml2.so.2.7.3)
|     |   
|     ->00.00% (120B) in 1+ places, all below ms_print's threshold (01.00%)
|     
->11.73% (527,959B) 0x50AA389: xmlBufferGrow (in /usr/lib64/libxml2.so.2.7.3)
| ->11.73% (527,959B) 0x508BADB: xmlCharEncInFunc (in /usr/lib64/libxml2.so.2.7.3)
|   ->11.73% (527,959B) 0x50B9547: xmlParserInputBufferGrow (in /usr/lib64/libxml2.so.2.7.3)
|     ->11.73% (527,959B) 0x5090AC9: xmlParserInputGrow (in /usr/lib64/libxml2.so.2.7.3)
|       ->11.73% (527,959B) 0x5095738: (within /usr/lib64/libxml2.so.2.7.3)
|         
->05.82% (262,208B) 0x50AC5F0: xmlBufferResize (in /usr/lib64/libxml2.so.2.7.3)
| ->05.82% (262,208B) 0x50AC91D: xmlBufferAdd (in /usr/lib64/libxml2.so.2.7.3)
| | ->05.82% (262,208B) 0x50B7C38: xmlParserInputBufferCreateMem (in /usr/lib64/libxml2.so.2.7.3)
| |   ->05.82% (262,208B) 0x509343E: xmlCreateMemoryParserCtxt (in /usr/lib64/libxml2.so.2.7.3)
| |     ->05.82% (262,208B) 0x50A82B0: xmlSAXParseMemoryWithData (in /usr/lib64/libxml2.so.2.7.3)
| |       
| ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->05.82% (262,145B) 0x401AC9: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml)
| ->05.82% (262,145B) 0x4031BF: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
|   ->05.82% (262,145B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
|     
->03.66% (164,746B) 0x50FD86D: xmlStrndup (in /usr/lib64/libxml2.so.2.7.3)
| ->01.99% (89,430B) 0x514B330: (within /usr/lib64/libxml2.so.2.7.3)
| | ->01.85% (83,379B) 0x514B6E1: xmlSAX2Characters (in /usr/lib64/libxml2.so.2.7.3)
| | | ->01.85% (83,377B) 0x509DD2F: xmlParseCharData (in /usr/lib64/libxml2.so.2.7.3)
| | | | ->01.85% (83,377B) 0x50A17C7: xmlParseContent (in /usr/lib64/libxml2.so.2.7.3)
| | | |   
| | | ->00.00% (2B) in 1+ places, all below ms_print's threshold (01.00%)
| | | 
| | ->00.13% (6,051B) in 1+ places, all below ms_print's threshold (01.00%)
| | 
| ->01.64% (73,742B) 0x50AD583: xmlNewNode (in /usr/lib64/libxml2.so.2.7.3)
| | ->01.64% (73,742B) 0x50B2A01: xmlNewDocNode (in /usr/lib64/libxml2.so.2.7.3)
| |   ->01.64% (73,742B) 0x514C1AD: xmlSAX2StartElementNs (in /usr/lib64/libxml2.so.2.7.3)
| |     ->01.64% (73,737B) 0x50A0AB6: (within /usr/lib64/libxml2.so.2.7.3)
| |     | 
| |     ->00.00% (5B) in 1+ places, all below ms_print's threshold (01.00%)
| |     
| ->00.03% (1,574B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->00.61% (27,408B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 49     45,161,067        3,732,344        3,271,377       460,967            0
 50     45,685,617        3,761,456        3,297,434       464,022            0
 51     46,209,802        3,220,240        2,825,744       394,496            0
 52     46,734,075        2,632,328        2,316,250       316,078            0
 53     47,258,248        2,044,288        1,806,674       237,614            0
88.38% (1,806,674B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->35.62% (728,160B) 0x514B4DC: (within /usr/lib64/libxml2.so.2.7.3)
| ->27.74% (567,120B) 0x514B6E1: xmlSAX2Characters (in /usr/lib64/libxml2.so.2.7.3)
| | ->27.74% (567,120B) 0x509DD2F: xmlParseCharData (in /usr/lib64/libxml2.so.2.7.3)
| | | ->27.74% (567,120B) 0x50A17C7: xmlParseContent (in /usr/lib64/libxml2.so.2.7.3)
| | |   ->27.74% (567,120B) 0x50A1602: xmlParseElement (in /usr/lib64/libxml2.so.2.7.3)
| | |     
| | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
| | 
| ->07.34% (150,000B) 0x514B594: xmlSAX2Characters (in /usr/lib64/libxml2.so.2.7.3)
| | ->07.34% (150,000B) 0x50A17C7: xmlParseContent (in /usr/lib64/libxml2.so.2.7.3)
| | | ->07.34% (150,000B) 0x50A1602: xmlParseElement (in /usr/lib64/libxml2.so.2.7.3)
| | |   ->06.80% (139,080B) 0x50A18AC: xmlParseContent (in /usr/lib64/libxml2.so.2.7.3)
| | |   | 
| | |   ->00.53% (10,920B) in 1+ places, all below ms_print's threshold (01.00%)
| | |   
| | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
| | 
| ->00.54% (11,040B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->35.09% (717,240B) 0x50AD55D: xmlNewNode (in /usr/lib64/libxml2.so.2.7.3)
| ->35.09% (717,240B) 0x50B2A01: xmlNewDocNode (in /usr/lib64/libxml2.so.2.7.3)
|   ->35.09% (717,240B) 0x514C1AD: xmlSAX2StartElementNs (in /usr/lib64/libxml2.so.2.7.3)
|     ->35.08% (717,120B) 0x50A0AB6: (within /usr/lib64/libxml2.so.2.7.3)
|     | ->35.08% (717,120B) 0x50A1389: xmlParseElement (in /usr/lib64/libxml2.so.2.7.3)
|     |   
|     ->00.01% (120B) in 1+ places, all below ms_print's threshold (01.00%)
|     
->12.82% (262,145B) 0x401AC9: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml)
| ->12.82% (262,145B) 0x4031BF: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
|   ->12.82% (262,145B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
|     
->04.19% (85,579B) 0x50FD86D: xmlStrndup (in /usr/lib64/libxml2.so.2.7.3)
| ->02.26% (46,237B) 0x514B330: (within /usr/lib64/libxml2.so.2.7.3)
| | ->02.11% (43,073B) 0x514B6E1: xmlSAX2Characters (in /usr/lib64/libxml2.so.2.7.3)
| | | ->02.11% (43,073B) 0x509DD2F: xmlParseCharData (in /usr/lib64/libxml2.so.2.7.3)
| | | | ->02.11% (43,073B) 0x50A17C7: xmlParseContent (in /usr/lib64/libxml2.so.2.7.3)
| | | |   
| | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
| | | 
| | ->00.15% (3,164B) in 1+ places, all below ms_print's threshold (01.00%)
| | 
| ->01.86% (38,104B) 0x50AD583: xmlNewNode (in /usr/lib64/libxml2.so.2.7.3)
| | ->01.86% (38,104B) 0x50B2A01: xmlNewDocNode (in /usr/lib64/libxml2.so.2.7.3)
| |   ->01.86% (38,104B) 0x514C1AD: xmlSAX2StartElementNs (in /usr/lib64/libxml2.so.2.7.3)
| |     ->01.86% (38,099B) 0x50A0AB6: (within /usr/lib64/libxml2.so.2.7.3)
| |     | 
| |     ->00.00% (5B) in 1+ places, all below ms_print's threshold (01.00%)
| |     
| ->00.06% (1,238B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->00.66% (13,550B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 54     47,782,449        1,456,552        1,297,263       159,289            0
 55     48,306,621          868,496          787,687        80,809            0
 56     48,830,833          280,688          278,360         2,328            0