/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:            ./rapidxml 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
256.1^  #. . . .,.. ... .. ... .. . .. ..: . .... .: .. .. ..,. .. . .. . .. ,
10
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
11
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
12
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
13
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
14
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
15
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
16
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
17
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
18
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
19
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
20
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
21
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
22
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
23
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
24
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
25
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
26
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
27
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
28
     |  #: : : :@:: ::: :: ::: :: : :: ::: : :::: :: :: :: ::@: :: : :: : :: @
29
   0 +----------------------------------------------------------------------->Mi
30
     0                                                                   40.46
31
32
Number of snapshots: 71
33
 Detailed snapshots: [2 (peak), 7, 39, 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      1,437,587          262,160          262,145            15            0
40
  2      1,455,017          262,280          262,210            70            0
41
99.97% (262,210B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
42
->99.95% (262,145B) 0x404AA4: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/parse/rapidxml)
43
| ->99.95% (262,145B) 0x406C56: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/rapidxml)
44
|   ->99.95% (262,145B) 0x55D7A42: (below main) (in /lib64/libc-2.10.1.so)
45
|     
46
->00.02% (65B) in 1+ places, all below ms_print's threshold (01.00%)
47
48
--------------------------------------------------------------------------------
49
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
50
--------------------------------------------------------------------------------
51
  3      2,258,911          262,184          262,158            26            0
52
  4      3,426,814          262,184          262,158            26            0
53
  5      4,325,613          262,184          262,158            26            0
54
  6      5,348,328          262,208          262,171            37            0
55
  7      5,972,692          262,208          262,171            37            0
56
99.99% (262,171B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
57
->99.98% (262,145B) 0x404AA4: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/parse/rapidxml)
58
| ->99.98% (262,145B) 0x406C56: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/rapidxml)
59
|   ->99.98% (262,145B) 0x55D7A42: (below main) (in /lib64/libc-2.10.1.so)
60
|     
61
->00.01% (26B) in 1+ places, all below ms_print's threshold (01.00%)
62
63
--------------------------------------------------------------------------------
64
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
65
--------------------------------------------------------------------------------
66
  8      6,962,153          262,184          262,158            26            0
67
  9      7,581,983          262,232          262,184            48            0
68
 10      8,454,942          262,256          262,197            59            0
69
 11      8,922,710          262,184          262,158            26            0
70
 12      9,729,989          262,208          262,171            37            0
71
 13     10,863,134          262,184          262,158            26            0
72
 14     11,512,957          262,208          262,171            37            0
73
 15     12,428,752          262,184          262,158            26            0
74
 16     12,982,374          262,184          262,158            26            0
75
 17     14,129,764          262,208          262,171            37            0
76
 18     15,088,380          262,184          262,158            26            0
77
 19     15,726,062          262,208          262,171            37            0
78
 20     16,711,459          262,208          262,171            37            0
79
 21     17,682,111          262,208          262,171            37            0
80
 22     18,348,841          262,184          262,158            26            0
81
 23     19,480,159          262,184          262,158            26            0
82
 24     20,188,135          262,184          262,158            26            0
83
 25     21,147,028          262,280          262,210            70            0
84
 26     22,252,584          262,184          262,158            26            0
85
 27     23,131,532          262,208          262,171            37            0
86
 28     23,720,916          262,184          262,158            26            0
87
 29     24,373,879          262,208          262,171            37            0
88
 30     24,976,547          262,184          262,158            26            0
89
 31     26,213,204          262,184          262,158            26            0
90
 32     27,090,766          262,280          262,210            70            0
91
 33     28,202,454          262,208          262,171            37            0
92
 34     28,766,049          262,232          262,184            48            0
93
 35     29,473,528          262,208          262,171            37            0
94
 36     30,436,734          262,208          262,171            37            0
95
 37     31,399,680          262,184          262,158            26            0
96
 38     31,829,525          262,184          262,158            26            0
97
 39     32,720,961          262,184          262,158            26            0
98
99.99% (262,158B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
99
->99.99% (262,145B) 0x404AA4: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/parse/rapidxml)
100
| ->99.99% (262,145B) 0x406C56: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/rapidxml)
101
|   ->99.99% (262,145B) 0x55D7A42: (below main) (in /lib64/libc-2.10.1.so)
102
|     
103
->00.00% (13B) in 1+ places, all below ms_print's threshold (01.00%)
104
105
--------------------------------------------------------------------------------
106
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
107
--------------------------------------------------------------------------------
108
 40     33,331,669          262,184          262,158            26            0
109
 41     34,300,212          262,184          262,158            26            0
110
 42     35,262,180          262,184          262,158            26            0
111
 43     36,227,182          262,184          262,158            26            0
112
 44     37,185,013          262,208          262,171            37            0
113
 45     38,149,334          262,208          262,171            37            0
114
 46     39,115,071          262,184          262,158            26            0
115
 47     40,077,532          262,184          262,158            26            0
116
 48     41,045,002          262,184          262,158            26            0
117
 49     42,017,591          262,184          262,158            26            0
118
 50     42,036,576          262,184          262,158            26            0
119
 51     42,054,588          262,184          262,158            26            0
120
 52     42,074,819          262,184          262,158            26            0
121
 53     42,094,709          262,184          262,158            26            0
122
 54     42,113,238          262,208          262,171            37            0
123
 55     42,135,405          262,184          262,158            26            0
124
 56     42,154,060          262,184          262,158            26            0
125
 57     42,176,020          262,256          262,197            59            0
126
99.98% (262,197B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
127
->99.96% (262,145B) 0x404AA4: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/parse/rapidxml)
128
| ->99.96% (262,145B) 0x406C56: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/rapidxml)
129
|   ->99.96% (262,145B) 0x55D7A42: (below main) (in /lib64/libc-2.10.1.so)
130
|     
131
->00.02% (52B) in 1+ places, all below ms_print's threshold (01.00%)
132
133
--------------------------------------------------------------------------------
134
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
135
--------------------------------------------------------------------------------
136
 58     42,194,362          262,208          262,171            37            0
137
 59     42,215,410          262,184          262,158            26            0
138
 60     42,233,657          262,184          262,158            26            0
139
 61     42,252,177          262,208          262,171            37            0
140
 62     42,270,224          262,208          262,171            37            0
141
 63     42,288,830          262,208          262,171            37            0
142
 64     42,306,985          262,208          262,171            37            0
143
 65     42,324,789          262,184          262,158            26            0
144
 66     42,344,828          262,184          262,158            26            0
145
 67     42,367,819          262,184          262,158            26            0
146
99.99% (262,158B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
147
->99.99% (262,145B) 0x404AA4: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/parse/rapidxml)
148
| ->99.99% (262,145B) 0x406C56: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/rapidxml)
149
|   ->99.99% (262,145B) 0x55D7A42: (below main) (in /lib64/libc-2.10.1.so)
150
|     
151
->00.00% (13B) in 1+ places, all below ms_print's threshold (01.00%)
152
153
--------------------------------------------------------------------------------
154
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
155
--------------------------------------------------------------------------------
156
 68     42,387,644          262,184          262,158            26            0
157
 69     42,406,157          262,208          262,171            37            0
158
 70     42,426,961          262,184          262,158            26            0