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


    MB
1.015^            ,.                                 ,.                       
     |            #:                                 @:                       
     |            #:                                 @:                       
     |            #:                                 @:                       
     |            #:                                 @:                       
     |            #:                      :          @:                      :
     |            #:                      :          @:                      :
     |            #:                      :          @:                      :
     |            #:                      :          @:                      :
     |            #:                      :          @:                      :
     |          : #:                      :         @@:                      :
     |          : #:                      :         @@:                      :
     |          : #:                      :         @@:                      :
     |          : #:                      :         @@:                      :
     |          : #:                      :         @@:                      :
     | .,..,..,,: #:                      ::::::::::@@:                      :
     | :@::@::@@: #:                      ::::::::::@@:                      :
     | :@::@::@@: #:                      ::::::::::@@:                      :
     | :@::@::@@: #:                      ::::::::::@@:                      :
     | :@::@::@@: #:                      ::::::::::@@:                      :
   0 +----------------------------------------------------------------------->Mi
     0                                                                   143.0

Number of snapshots: 90
 Detailed snapshots: [5, 11, 16, 20, 24 (peak), 53, 63, 73, 83]

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
  0              0                0                0             0            0
  1      2,043,146               16                8             8            0
  2      3,362,168          262,408          262,342            66            0
  3      4,290,430          262,408          262,342            66            0
  4      5,434,109          262,480          262,381            99            0
  5      5,967,855          262,512          262,394           118            0
99.96% (262,394B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.86% (262,145B) 0x404E84: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| ->99.86% (262,145B) 0x4066A1: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
|   ->99.86% (262,145B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->00.09% (249B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
  6      6,909,594          262,440          262,355            85            0
  7      7,905,819          262,408          262,342            66            0
  8      8,765,288          262,416          262,342            74            0
  9     10,123,000          262,408          262,342            66            0
 10     11,177,703          262,480          262,381            99            0
 11     11,736,391          262,416          262,342            74            0
99.97% (262,342B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.90% (262,145B) 0x404E84: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| ->99.90% (262,145B) 0x4066A1: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
|   ->99.90% (262,145B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->00.08% (197B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 12     12,547,661          262,480          262,381            99            0
 13     13,298,876          262,408          262,342            66            0
 14     14,538,432          262,488          262,381           107            0
 15     15,538,753          262,408          262,342            66            0
 16     16,720,894          262,440          262,355            85            0
99.97% (262,355B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.89% (262,145B) 0x404E84: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| ->99.89% (262,145B) 0x4066A1: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
|   ->99.89% (262,145B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->00.08% (210B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 17     17,470,648          262,408          262,342            66            0
 18     18,463,064          262,408          262,342            66            0
 19     19,335,971          262,416          262,342            74            0
 20     20,452,654          262,408          262,342            66            0
99.97% (262,342B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.90% (262,145B) 0x404E84: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| ->99.90% (262,145B) 0x4066A1: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
|   ->99.90% (262,145B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->00.08% (197B) 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     21,502,958          262,440          262,355            85            0
 22     22,826,728          535,688          534,807           881            0
 23     25,975,689        1,060,048        1,059,147           901            0
 24     25,984,288        1,063,608        1,062,569         1,039            0
99.90% (1,062,569B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->49.34% (524,832B) 0x50FBA23: QString::realloc(int) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
| ->49.29% (524,288B) 0x50FC012: QString::resize(int) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
| | ->49.29% (524,288B) 0x51BA07B: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
| |   ->49.29% (524,288B) 0x51B7112: QTextDecoder::toUnicode(QString*, char const*, int) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
| |     ->49.29% (524,288B) 0x51C4F8F: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
| |       
| ->00.05% (544B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->24.65% (262,145B) 0x404E84: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| ->24.65% (262,145B) 0x4066A1: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
|   ->24.65% (262,145B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->24.63% (261,997B) 0x50C291A: QByteArray::QByteArray(char const*) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
| ->24.63% (261,997B) 0x51BD3D7: QXmlStreamReader::addData(char const*) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
| | ->24.63% (261,997B) 0x405FD8: parseXML(TestData*, unsigned long) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| |   ->24.63% (261,997B) 0x40661F: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| |     ->24.63% (261,997B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so)
| |       
| ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->01.28% (13,595B) in 53 places, all below massif's threshold (01.00%)
  
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 25     26,045,184        1,064,040        1,062,913         1,127            0
 26     27,920,198        1,063,912        1,062,819         1,093            0
 27     76,066,663          802,320          801,238         1,082            0
 28     76,989,212          278,032          276,936         1,096            0
 29     77,609,003          278,008          276,923         1,085            0
 30     78,613,585          278,032          276,936         1,096            0
 31     79,628,965          278,000          276,923         1,077            0
 32     80,638,600          278,000          276,923         1,077            0
 33     81,147,672          278,032          276,936         1,096            0
 34     82,138,850          278,008          276,923         1,085            0
 35     83,156,111          278,008          276,923         1,085            0
 36     83,665,737          278,000          276,923         1,077            0
 37     84,669,802          278,000          276,923         1,077            0
 38     85,674,256          278,000          276,923         1,077            0
 39     86,186,274          278,104          276,962         1,142            0
 40     87,201,704          278,008          276,923         1,085            0
 41     88,214,983          278,032          276,936         1,096            0
 42     89,232,953          278,104          276,962         1,142            0
 43     90,260,909          278,008          276,923         1,085            0
 44     91,272,900          278,000          276,923         1,077            0
 45     92,282,009          278,008          276,923         1,085            0
 46     93,303,207          278,008          276,923         1,085            0
 47     94,299,322          278,032          276,936         1,096            0
 48     95,316,964          278,008          276,923         1,085            0
 49     96,332,555          278,032          276,936         1,096            0
 50     96,346,235          278,008          276,923         1,085            0
 51     96,356,479          278,032          276,936         1,096            0
 52     96,370,500          278,008          276,923         1,085            0
 53     96,379,110          277,976          276,910         1,066            0
99.62% (276,910B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->94.30% (262,145B) 0x404E84: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| ->94.30% (262,145B) 0x4066A1: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
|   ->94.30% (262,145B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->04.10% (11,397B) in 63 places, all below massif's threshold (01.00%)
| 
->01.21% (3,368B) 0x51087B5: QVectorData::malloc(int, int, int, QVectorData*) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
  ->01.21% (3,368B) in 6 places, all below massif's threshold (01.00%)
    
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 54     96,388,689          278,000          276,923         1,077            0
 55     96,397,641          278,000          276,923         1,077            0
 56     96,406,748          278,000          276,923         1,077            0
 57     96,416,005          278,000          276,923         1,077            0
 58     96,425,365          278,000          276,923         1,077            0
 59     96,434,821          278,000          276,923         1,077            0
 60     96,443,533          278,000          276,923         1,077            0
 61     96,453,238          278,000          276,923         1,077            0
 62     96,463,072          278,000          276,923         1,077            0
 63     96,473,091          278,000          276,923         1,077            0
99.61% (276,923B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->94.30% (262,145B) 0x404E84: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| ->94.30% (262,145B) 0x4066A1: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
|   ->94.30% (262,145B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->04.10% (11,410B) in 63 places, all below massif's threshold (01.00%)
| 
->01.21% (3,368B) 0x51087B5: QVectorData::malloc(int, int, int, QVectorData*) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
  ->01.21% (3,368B) in 6 places, all below massif's threshold (01.00%)
    
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 64     96,483,123          278,000          276,923         1,077            0
 65     96,493,302          278,000          276,923         1,077            0
 66     96,506,126          278,000          276,923         1,077            0
 67     96,518,033          278,104          276,962         1,142            0
 68     96,526,685          278,000          276,923         1,077            0
 69     96,536,384          278,032          276,936         1,096            0
 70     96,549,380          278,008          276,923         1,085            0
 71     96,558,710          278,000          276,923         1,077            0
 72     96,568,289          278,032          276,936         1,096            0
 73     96,674,499          539,952          538,876         1,076            0
99.80% (538,876B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->48.55% (262,145B) 0x404E84: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| ->48.55% (262,145B) 0x4066A1: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
|   ->48.55% (262,145B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->48.52% (261,966B) 0x50C291A: QByteArray::QByteArray(char const*) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
| ->48.52% (261,966B) 0x51BD3D7: QXmlStreamReader::addData(char const*) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
| | ->48.52% (261,966B) 0x405FD8: parseXML(TestData*, unsigned long) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| |   ->48.52% (261,966B) 0x40636C: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| |   | ->48.52% (261,966B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so)
| |   |   
| |   ->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%)
| 
->02.73% (14,765B) in 63 places, all below massif's threshold (01.00%)
  
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 74     96,762,172          540,016          538,916         1,100            0
 75     99,910,761        1,064,376        1,063,256         1,120            0
 76     99,919,605        1,064,536        1,063,379         1,157            0
 77     99,928,246        1,064,480        1,063,338         1,142            0
 78     99,936,900        1,064,432        1,063,298         1,134            0
 79     99,946,751        1,064,432        1,063,298         1,134            0
 80     99,955,403        1,064,600        1,063,434         1,166            0
 81     99,964,003        1,064,592        1,063,431         1,161            0
 82     99,973,605        1,064,600        1,063,436         1,164            0
 83     99,982,239        1,064,432        1,063,298         1,134            0
99.89% (1,063,298B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->49.31% (524,832B) 0x50FBA23: QString::realloc(int) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
| ->49.26% (524,288B) 0x50FC012: QString::resize(int) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
| | ->49.26% (524,288B) 0x51BA07B: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
| |   ->49.26% (524,288B) 0x51B7112: QTextDecoder::toUnicode(QString*, char const*, int) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
| |     ->49.26% (524,288B) 0x51C4F8F: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
| |       
| ->00.05% (544B) in 1+ places, all below ms_print's threshold (01.00%)
| 
->24.63% (262,145B) 0x404E84: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| ->24.63% (262,145B) 0x4066A1: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
|   ->24.63% (262,145B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so)
|     
->24.61% (261,966B) 0x50C291A: QByteArray::QByteArray(char const*) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
| ->24.61% (261,966B) 0x51BD3D7: QXmlStreamReader::addData(char const*) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
| | ->24.61% (261,966B) 0x405FD8: parseXML(TestData*, unsigned long) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| |   ->24.61% (261,966B) 0x40636C: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
| |   | ->24.61% (261,966B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so)
| |   |   
| |   ->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%)
| 
->01.35% (14,355B) in 62 places, all below massif's threshold (01.00%)
  
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 84    101,821,548        1,064,296        1,063,204         1,092            0
 85    149,942,026          802,320          801,238         1,082            0
 86    149,963,859            6,880            6,117           763            0
 87    149,972,497            3,224            2,721           503            0
 88    149,981,237            2,464            2,161           303            0
 89    149,998,387              208              176            32            0