/xmlbench/trunk

To get this branch, use:
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:            ./faxpp-pull 1 xmlgen 262144
3
Massif arguments:   --heap=yes --depth=5 --massif-out-file=/tmp/massif.out
4
ms_print arguments: /tmp/massif.out
5
--------------------------------------------------------------------------------
6
7
8
    KB
9
257.9^ , ...............,.. .. . , ... , ... .,.. ... ,.. ,. .......,.....:,..
10
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
11
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
12
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
13
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
14
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
15
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
16
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
17
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
18
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
19
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
20
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
21
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
22
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
23
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
24
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
25
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
26
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
27
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
28
     | # :::::::::::::::@:: :: : @ ::: @ ::: :@:: ::: @:: @: :::::::@::::::@::
29
   0 +----------------------------------------------------------------------->Mi
30
     0                                                                   39.53
31
32
Number of snapshots: 71
33
 Detailed snapshots: [1 (peak), 18, 26, 30, 36, 42, 45, 57, 67]
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        593,515          262,280          262,210            70            0
40
99.97% (262,210B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
41
->99.95% (262,145B) 0x404915: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
42
| ->99.95% (262,145B) 0x406025: Test (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
43
|   ->99.95% (262,145B) 0x531FA42: (below main) (in /lib64/libc-2.10.1.so)
44
|     
45
->00.02% (65B) 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      1,142,058          262,184          262,158            26            0
51
  3      1,933,250          262,184          262,158            26            0
52
  4      2,499,717          262,184          262,158            26            0
53
  5      3,319,040          262,184          262,158            26            0
54
  6      3,820,818          262,184          262,158            26            0
55
  7      4,401,056          262,184          262,158            26            0
56
  8      4,799,828          262,208          262,171            37            0
57
  9      5,503,624          262,208          262,171            37            0
58
 10      5,977,104          262,208          262,171            37            0
59
 11      6,476,044          262,184          262,158            26            0
60
 12      6,957,750          262,184          262,158            26            0
61
 13      7,669,076          262,184          262,158            26            0
62
 14      8,199,383          262,208          262,171            37            0
63
 15      8,749,235          262,184          262,158            26            0
64
 16      9,585,017          262,184          262,158            26            0
65
 17     10,264,831          262,184          262,158            26            0
66
 18     10,722,993          262,208          262,171            37            0
67
99.99% (262,171B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
68
->99.98% (262,145B) 0x404915: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
69
| ->99.98% (262,145B) 0x406025: Test (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
70
|   ->99.98% (262,145B) 0x531FA42: (below main) (in /lib64/libc-2.10.1.so)
71
|     
72
->00.01% (26B) 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     11,384,113          262,208          262,171            37            0
78
 20     11,877,628          262,184          262,158            26            0
79
 21     12,809,000          262,184          262,158            26            0
80
 22     13,488,136          262,184          262,158            26            0
81
 23     14,401,277          262,208          262,171            37            0
82
 24     14,918,282          262,184          262,158            26            0
83
 25     15,580,090          262,184          262,158            26            0
84
 26     16,102,941          262,184          262,158            26            0
85
99.99% (262,158B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
86
->99.99% (262,145B) 0x404915: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
87
| ->99.99% (262,145B) 0x406025: Test (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
88
|   ->99.99% (262,145B) 0x531FA42: (below main) (in /lib64/libc-2.10.1.so)
89
|     
90
->00.00% (13B) in 1+ places, all below ms_print's threshold (01.00%)
91
92
--------------------------------------------------------------------------------
93
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
94
--------------------------------------------------------------------------------
95
 27     16,928,223          262,208          262,171            37            0
96
 28     17,443,118          262,184          262,158            26            0
97
 29     18,380,066          262,280          262,210            70            0
98
 30     19,087,068          262,184          262,158            26            0
99
99.99% (262,158B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
100
->99.99% (262,145B) 0x404915: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
101
| ->99.99% (262,145B) 0x406025: Test (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
102
|   ->99.99% (262,145B) 0x531FA42: (below main) (in /lib64/libc-2.10.1.so)
103
|     
104
->00.00% (13B) in 1+ places, all below ms_print's threshold (01.00%)
105
106
--------------------------------------------------------------------------------
107
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
108
--------------------------------------------------------------------------------
109
 31     19,540,387          262,184          262,158            26            0
110
 32     20,250,667          262,184          262,158            26            0
111
 33     21,173,893          264,056          263,982            74            0
112
 34     21,651,798          264,056          263,982            74            0
113
 35     22,598,051          264,056          263,982            74            0
114
 36     23,078,344          264,056          263,982            74            0
115
99.97% (263,982B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
116
->99.28% (262,145B) 0x404915: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
117
| ->99.28% (262,145B) 0x406025: Test (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
118
|   ->99.28% (262,145B) 0x531FA42: (below main) (in /lib64/libc-2.10.1.so)
119
|     
120
->00.70% (1,837B) in 1+ places, all below ms_print's threshold (01.00%)
121
122
--------------------------------------------------------------------------------
123
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
124
--------------------------------------------------------------------------------
125
 37     24,026,047          264,056          263,982            74            0
126
 38     24,736,982          264,056          263,982            74            0
127
 39     25,683,711          264,080          263,995            85            0
128
 40     26,397,499          264,056          263,982            74            0
129
 41     26,871,415          264,056          263,982            74            0
130
 42     27,818,462          264,056          263,982            74            0
131
99.97% (263,982B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
132
->99.28% (262,145B) 0x404915: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
133
| ->99.28% (262,145B) 0x406025: Test (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
134
|   ->99.28% (262,145B) 0x531FA42: (below main) (in /lib64/libc-2.10.1.so)
135
|     
136
->00.70% (1,837B) in 1+ places, all below ms_print's threshold (01.00%)
137
138
--------------------------------------------------------------------------------
139
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
140
--------------------------------------------------------------------------------
141
 43     28,295,618          264,080          263,995            85            0
142
 44     29,241,683          264,056          263,982            74            0
143
 45     30,189,349          264,080          263,995            85            0
144
99.97% (263,995B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
145
->99.27% (262,145B) 0x404915: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
146
| ->99.27% (262,145B) 0x406025: Test (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
147
|   ->99.27% (262,145B) 0x531FA42: (below main) (in /lib64/libc-2.10.1.so)
148
|     
149
->00.70% (1,850B) in 1+ places, all below ms_print's threshold (01.00%)
150
151
--------------------------------------------------------------------------------
152
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
153
--------------------------------------------------------------------------------
154
 46     30,898,319          264,080          263,995            85            0
155
 47     31,843,991          264,056          263,982            74            0
156
 48     32,318,619          264,056          263,982            74            0
157
 49     33,030,927          264,056          263,982            74            0
158
 50     33,430,516          264,080          263,995            85            0
159
 51     33,830,225          264,056          263,982            74            0
160
 52     34,231,637          264,056          263,982            74            0
161
 53     34,632,956          264,056          263,982            74            0
162
 54     35,034,560          264,056          263,982            74            0
163
 55     35,438,184          264,056          263,982            74            0
164
 56     35,839,806          264,056          263,982            74            0
165
 57     36,241,057          264,056          263,982            74            0
166
99.97% (263,982B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
167
->99.28% (262,145B) 0x404915: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
168
| ->99.28% (262,145B) 0x406025: Test (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
169
|   ->99.28% (262,145B) 0x531FA42: (below main) (in /lib64/libc-2.10.1.so)
170
|     
171
->00.70% (1,837B) in 1+ places, all below ms_print's threshold (01.00%)
172
173
--------------------------------------------------------------------------------
174
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
175
--------------------------------------------------------------------------------
176
 58     36,641,017          264,080          263,995            85            0
177
 59     37,039,818          264,080          263,995            85            0
178
 60     37,441,477          264,056          263,982            74            0
179
 61     37,840,512          264,056          263,982            74            0
180
 62     38,241,643          264,056          263,982            74            0
181
 63     38,644,709          264,128          264,021           107            0
182
 64     39,043,791          264,056          263,982            74            0
183
 65     39,444,286          264,128          264,021           107            0
184
 66     39,843,942          264,080          263,995            85            0
185
 67     40,243,964          264,056          263,982            74            0
186
99.97% (263,982B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
187
->99.28% (262,145B) 0x404915: xmlgen_init (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
188
| ->99.28% (262,145B) 0x406025: Test (in /home/csa/misc/bench/xmlbench/parse/faxpp-pull)
189
|   ->99.28% (262,145B) 0x531FA42: (below main) (in /lib64/libc-2.10.1.so)
190
|     
191
->00.70% (1,837B) in 1+ places, all below ms_print's threshold (01.00%)
192
193
--------------------------------------------------------------------------------
194
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
195
--------------------------------------------------------------------------------
196
 68     40,647,376          264,056          263,982            74            0
197
 69     41,047,121          264,128          264,021           107            0
198
 70     41,447,024          264,056          263,982            74            0