bzr branch
http://darksoft.org/webbzr/xmlbench/trunk
2
by Suren A. Chilingaryan
Intel, Tango, Phobos, and RapidXML parsers; Memory benchmark scripts |
1 |
--------------------------------------------------------------------------------
|
2 |
Command: ./libxml 1 xmlgen 64000000 |
|
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 |
61.14^, ,. .,.,. ....,.,. ...,..,. ... .... ... :. .. .. , ...:...:.,......,.. |
|
10 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
11 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
12 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
13 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
14 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
15 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
16 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
17 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
18 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
19 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
20 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
21 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
22 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
23 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
24 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
25 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
26 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
27 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
28 |
|# @: :@:@: ::::@:@: :::@::@: ::: :::: ::: :: :: :: @ :::::::::@::::::@:: |
|
29 |
0 +----------------------------------------------------------------------->Gi |
|
30 |
0 9.739 |
|
31 |
||
32 |
Number of snapshots: 72 |
|
33 |
Detailed snapshots: [1 (peak), 3, 6, 8, 14, 16, 21, 24, 45, 58, 68] |
|
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 428,543 64,000,176 64,000,098 78 0 |
|
40 |
100.00% (64,000,098B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
|
41 |
->100.00% (64,000,001B) 0x401995: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml) |
|
42 |
| ->100.00% (64,000,001B) 0x40307F: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml) |
|
43 |
| ->100.00% (64,000,001B) 0x56415E2: (below main) (in /lib64/libc-2.9.so) |
|
44 |
|
|
|
45 |
->00.00% (97B) in 1+ places, all below ms_print's threshold (01.00%) |
|
46 |
||
47 |
--------------------------------------------------------------------------------
|
|
48 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
|
49 |
--------------------------------------------------------------------------------
|
|
50 |
2 116,964,926 64,000,080 64,000,046 34 0
|
|
51 |
3 313,601,485 64,000,080 64,000,046 34 0
|
|
52 |
100.00% (64,000,046B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
|
53 |
->100.00% (64,000,001B) 0x401995: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml)
|
|
54 |
| ->100.00% (64,000,001B) 0x40307F: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
|
|
55 |
| ->100.00% (64,000,001B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
|
|
56 |
|
|
|
57 |
->00.00% (45B) in 1+ places, all below ms_print's threshold (01.00%) |
|
58 |
||
59 |
--------------------------------------------------------------------------------
|
|
60 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) |
|
61 |
--------------------------------------------------------------------------------
|
|
62 |
4 555,265,443 64,000,080 64,000,046 34 0 |
|
63 |
5 743,146,203 64,000,104 64,000,059 45 0 |
|
64 |
6 929,513,754 64,000,080 64,000,046 34 0 |
|
65 |
100.00% (64,000,046B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
|
66 |
->100.00% (64,000,001B) 0x401995: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml) |
|
67 |
| ->100.00% (64,000,001B) 0x40307F: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml) |
|
68 |
| ->100.00% (64,000,001B) 0x56415E2: (below main) (in /lib64/libc-2.9.so) |
|
69 |
|
|
|
70 |
->00.00% (45B) in 1+ places, all below ms_print's threshold (01.00%) |
|
71 |
||
72 |
--------------------------------------------------------------------------------
|
|
73 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
|
74 |
--------------------------------------------------------------------------------
|
|
75 |
7 1,115,864,673 64,000,080 64,000,046 34 0
|
|
76 |
8 1,241,410,905 64,000,080 64,000,046 34 0
|
|
77 |
100.00% (64,000,046B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
|
78 |
->100.00% (64,000,001B) 0x401995: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml)
|
|
79 |
| ->100.00% (64,000,001B) 0x40307F: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
|
|
80 |
| ->100.00% (64,000,001B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
|
|
81 |
|
|
|
82 |
->00.00% (45B) in 1+ places, all below ms_print's threshold (01.00%) |
|
83 |
||
84 |
--------------------------------------------------------------------------------
|
|
85 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) |
|
86 |
--------------------------------------------------------------------------------
|
|
87 |
9 1,408,802,806 64,000,176 64,000,098 78 0 |
|
88 |
10 1,618,043,583 64,000,080 64,000,046 34 0 |
|
89 |
11 1,771,486,310 64,000,080 64,000,046 34 0 |
|
90 |
12 1,965,769,925 64,000,080 64,000,046 34 0 |
|
91 |
13 2,118,206,893 64,000,152 64,000,085 67 0 |
|
92 |
14 2,296,065,192 64,000,080 64,000,046 34 0 |
|
93 |
100.00% (64,000,046B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
|
94 |
->100.00% (64,000,001B) 0x401995: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml) |
|
95 |
| ->100.00% (64,000,001B) 0x40307F: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml) |
|
96 |
| ->100.00% (64,000,001B) 0x56415E2: (below main) (in /lib64/libc-2.9.so) |
|
97 |
|
|
|
98 |
->00.00% (45B) in 1+ places, all below ms_print's threshold (01.00%) |
|
99 |
||
100 |
--------------------------------------------------------------------------------
|
|
101 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
|
102 |
--------------------------------------------------------------------------------
|
|
103 |
15 2,397,687,970 64,000,104 64,000,059 45 0
|
|
104 |
16 2,550,124,246 64,000,080 64,000,046 34 0
|
|
105 |
100.00% (64,000,046B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
|
106 |
->100.00% (64,000,001B) 0x401995: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml)
|
|
107 |
| ->100.00% (64,000,001B) 0x40307F: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
|
|
108 |
| ->100.00% (64,000,001B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
|
|
109 |
|
|
|
110 |
->00.00% (45B) in 1+ places, all below ms_print's threshold (01.00%) |
|
111 |
||
112 |
--------------------------------------------------------------------------------
|
|
113 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) |
|
114 |
--------------------------------------------------------------------------------
|
|
115 |
17 2,702,563,039 64,000,080 64,000,046 34 0 |
|
116 |
18 2,931,222,005 64,000,080 64,000,046 34 0 |
|
117 |
19 3,083,664,890 64,000,080 64,000,046 34 0 |
|
118 |
20 3,246,249,376 64,000,104 64,000,059 45 0 |
|
119 |
21 3,449,486,792 64,000,080 64,000,046 34 0 |
|
120 |
100.00% (64,000,046B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
|
121 |
->100.00% (64,000,001B) 0x401995: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml) |
|
122 |
| ->100.00% (64,000,001B) 0x40307F: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml) |
|
123 |
| ->100.00% (64,000,001B) 0x56415E2: (below main) (in /lib64/libc-2.9.so) |
|
124 |
|
|
|
125 |
->00.00% (45B) in 1+ places, all below ms_print's threshold (01.00%) |
|
126 |
||
127 |
--------------------------------------------------------------------------------
|
|
128 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
|
129 |
--------------------------------------------------------------------------------
|
|
130 |
22 3,571,421,949 64,000,080 64,000,046 34 0
|
|
131 |
23 3,734,009,473 64,000,080 64,000,046 34 0
|
|
132 |
24 3,855,944,276 64,000,104 64,000,059 45 0
|
|
133 |
100.00% (64,000,059B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
|
134 |
->100.00% (64,000,001B) 0x401995: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml)
|
|
135 |
| ->100.00% (64,000,001B) 0x40307F: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
|
|
136 |
| ->100.00% (64,000,001B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
|
|
137 |
|
|
|
138 |
->00.00% (58B) in 1+ places, all below ms_print's threshold (01.00%) |
|
139 |
||
140 |
--------------------------------------------------------------------------------
|
|
141 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) |
|
142 |
--------------------------------------------------------------------------------
|
|
143 |
25 4,018,527,919 64,000,080 64,000,046 34 0 |
|
144 |
26 4,221,766,402 64,000,080 64,000,046 34 0 |
|
145 |
27 4,384,344,188 64,000,080 64,000,046 34 0 |
|
146 |
28 4,628,214,609 64,000,104 64,000,059 45 0 |
|
147 |
29 4,831,442,714 64,000,080 64,000,046 34 0 |
|
148 |
30 4,953,377,593 64,000,080 64,000,046 34 0 |
|
149 |
31 5,115,958,938 64,000,080 64,000,046 34 0 |
|
150 |
32 5,240,192,377 64,000,080 64,000,046 34 0 |
|
151 |
33 5,364,431,624 64,112,936 64,107,352 5,584 0 |
|
152 |
34 5,612,898,969 64,112,936 64,107,352 5,584 0 |
|
153 |
35 5,737,139,533 64,112,936 64,107,352 5,584 0 |
|
154 |
36 5,923,492,898 64,112,936 64,107,352 5,584 0 |
|
155 |
37 6,171,961,889 64,113,080 64,107,391 5,689 0 |
|
156 |
38 6,358,315,511 64,112,936 64,107,352 5,584 0 |
|
157 |
39 6,544,670,621 64,112,936 64,107,352 5,584 0 |
|
158 |
40 6,731,020,923 64,112,936 64,107,352 5,584 0 |
|
159 |
41 6,979,490,439 64,112,984 64,107,365 5,619 0 |
|
160 |
42 7,103,727,522 64,112,936 64,107,352 5,584 0 |
|
161 |
43 7,227,961,155 64,112,984 64,107,365 5,619 0 |
|
162 |
44 7,414,315,253 64,112,936 64,107,352 5,584 0 |
|
163 |
45 7,538,551,625 64,112,936 64,107,352 5,584 0 |
|
164 |
99.99% (64,107,352B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
|
165 |
->99.82% (64,000,001B) 0x401995: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml) |
|
166 |
| ->99.82% (64,000,001B) 0x40307F: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml) |
|
167 |
| ->99.82% (64,000,001B) 0x56415E2: (below main) (in /lib64/libc-2.9.so) |
|
168 |
|
|
|
169 |
->00.17% (107,351B) in 1+ places, all below ms_print's threshold (01.00%) |
|
170 |
||
171 |
--------------------------------------------------------------------------------
|
|
172 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
|
173 |
--------------------------------------------------------------------------------
|
|
174 |
46 7,787,017,230 64,112,936 64,107,352 5,584 0
|
|
175 |
47 7,911,251,858 64,112,936 64,107,352 5,584 0
|
|
176 |
48 8,097,601,534 64,112,936 64,107,352 5,584 0
|
|
177 |
49 8,221,834,474 64,113,080 64,107,391 5,689 0
|
|
178 |
50 8,323,458,324 64,112,936 64,107,352 5,584 0
|
|
179 |
51 8,425,083,495 64,112,936 64,107,352 5,584 0
|
|
180 |
52 8,526,707,324 64,112,984 64,107,365 5,619 0
|
|
181 |
53 8,628,331,543 64,112,936 64,107,352 5,584 0
|
|
182 |
54 8,729,954,337 64,112,888 64,107,339 5,549 0
|
|
183 |
55 8,831,579,703 64,113,080 64,107,391 5,689 0
|
|
184 |
56 8,933,204,181 64,112,936 64,107,352 5,584 0
|
|
185 |
57 9,034,827,340 64,112,984 64,107,365 5,619 0
|
|
186 |
58 9,136,450,454 64,112,984 64,107,365 5,619 0
|
|
187 |
99.99% (64,107,365B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
|
188 |
->99.82% (64,000,001B) 0x401995: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml)
|
|
189 |
| ->99.82% (64,000,001B) 0x40307F: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
|
|
190 |
| ->99.82% (64,000,001B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
|
|
191 |
|
|
|
192 |
->00.17% (107,364B) in 1+ places, all below ms_print's threshold (01.00%) |
|
193 |
||
194 |
--------------------------------------------------------------------------------
|
|
195 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) |
|
196 |
--------------------------------------------------------------------------------
|
|
197 |
59 9,238,077,615 64,112,936 64,107,352 5,584 0 |
|
198 |
60 9,339,701,505 64,112,936 64,107,352 5,584 0 |
|
199 |
61 9,441,326,388 64,112,936 64,107,352 5,584 0 |
|
200 |
62 9,542,949,263 64,112,936 64,107,352 5,584 0 |
|
201 |
63 9,644,573,870 64,112,936 64,107,352 5,584 0 |
|
202 |
64 9,746,200,654 64,112,936 64,107,352 5,584 0 |
|
203 |
65 9,847,823,511 64,112,936 64,107,352 5,584 0 |
|
204 |
66 9,949,451,348 64,112,936 64,107,352 5,584 0 |
|
205 |
67 10,051,075,059 64,112,936 64,107,352 5,584 0 |
|
206 |
68 10,152,699,109 64,112,984 64,107,365 5,619 0 |
|
207 |
99.99% (64,107,365B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
|
208 |
->99.82% (64,000,001B) 0x401995: xmlgen_init (in /home/csa/misc/bench/xmlbench/xsl/libxml) |
|
209 |
| ->99.82% (64,000,001B) 0x40307F: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml) |
|
210 |
| ->99.82% (64,000,001B) 0x56415E2: (below main) (in /lib64/libc-2.9.so) |
|
211 |
|
|
|
212 |
->00.17% (107,364B) in 1+ places, all below ms_print's threshold (01.00%) |
|
213 |
||
214 |
--------------------------------------------------------------------------------
|
|
215 |
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) |
|
216 |
--------------------------------------------------------------------------------
|
|
217 |
69 10,254,327,394 64,112,936 64,107,352 5,584 0 |
|
218 |
70 10,355,951,088 64,112,984 64,107,365 5,619 0 |
|
219 |
71 10,457,574,041 64,112,936 64,107,352 5,584 0 |