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


    KB
513.8^                                    #                                  .
     |                                   .#                                  :
     |                                 :::#                                :::
     |                               ..:::#                             ..,:::
     |                               :::::#                             ::@:::
     |                            .: :::::#                           . ::@:::
     |                          . :: :::::#                           : ::@:::
     |                         :: :: :::::#                        :  : ::@:::
     |                         :: :: :::::#                        :  : ::@:::
     |                       : :: :: :::::#                        :  : ::@:::
     | .,.. .... ,. .........: :: :: :::::#::::::: ::: : ::::::::: :  : ::@:::
     | :@:: :::: @: :::::::::: :: :: :::::#::::::: ::: : ::::::::: :  : ::@:::
     | :@:: :::: @: :::::::::: :: :: :::::#::::::: ::: : ::::::::: :  : ::@:::
     | :@:: :::: @: :::::::::: :: :: :::::#::::::: ::: : ::::::::: :  : ::@:::
     | :@:: :::: @: :::::::::: :: :: :::::#::::::: ::: : ::::::::: :  : ::@:::
     | :@:: :::: @: :::::::::: :: :: :::::#::::::: ::: : ::::::::: :  : ::@:::
     | :@:: :::: @: :::::::::: :: :: :::::#::::::: ::: : ::::::::: :  : ::@:::
     | :@:: :::: @: :::::::::: :: :: :::::#::::::: ::: : ::::::::: :  : ::@:::
     | :@:: :::: @: :::::::::: :: :: :::::#::::::: ::: : ::::::::: :  : ::@:::
     | :@:: :::: @: :::::::::: :: :: :::::#::::::: ::: : ::::::::: :  : ::@:::
   0 +----------------------------------------------------------------------->Mi
     0                                                                   62.33

Number of snapshots: 64
 Detailed snapshots: [2, 9, 31 (peak), 58]

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
  0              0                0                0             0            0
  1      1,449,604          262,208          262,171            37            0
  2      2,671,383          262,184          262,158            26            0
99.99% (262,158B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.99% (262,145B) 0x404915: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| ->99.99% (262,145B) 0x406311: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|   ->99.99% (262,145B) 0x50C2A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->00.00% (13B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
  3      3,498,226          262,184          262,158            26            0
  4      4,291,299          262,184          262,158            26            0
  5      5,658,073          262,184          262,158            26            0
  6      6,768,834          262,184          262,158            26            0
  7      7,668,708          262,208          262,171            37            0
  8      9,012,045          262,184          262,158            26            0
  9     10,213,997          262,184          262,158            26            0
99.99% (262,158B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.99% (262,145B) 0x404915: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| ->99.99% (262,145B) 0x406311: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|   ->99.99% (262,145B) 0x50C2A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->00.00% (13B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 10     11,117,658          262,256          262,197            59            0
 11     11,754,775          262,184          262,158            26            0
 12     12,749,918          262,256          262,197            59            0
 13     14,126,143          262,184          262,158            26            0
 14     14,868,992          262,184          262,158            26            0
 15     15,743,776          262,184          262,158            26            0
 16     16,989,774          262,208          262,171            37            0
 17     17,901,960          262,184          262,158            26            0
 18     18,808,432          262,184          262,158            26            0
 19     19,722,679          262,184          262,158            26            0
 20     20,637,299          262,208          262,171            37            0
 21     21,230,184          298,072          297,929           143            0
 22     23,553,492          344,184          344,009           175            0
 23     23,955,125          356,488          356,297           191            0
 24     25,878,719          389,264          389,065           199            0
 25     26,684,700          401,568          401,353           215            0
 26     28,199,839          434,344          434,121           223            0
 27     29,419,746          446,648          446,409           239            0
 28     30,524,822          480,456          480,201           255            0
 29     31,357,685          484,560          484,297           263            0
 30     32,129,472          492,760          492,489           271            0
 31     33,183,987          526,096          525,741           355            0
99.93% (525,741B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->49.83% (262,145B) 0x404915: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| ->49.83% (262,145B) 0x406311: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|   ->49.83% (262,145B) 0x50C2A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->34.45% (181,248B) 0x421CF3: appendLong (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| ->24.91% (131,072B) 0x40D584: writeVTD (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| | ->18.69% (98,304B) 0x414D15: parse (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| | | ->18.69% (98,304B) 0x405CD5: parseXML (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| | |   ->18.69% (98,304B) 0x405F94: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| | |     
| | ->06.23% (32,768B) 0x415430: parse (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |   ->06.23% (32,768B) 0x405CD5: parseXML (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |     ->06.23% (32,768B) 0x405F94: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |       
| ->06.23% (32,768B) 0x40D69E: writeVTD (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| | ->06.23% (32,768B) 0x4148FB: parse (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |   ->06.23% (32,768B) 0x405CD5: parseXML (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |     ->06.23% (32,768B) 0x405F94: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |       
| ->03.11% (16,384B) 0x40D7C3: writeVTD (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| | ->03.11% (16,384B) 0x414D15: parse (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |   ->03.11% (16,384B) 0x405CD5: parseXML (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |     ->03.11% (16,384B) 0x405F94: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |       
| ->00.19% (1,024B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->07.20% (37,888B) 0x421CC2: appendLong (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| ->06.23% (32,768B) 0x40D584: writeVTD (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| | ->06.23% (32,768B) 0x413E23: parse (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |   ->06.23% (32,768B) 0x405CD5: parseXML (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |     ->06.23% (32,768B) 0x405F94: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |       
| ->00.97% (5,120B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->06.23% (32,768B) 0x4216AE: appendInt (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| ->06.23% (32,768B) 0x40D6F1: writeVTD (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|   ->06.23% (32,768B) 0x414D15: parse (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|     ->06.23% (32,768B) 0x405CD5: parseXML (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|       ->06.23% (32,768B) 0x405F94: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|         
->01.56% (8,192B) 0x421675: appendInt (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| ->01.56% (8,192B) 0x40D6F1: writeVTD (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|   ->01.56% (8,192B) 0x414D15: parse (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|     ->01.56% (8,192B) 0x405CD5: parseXML (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|       ->01.56% (8,192B) 0x405F94: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|         
->00.67% (3,500B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 32     33,920,488          264,544          264,494            50            0
 33     35,204,570          264,592          264,520            72            0
 34     35,899,424          264,544          264,494            50            0
 35     36,940,694          264,544          264,494            50            0
 36     37,978,410          264,544          264,494            50            0
 37     38,674,835          264,544          264,494            50            0
 38     39,713,259          264,544          264,494            50            0
 39     41,100,580          264,544          264,494            50            0
 40     42,485,059          264,544          264,494            50            0
 41     43,524,493          264,544          264,494            50            0
 42     44,909,320          264,544          264,494            50            0
 43     46,295,557          264,544          264,494            50            0
 44     47,331,677          264,544          264,494            50            0
 45     48,369,067          264,544          264,494            50            0
 46     49,410,074          264,616          264,533            83            0
 47     50,106,908          264,544          264,494            50            0
 48     51,142,663          264,616          264,533            83            0
 49     52,525,640          264,544          264,494            50            0
 50     52,928,430          264,616          264,533            83            0
 51     53,333,670          264,544          264,494            50            0
 52     53,735,355          264,544          264,494            50            0
 53     56,059,347          344,184          344,009           175            0
 54     58,384,508          389,264          389,065           199            0
 55     58,808,746          393,368          393,161           207            0
 56     60,705,408          434,344          434,121           223            0
 57     61,337,709          438,448          438,217           231            0
 58     61,927,159          446,648          446,409           239            0
99.95% (446,409B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->58.69% (262,145B) 0x404915: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| ->58.69% (262,145B) 0x406311: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|   ->58.69% (262,145B) 0x50C2A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->24.76% (110,592B) 0x421CF3: appendLong (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| ->14.67% (65,536B) 0x40D584: writeVTD (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| | ->14.67% (65,536B) 0x414D15: parse (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| | | ->14.67% (65,536B) 0x405CD5: parseXML (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| | |   ->14.67% (65,536B) 0x405EBF: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| | |   | 
| | |   ->00.00% (0B) 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%)
| | 
| ->07.34% (32,768B) 0x40D69E: writeVTD (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| | ->07.34% (32,768B) 0x4148FB: parse (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |   ->07.34% (32,768B) 0x405CD5: parseXML (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |     ->07.34% (32,768B) 0x405EBF: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |     | 
| |     ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
| |     
| ->02.75% (12,288B) 0x40D7C3: writeVTD (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| | ->02.75% (12,288B) 0x414D15: parse (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |   ->02.75% (12,288B) 0x405CD5: parseXML (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |     ->02.75% (12,288B) 0x405EBF: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |     | 
| |     ->00.00% (0B) 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%)
| 
->08.48% (37,888B) 0x421CC2: appendLong (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| ->07.34% (32,768B) 0x40D584: writeVTD (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| | ->07.34% (32,768B) 0x413E23: parse (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |   ->07.34% (32,768B) 0x405CD5: parseXML (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |     ->07.34% (32,768B) 0x405EBF: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| |     | 
| |     ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
| |     
| ->01.15% (5,120B) in 2 places, all below massif's threshold (01.00%)
|   
->05.50% (24,576B) 0x4216AE: appendInt (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| ->05.50% (24,576B) 0x40D6F1: writeVTD (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|   ->05.50% (24,576B) 0x414D15: parse (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|     ->05.50% (24,576B) 0x405CD5: parseXML (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|       ->05.50% (24,576B) 0x405EBF: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|       | 
|       ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
|       
->01.83% (8,192B) 0x421675: appendInt (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
| ->01.83% (8,192B) 0x40D6F1: writeVTD (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|   ->01.83% (8,192B) 0x414D15: parse (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|     ->01.83% (8,192B) 0x405CD5: parseXML (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|       ->01.83% (8,192B) 0x405EBF: Test (in /home/csa/misc/bench/xmlbench/parse/vtdxml)
|       | 
|       ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
|       
->00.68% (3,016B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 59     62,577,917          447,680          447,433           247            0
 60     63,030,183          480,456          480,201           255            0
 61     63,865,211          484,560          484,297           263            0
 62     64,641,935          492,760          492,489           271            0
 63     65,352,535          525,536          525,257           279            0