bzr branch
http://darksoft.org/webbzr/xmlbench/trunk
13
by Suren A. Chilingaryan
LibXML Pull Parser, FAXPP Parser, Mono security benchmark, multiple fixes |
1 |
--------------------------------------------------------------------------------
|
2 |
Command: ./qt-pull 1 ../xml.files/test.rdf |
|
3 |
Massif arguments: --heap=yes --depth=5 --massif-out-file=/tmp/massif.out |
|
4 |
ms_print arguments: /tmp/massif.out |
|
5 |
--------------------------------------------------------------------------------
|
|
6 |
||
7 |
||
8 |
MB
|
|
9 |
11.37^ ,. |
|
10 |
| #: |
|
11 |
| #: |
|
12 |
| #: |
|
13 |
| #: |
|
14 |
| #: |
|
15 |
| #: |
|
16 |
| #: |
|
17 |
| #: |
|
18 |
| #: |
|
19 |
| #: |
|
20 |
| #: |
|
21 |
| #: |
|
22 |
| #: |
|
23 |
| #: |
|
24 |
| #: |
|
25 |
| #: |
|
26 |
| #: |
|
27 |
| #: |
|
28 |
| #: |
|
29 |
0 +----------------------------------------------------------------------->Mi |
|
30 |
0 2.064 |
|
31 |
||
32 |
Number of snapshots: 52 |
|
33 |
Detailed snapshots: [8 (peak), 18, 24, 33, 39, 49] |
|
34 |
||
35 |
--------------------------------------------------------------------------------
|
|
36 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) |
|
37 |
--------------------------------------------------------------------------------
|
|
38 |
0 0 0 0 0 0 |
|
39 |
1 2,043,088 16 8 8 0 |
|
40 |
2 2,043,185 160 136 24 0 |
|
41 |
3 2,056,287 176 144 32 0 |
|
42 |
4 2,058,148 208 168 40 0 |
|
43 |
5 2,061,422 224 184 40 0 |
|
44 |
6 2,071,845 800 752 48 0 |
|
45 |
7 2,075,358 11,914,088 11,914,027 61 0 |
|
46 |
8 2,079,414 11,914,088 11,914,027 61 0 |
|
47 |
100.00% (11,914,027B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
|
48 |
->99.99% (11,913,275B) 0x40399A: ReadFile(char const*) (in /home/csa/misc/bench/xmlbench/parse/qt-pull) |
|
49 |
| ->99.99% (11,913,275B) 0x406593: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull) |
|
50 |
| ->99.99% (11,913,275B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so) |
|
51 |
|
|
|
52 |
->00.01% (752B) in 1+ places, all below ms_print's threshold (01.00%) |
|
53 |
||
54 |
--------------------------------------------------------------------------------
|
|
55 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
|
56 |
--------------------------------------------------------------------------------
|
|
57 |
9 2,079,414 11,913,512 11,913,459 53 0
|
|
58 |
10 2,082,195 11,913,544 11,913,467 77 0
|
|
59 |
11 2,084,230 11,915,504 11,915,371 133 0
|
|
60 |
12 2,085,816 11,915,552 11,915,409 143 0
|
|
61 |
13 2,087,544 11,915,504 11,915,371 133 0
|
|
62 |
14 2,089,216 11,921,168 11,920,987 181 0
|
|
63 |
15 2,090,817 11,921,184 11,920,995 189 0
|
|
64 |
16 2,092,260 11,921,504 11,921,212 292 0
|
|
65 |
17 2,093,986 11,921,768 11,921,396 372 0
|
|
66 |
18 2,094,760 11,921,864 11,921,460 404 0
|
|
67 |
100.00% (11,921,460B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
|
68 |
->99.93% (11,913,275B) 0x40399A: ReadFile(char const*) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
|
|
69 |
| ->99.93% (11,913,275B) 0x406593: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull)
|
|
70 |
| ->99.93% (11,913,275B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so)
|
|
71 |
|
|
|
72 |
->00.07% (8,185B) in 1+ places, all below ms_print's threshold (01.00%) |
|
73 |
||
74 |
--------------------------------------------------------------------------------
|
|
75 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) |
|
76 |
--------------------------------------------------------------------------------
|
|
77 |
19 2,096,147 11,922,128 11,921,660 468 0 |
|
78 |
20 2,097,779 11,922,384 11,921,852 532 0 |
|
79 |
21 2,098,673 11,922,736 11,922,180 556 0 |
|
80 |
22 2,100,321 11,923,000 11,922,372 628 0 |
|
81 |
23 2,101,969 11,923,256 11,922,564 692 0 |
|
82 |
24 2,103,983 11,923,424 11,922,690 734 0 |
|
83 |
99.99% (11,922,690B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
|
84 |
->99.91% (11,913,275B) 0x40399A: ReadFile(char const*) (in /home/csa/misc/bench/xmlbench/parse/qt-pull) |
|
85 |
| ->99.91% (11,913,275B) 0x406593: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/qt-pull) |
|
86 |
| ->99.91% (11,913,275B) 0x5C18A42: (below main) (in /lib64/libc-2.10.1.so) |
|
87 |
|
|
|
88 |
->00.08% (9,415B) in 1+ places, all below ms_print's threshold (01.00%) |
|
89 |
||
90 |
--------------------------------------------------------------------------------
|
|
91 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
|
92 |
--------------------------------------------------------------------------------
|
|
93 |
25 2,105,984 11,924,040 11,923,274 766 0
|
|
94 |
26 2,107,298 11,924,184 11,923,410 774 0
|
|
95 |
27 2,109,224 11,924,808 11,923,900 908 0
|
|
96 |
28 2,111,954 11,922,752 11,921,852 900 0
|
|
97 |
29 2,112,994 11,919,136 11,918,428 708 0
|
|
98 |
30 2,114,172 11,918,992 11,918,292 700 0
|
|
99 |
31 2,115,577 11,916,816 11,916,188 628 0
|
|
100 |
32 2,116,782 11,916,784 11,916,180 604 0
|
|
101 |
33 2,118,270 3,496 2,905 591 0
|
|
102 |
83.09% (2,905B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
|
103 |
->30.21% (1,056B) 0x50BC8E8: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
104 |
| ->30.21% (1,056B) 0x50BC997: QMutexPool::globalInstanceGet(void const*) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
105 |
| ->30.21% (1,056B) 0x51B7EF2: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
106 |
| ->30.21% (1,056B) 0x51B858E: QTextCodec::codecForMib(int) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
107 |
| ->30.21% (1,056B) 0x51C4C39: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
108 |
|
|
|
109 |
->19.91% (696B) 0x51B81AB: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
110 |
| ->19.91% (696B) 0x51B858E: QTextCodec::codecForMib(int) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
111 |
| ->19.91% (696B) 0x51C4C39: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
112 |
| ->19.91% (696B) 0x51C66D1: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
113 |
| ->19.91% (696B) 0x51CE117: QXmlStreamReader::QXmlStreamReader() (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
114 |
|
|
|
115 |
->15.79% (552B) 0x50DF999: QListData::realloc(int) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
116 |
| ->15.79% (552B) 0x50DFE41: QListData::prepend() (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
117 |
| ->14.65% (512B) 0x51B8D02: QTextCodec::QTextCodec() (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
118 |
| | ->14.65% (512B) 0x51B6057: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
119 |
| | | ->14.65% (512B) 0x51B81B7: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
120 |
| | |
|
|
121 |
| | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) |
|
122 |
| | |
|
123 |
| ->01.14% (40B) 0x51256D3: QAbstractFileEngineHandler::QAbstractFileEngineHandler() (in /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
124 |
| ->01.14% (40B) 0x5149223: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
125 |
| ->01.14% (40B) 0x51492B7: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
126 |
|
|
|
127 |
->06.86% (240B) 0x50BB2C1: QMutex::QMutex(QMutex::RecursionMode) (in /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
128 |
| ->03.43% (120B) 0x51250E8: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
129 |
| | ->03.43% (120B) 0x51256AA: QAbstractFileEngineHandler::QAbstractFileEngineHandler() (in /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
130 |
| | ->03.43% (120B) 0x5149223: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
131 |
| | ->03.43% (120B) 0x51492B7: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
132 |
| | |
|
133 |
| ->03.43% (120B) 0x50BC700: QMutexPool::get(void const*) (in /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
134 |
| ->03.43% (120B) 0x51B7EF2: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
135 |
| ->03.43% (120B) 0x51B858E: QTextCodec::codecForMib(int) (in /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
136 |
| ->03.43% (120B) 0x51C4C39: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
137 |
|
|
|
138 |
->06.66% (233B) in 43 places, all below massif's threshold (01.00%) |
|
139 |
|
|
|
140 |
->03.66% (128B) 0x51B800B: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
141 |
->03.66% (128B) 0x51B858E: QTextCodec::codecForMib(int) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
142 |
->03.66% (128B) 0x51C4C39: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
143 |
->03.66% (128B) 0x51C66D1: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
144 |
->03.66% (128B) 0x51CE117: QXmlStreamReader::QXmlStreamReader() (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
145 |
|
|
146 |
--------------------------------------------------------------------------------
|
|
147 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
|
148 |
--------------------------------------------------------------------------------
|
|
149 |
34 2,131,716 3,472 2,889 583 0
|
|
150 |
35 2,133,177 3,376 2,817 559 0
|
|
151 |
36 2,135,027 3,248 2,721 527 0
|
|
152 |
37 2,136,765 3,120 2,625 495 0
|
|
153 |
38 2,138,391 2,992 2,529 463 0
|
|
154 |
39 2,139,905 2,856 2,433 423 0
|
|
155 |
85.19% (2,433B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
|
156 |
->36.97% (1,056B) 0x50BC8E8: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
157 |
| ->36.97% (1,056B) 0x50BC997: QMutexPool::globalInstanceGet(void const*) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
158 |
| ->36.97% (1,056B) 0x51B7EF2: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
159 |
| ->36.97% (1,056B) 0x51B858E: QTextCodec::codecForMib(int) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
160 |
| ->36.97% (1,056B) 0x51C4C39: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
161 |
|
|
|
162 |
->19.33% (552B) 0x50DF999: QListData::realloc(int) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
163 |
| ->19.33% (552B) 0x50DFE41: QListData::prepend() (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
164 |
| ->17.93% (512B) 0x51B8D02: QTextCodec::QTextCodec() (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
165 |
| | ->17.93% (512B) 0x51B6057: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
166 |
| | | ->17.93% (512B) 0x51B81B7: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
167 |
| | |
|
|
168 |
| | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) |
|
169 |
| | |
|
170 |
| ->01.40% (40B) 0x51256D3: QAbstractFileEngineHandler::QAbstractFileEngineHandler() (in /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
171 |
| ->01.40% (40B) 0x5149223: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
172 |
| ->01.40% (40B) 0x51492B7: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
173 |
|
|
|
174 |
->08.40% (240B) 0x50BB2C1: QMutex::QMutex(QMutex::RecursionMode) (in /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
175 |
| ->04.20% (120B) 0x51250E8: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
176 |
| | ->04.20% (120B) 0x51256AA: QAbstractFileEngineHandler::QAbstractFileEngineHandler() (in /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
177 |
| | ->04.20% (120B) 0x5149223: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
178 |
| | ->04.20% (120B) 0x51492B7: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
179 |
| | |
|
180 |
| ->04.20% (120B) 0x50BC700: QMutexPool::get(void const*) (in /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
181 |
| ->04.20% (120B) 0x51B7EF2: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
182 |
| ->04.20% (120B) 0x51B858E: QTextCodec::codecForMib(int) (in /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
183 |
| ->04.20% (120B) 0x51C4C39: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
184 |
|
|
|
185 |
->08.40% (240B) 0x51B81AB: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
186 |
| ->08.40% (240B) 0x51B858E: QTextCodec::codecForMib(int) (in /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
187 |
| ->08.40% (240B) 0x51C4C39: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
188 |
| ->08.40% (240B) 0x51C66D1: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
189 |
| ->08.40% (240B) 0x51CE117: QXmlStreamReader::QXmlStreamReader() (in /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
190 |
|
|
|
191 |
->07.60% (217B) in 43 places, all below massif's threshold (01.00%) |
|
192 |
|
|
|
193 |
->04.48% (128B) 0x51B800B: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
194 |
->04.48% (128B) 0x51B858E: QTextCodec::codecForMib(int) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
195 |
->04.48% (128B) 0x51C4C39: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
196 |
->04.48% (128B) 0x51C66D1: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
197 |
->04.48% (128B) 0x51CE117: QXmlStreamReader::QXmlStreamReader() (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
198 |
|
|
199 |
--------------------------------------------------------------------------------
|
|
200 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
|
201 |
--------------------------------------------------------------------------------
|
|
202 |
40 2,141,307 2,728 2,337 391 0
|
|
203 |
41 2,142,597 2,600 2,241 359 0
|
|
204 |
42 2,143,767 2,488 2,161 327 0
|
|
205 |
43 2,144,807 2,392 2,113 279 0
|
|
206 |
44 2,146,545 2,200 1,985 215 0
|
|
207 |
45 2,147,818 1,432 1,368 64 0
|
|
208 |
46 2,151,582 1,304 1,248 56 0
|
|
209 |
47 2,152,677 224 184 40 0
|
|
210 |
48 2,164,377 208 176 32 0
|
|
211 |
49 2,164,573 144 128 16 0
|
|
212 |
88.89% (128B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
|
213 |
->83.33% (120B) 0x50BB2C1: QMutex::QMutex(QMutex::RecursionMode) (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
214 |
| ->83.33% (120B) 0x51250E8: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
215 |
| | ->83.33% (120B) 0x51256AA: QAbstractFileEngineHandler::QAbstractFileEngineHandler() (in /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
216 |
| | ->83.33% (120B) 0x5149223: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
217 |
| | ->83.33% (120B) 0x51492B7: (within /usr/lib64/qt4/libQtCore.so.4.5.2)
|
|
218 |
| |
|
|
219 |
| ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) |
|
220 |
|
|
|
221 |
->05.56% (8B) 0x51250D8: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
222 |
| ->05.56% (8B) 0x51256AA: QAbstractFileEngineHandler::QAbstractFileEngineHandler() (in /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
223 |
| ->05.56% (8B) 0x5149223: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
224 |
| ->05.56% (8B) 0x51492B7: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
225 |
| ->05.56% (8B) 0x51492F3: (within /usr/lib64/qt4/libQtCore.so.4.5.2) |
|
226 |
|
|
|
227 |
->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) |
|
228 |
||
229 |
--------------------------------------------------------------------------------
|
|
230 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) |
|
231 |
--------------------------------------------------------------------------------
|
|
232 |
50 2,164,739 16 8 8 0 |
|
233 |
51 2,164,770 0 0 0 0 |