/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:            ./expat-sablotron-dom 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.13^,, .. . . ...,. ,..... ... . .. .... ...... .. ., .... . ... ....:.:.,..
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.690
31
32
Number of snapshots: 63
33
 Detailed snapshots: [1 (peak), 2, 12, 14, 39, 58]
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      3,032,590       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) 0x401C34: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
42
| ->100.00% (64,000,001B) 0x40339F: Test(int, char**) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
43
|   ->100.00% (64,000,001B) 0x58A45E2: (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    198,776,328       64,000,080       64,000,046            34            0
51
100.00% (64,000,046B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
52
->100.00% (64,000,001B) 0x401C34: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
53
| ->100.00% (64,000,001B) 0x40339F: Test(int, char**) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
54
|   ->100.00% (64,000,001B) 0x58A45E2: (below main) (in /lib64/libc-2.9.so)
55
|     
56
->00.00% (45B) in 1+ places, all below ms_print's threshold (01.00%)
57
58
--------------------------------------------------------------------------------
59
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
60
--------------------------------------------------------------------------------
61
  3    473,283,928       64,000,080       64,000,046            34            0
62
  4    719,333,444       64,000,080       64,000,046            34            0
63
  5    881,214,171       64,000,104       64,000,059            45            0
64
  6    998,475,788       64,000,152       64,000,085            67            0
65
  7  1,186,086,061       64,000,104       64,000,059            45            0
66
  8  1,291,619,827       64,000,104       64,000,059            45            0
67
  9  1,467,512,296       64,000,080       64,000,046            34            0
68
 10  1,598,149,052       64,000,080       64,000,046            34            0
69
 11  1,772,337,845       64,000,080       64,000,046            34            0
70
 12  1,881,204,481       64,000,080       64,000,046            34            0
71
100.00% (64,000,046B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
72
->100.00% (64,000,001B) 0x401C34: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
73
| ->100.00% (64,000,001B) 0x40339F: Test(int, char**) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
74
|   ->100.00% (64,000,001B) 0x58A45E2: (below main) (in /lib64/libc-2.9.so)
75
|     
76
->00.00% (45B) in 1+ places, all below ms_print's threshold (01.00%)
77
78
--------------------------------------------------------------------------------
79
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
80
--------------------------------------------------------------------------------
81
 13  2,055,385,248       64,000,104       64,000,059            45            0
82
 14  2,316,658,515       64,000,080       64,000,046            34            0
83
100.00% (64,000,046B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
84
->100.00% (64,000,001B) 0x401C34: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
85
| ->100.00% (64,000,001B) 0x40339F: Test(int, char**) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
86
|   ->100.00% (64,000,001B) 0x58A45E2: (below main) (in /lib64/libc-2.9.so)
87
|     
88
->00.00% (45B) 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
 15  2,512,616,734       64,000,080       64,000,046            34            0
94
 16  2,620,918,986       64,000,080       64,000,046            34            0
95
 17  2,815,193,198       64,000,080       64,000,046            34            0
96
 18  2,944,711,871       64,000,080       64,000,046            34            0
97
 19  3,138,978,914       64,000,080       64,000,046            34            0
98
 20  3,333,249,063       64,000,104       64,000,059            45            0
99
 21  3,592,279,412       64,000,176       64,000,098            78            0
100
 22  3,754,176,640       64,000,152       64,000,085            67            0
101
 23  4,013,203,753       64,000,080       64,000,046            34            0
102
 24  4,272,249,258       64,000,080       64,000,046            34            0
103
 25  4,401,782,379       64,000,080       64,000,046            34            0
104
 26  4,628,465,955       64,000,080       64,000,046            34            0
105
 27  4,887,542,723       64,000,080       64,000,046            34            0
106
 28  5,017,080,122       64,000,080       64,000,046            34            0
107
 29  5,178,994,112       64,000,104       64,000,059            45            0
108
 30  5,373,294,598       64,096,136       64,093,062         3,074            0
109
 31  5,535,210,099       64,096,136       64,093,062         3,074            0
110
 32  5,697,130,533       64,096,136       64,093,062         3,074            0
111
 33  5,859,043,430       64,096,136       64,093,062         3,074            0
112
 34  5,988,565,163       64,096,136       64,093,062         3,074            0
113
 35  6,182,849,086       64,096,136       64,093,062         3,074            0
114
 36  6,441,886,061       64,096,136       64,093,062         3,074            0
115
 37  6,636,166,117       64,096,160       64,093,075         3,085            0
116
 38  6,830,446,712       64,096,160       64,093,075         3,085            0
117
 39  7,024,730,538       64,096,136       64,093,062         3,074            0
118
100.00% (64,093,062B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
119
->99.85% (64,000,001B) 0x401C34: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
120
| ->99.85% (64,000,001B) 0x40339F: Test(int, char**) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
121
|   ->99.85% (64,000,001B) 0x58A45E2: (below main) (in /lib64/libc-2.9.so)
122
|     
123
->00.15% (93,061B) in 1+ places, all below ms_print's threshold (01.00%)
124
125
--------------------------------------------------------------------------------
126
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
127
--------------------------------------------------------------------------------
128
 40  7,283,773,697       64,096,136       64,093,062         3,074            0
129
 41  7,478,053,754       64,096,136       64,093,062         3,074            0
130
 42  7,607,574,075       64,096,136       64,093,062         3,074            0
131
 43  7,801,851,438       64,096,136       64,093,062         3,074            0
132
 44  8,060,897,970       64,096,136       64,093,062         3,074            0
133
 45  8,255,177,778       64,096,136       64,093,062         3,074            0
134
 46  8,384,697,030       64,096,160       64,093,075         3,085            0
135
 47  8,643,730,797       64,096,136       64,093,062         3,074            0
136
 48  8,902,772,206       64,096,136       64,093,062         3,074            0
137
 49  9,032,293,090       64,096,136       64,093,062         3,074            0
138
 50  9,137,827,485       64,096,136       64,093,062         3,074            0
139
 51  9,243,361,860       64,096,200       64,093,088         3,112            0
140
 52  9,348,896,110       64,096,136       64,093,062         3,074            0
141
 53  9,454,434,779       64,096,224       64,093,101         3,123            0
142
 54  9,559,969,643       64,096,136       64,093,062         3,074            0
143
 55  9,665,507,452       64,096,136       64,093,062         3,074            0
144
 56  9,771,045,024       64,096,224       64,093,101         3,123            0
145
 57  9,876,580,970       64,096,136       64,093,062         3,074            0
146
 58  9,982,115,432       64,096,136       64,093,062         3,074            0
147
100.00% (64,093,062B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
148
->99.85% (64,000,001B) 0x401C34: xmlgen_init(int) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
149
| ->99.85% (64,000,001B) 0x40339F: Test(int, char**) (in /home/csa/misc/bench/xmlbench/xsl/expat-sablotron-dom)
150
|   ->99.85% (64,000,001B) 0x58A45E2: (below main) (in /lib64/libc-2.9.so)
151
|     
152
->00.15% (93,061B) in 1+ places, all below ms_print's threshold (01.00%)
153
154
--------------------------------------------------------------------------------
155
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
156
--------------------------------------------------------------------------------
157
 59 10,087,650,557       64,096,136       64,093,062         3,074            0
158
 60 10,193,189,266       64,096,136       64,093,062         3,074            0
159
 61 10,298,727,732       64,096,136       64,093,062         3,074            0
160
 62 10,404,263,684       64,096,136       64,093,062         3,074            0