/xmlbench/trunk

To get this branch, use:
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 ../xml.files/mini.rdf ../xml.files/rdf2html.xsl
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
1.856^                                            , ... . .............  ,..  
10
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
11
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
12
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
13
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
14
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
15
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
16
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
17
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
18
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
19
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
20
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
21
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
22
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
23
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
24
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
25
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
26
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
27
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
28
     |                           :::@:::::@:@:@::@@:::::::::::::::@::::@:#::::
29
   0 +----------------------------------------------------------------------->Mi
30
     0                                                                   1.027
31
32
Number of snapshots: 80
33
 Detailed snapshots: [7, 16, 20, 22, 27, 29, 55, 65, 70 (peak)]
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        398,684              576              568             8            0
40
  2        411,935        1,852,992        1,852,958            34            0
41
  3        420,187        1,854,016        1,853,780           236            0
42
  4        429,336        1,854,736        1,854,492           244            0
43
  5        440,884        1,867,968        1,867,622           346            0
44
  6        448,709        1,869,920        1,869,472           448            0
45
  7        457,645        1,869,912        1,869,464           448            0
46
99.98% (1,869,464B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
47
->99.09% (1,852,918B) 0x401371: ReadFile (in /home/csa/misc/bench/xmlbench/xsl/libxml)
48
| ->99.00% (1,851,189B) 0x402B76: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
49
| | ->99.00% (1,851,189B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
50
| |   
51
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
52
| 
53
->00.88% (16,546B) in 1+ places, all below ms_print's threshold (01.00%)
54
55
--------------------------------------------------------------------------------
56
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
57
--------------------------------------------------------------------------------
58
  8        463,988        1,870,928        1,870,269           659            0
59
  9        473,580        1,872,408        1,871,555           853            0
60
 10        480,713        1,873,520        1,872,516         1,004            0
61
 11        489,041        1,874,896        1,873,690         1,206            0
62
 12        498,816        1,876,424        1,875,008         1,416            0
63
 13        507,189        1,877,680        1,876,104         1,576            0
64
 14        517,271        1,879,384        1,877,567         1,817            0
65
 15        529,287        1,881,264        1,879,184         2,080            0
66
 16        543,384        1,883,744        1,881,318         2,426            0
67
99.87% (1,881,318B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
68
->98.36% (1,852,918B) 0x401371: ReadFile (in /home/csa/misc/bench/xmlbench/xsl/libxml)
69
| ->98.27% (1,851,189B) 0x402B76: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
70
| | ->98.27% (1,851,189B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
71
| |   
72
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
73
| 
74
->01.51% (28,400B) in 32 places, all below massif's threshold (01.00%)
75
  
76
--------------------------------------------------------------------------------
77
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
78
--------------------------------------------------------------------------------
79
 17        552,028        1,884,880        1,882,295         2,585            0
80
 18        560,591        1,886,344        1,883,559         2,785            0
81
 19        566,943        1,887,120        1,884,233         2,887            0
82
 20        575,509        1,888,960        1,885,808         3,152            0
83
99.83% (1,885,808B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
84
->98.09% (1,852,918B) 0x401371: ReadFile (in /home/csa/misc/bench/xmlbench/xsl/libxml)
85
| ->98.00% (1,851,189B) 0x402B76: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
86
| | ->98.00% (1,851,189B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
87
| |   
88
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
89
| 
90
->01.74% (32,890B) in 32 places, all below massif's threshold (01.00%)
91
  
92
--------------------------------------------------------------------------------
93
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
94
--------------------------------------------------------------------------------
95
 21        586,966        1,890,240        1,886,920         3,320            0
96
 22        599,873        1,891,520        1,888,010         3,510            0
97
99.81% (1,888,010B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
98
->97.96% (1,852,918B) 0x401371: ReadFile (in /home/csa/misc/bench/xmlbench/xsl/libxml)
99
| ->97.87% (1,851,189B) 0x402B76: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
100
| | ->97.87% (1,851,189B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
101
| |   
102
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
103
| 
104
->01.86% (35,092B) in 32 places, all below massif's threshold (01.00%)
105
  
106
--------------------------------------------------------------------------------
107
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
108
--------------------------------------------------------------------------------
109
 23        612,390        1,880,744        1,877,111         3,633            0
110
 24        623,601        1,882,544        1,878,595         3,949            0
111
 25        633,907        1,882,576        1,878,629         3,947            0
112
 26        643,845        1,883,536        1,879,604         3,932            0
113
 27        652,832        1,896,504        1,892,537         3,967            0
114
99.79% (1,892,537B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
115
->97.70% (1,852,918B) 0x401371: ReadFile (in /home/csa/misc/bench/xmlbench/xsl/libxml)
116
| ->97.61% (1,851,189B) 0x402B76: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
117
| | ->97.61% (1,851,189B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
118
| |   
119
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
120
| 
121
->02.09% (39,619B) in 41 places, all below massif's threshold (01.00%)
122
  
123
--------------------------------------------------------------------------------
124
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
125
--------------------------------------------------------------------------------
126
 28        659,000        1,896,920        1,892,712         4,208            0
127
 29        669,234        1,898,016        1,893,642         4,374            0
128
99.77% (1,893,642B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
129
->97.62% (1,852,918B) 0x401371: ReadFile (in /home/csa/misc/bench/xmlbench/xsl/libxml)
130
| ->97.53% (1,851,189B) 0x402B76: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
131
| | ->97.53% (1,851,189B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
132
| |   
133
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
134
| 
135
->02.15% (40,724B) in 45 places, all below massif's threshold (01.00%)
136
  
137
--------------------------------------------------------------------------------
138
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
139
--------------------------------------------------------------------------------
140
 30        675,891        1,897,352        1,893,288         4,064            0
141
 31        684,080        1,897,224        1,893,272         3,952            0
142
 32        696,934        1,898,784        1,894,366         4,418            0
143
 33        703,716        1,897,976        1,893,981         3,995            0
144
 34        713,080        1,885,568        1,881,645         3,923            0
145
 35        720,222        1,898,920        1,894,907         4,013            0
146
 36        730,331        1,899,536        1,895,174         4,362            0
147
 37        741,212        1,887,176        1,883,198         3,978            0
148
 38        748,299        1,900,200        1,895,961         4,239            0
149
 39        758,475        1,901,312        1,896,868         4,444            0
150
 40        773,160        1,888,072        1,884,131         3,941            0
151
 41        784,722        1,901,472        1,897,178         4,294            0
152
 42        795,403        1,901,928        1,897,759         4,169            0
153
 43        806,865        1,901,960        1,897,977         3,983            0
154
 44        816,974        1,902,664        1,898,244         4,420            0
155
 45        830,739        1,902,952        1,898,939         4,013            0
156
 46        840,848        1,903,664        1,899,206         4,458            0
157
 47        847,700        1,903,880        1,899,692         4,188            0
158
 48        861,968        1,904,392        1,899,971         4,421            0
159
 49        872,359        1,904,904        1,900,615         4,289            0
160
 50        878,842        1,892,176        1,888,140         4,036            0
161
 51        886,372        1,905,456        1,901,382         4,074            0
162
 52        892,540        1,905,992        1,901,557         4,435            0
163
 53        899,388        1,907,176        1,902,487         4,689            0
164
 54        905,701        1,906,192        1,902,080         4,112            0
165
 55        912,421        1,892,712        1,888,738         3,974            0
166
99.79% (1,888,738B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
167
->97.90% (1,852,918B) 0x401371: ReadFile (in /home/csa/misc/bench/xmlbench/xsl/libxml)
168
| ->97.81% (1,851,189B) 0x402B76: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
169
| | ->97.81% (1,851,189B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
170
| |   
171
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
172
| 
173
->01.89% (35,820B) in 45 places, all below massif's threshold (01.00%)
174
  
175
--------------------------------------------------------------------------------
176
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
177
--------------------------------------------------------------------------------
178
 56        919,863        1,904,872        1,900,963         3,909            0
179
 57        926,031        1,905,416        1,901,138         4,278            0
180
 58        932,247        1,906,592        1,902,060         4,532            0
181
 59        938,527        1,905,752        1,901,709         4,043            0
182
 60        945,147        1,905,880        1,901,930         3,950            0
183
 61        951,315        1,906,424        1,902,105         4,319            0
184
 62        957,647        1,907,624        1,903,022         4,602            0
185
 63        963,902        1,907,232        1,902,833         4,399            0
186
 64        970,383        1,893,552        1,889,670         3,882            0
187
 65        976,553        1,893,384        1,889,564         3,820            0
188
99.80% (1,889,564B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
189
->97.86% (1,852,918B) 0x401371: ReadFile (in /home/csa/misc/bench/xmlbench/xsl/libxml)
190
| ->97.77% (1,851,189B) 0x402B76: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
191
| | ->97.77% (1,851,189B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
192
| |   
193
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
194
| 
195
->01.94% (36,646B) in 45 places, all below massif's threshold (01.00%)
196
  
197
--------------------------------------------------------------------------------
198
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
199
--------------------------------------------------------------------------------
200
 66        983,367        1,893,536        1,889,666         3,870            0
201
 67        989,757        1,893,760        1,889,874         3,886            0
202
 68        996,107        1,894,672        1,890,715         3,957            0
203
 69      1,004,510        1,943,872        1,939,868         4,004            0
204
 70      1,008,596        1,944,144        1,940,087         4,057            0
205
99.79% (1,940,087B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
206
->95.31% (1,852,918B) 0x401371: ReadFile (in /home/csa/misc/bench/xmlbench/xsl/libxml)
207
| ->95.22% (1,851,189B) 0x402B76: Test (in /home/csa/misc/bench/xmlbench/xsl/libxml)
208
| | ->95.22% (1,851,189B) 0x56415E2: (below main) (in /lib64/libc-2.9.so)
209
| |   
210
| ->00.09% (1,729B) in 1+ places, all below ms_print's threshold (01.00%)
211
| 
212
->02.58% (50,112B) 0x50B6256: xmlHashCreate (in /usr/lib64/libxml2.so.2.7.3)
213
| ->02.53% (49,152B) 0x4E39985: xsltAddTemplate (in /usr/lib64/libxslt.so.1.1.24)
214
| | ->02.53% (49,152B) 0x4E32ECE: xsltParseStylesheetProcess (in /usr/lib64/libxslt.so.1.1.24)
215
| |   ->02.53% (49,152B) 0x4E32F8E: xsltParseStylesheetImportedDoc (in /usr/lib64/libxslt.so.1.1.24)
216
| |     ->02.53% (49,152B) 0x4E330F6: xsltParseStylesheetDoc (in /usr/lib64/libxslt.so.1.1.24)
217
| |       
218
| ->00.05% (960B) in 1+ places, all below ms_print's threshold (01.00%)
219
| 
220
->01.91% (37,057B) in 49 places, all below massif's threshold (01.00%)
221
  
222
--------------------------------------------------------------------------------
223
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
224
--------------------------------------------------------------------------------
225
 71      1,015,810        1,944,880        1,940,741         4,139            0
226
 72      1,022,330        1,945,352        1,941,159         4,193            0
227
 73      1,035,685        1,946,104        1,941,879         4,225            0
228
 74      1,045,409        1,945,232        1,941,086         4,146            0
229
 75      1,051,601        1,890,528        1,887,077         3,451            0
230
 76      1,057,890        1,876,112        1,873,413         2,699            0
231
 77      1,064,146        1,869,432        1,867,663         1,769            0
232
 78      1,070,321        1,862,688        1,861,869           819            0
233
 79      1,077,076        1,854,920        1,854,543           377            0