blob: 2abdd13a30452fd6bbba1c0297f697ca2d57683e [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001#
2# Configuration file for serialization benchmarks
3#
4
5# Time object tree reads/writes with custom writeObject/readObject methods
6# Arguments: <tree depth> <# batches> <# cycles per batch>
70.0 "Warmup: read/writeObject trees" bench.serial.CustomObjTrees 6 200 5000
8# Time object tree reads/writes using defaultWriteObject/defaultReadObject
9# Arguments: <tree depth> <# batches> <# cycles per batch>
100.0 "Warmup: defaultRead/WriteObject trees" bench.serial.CustomDefaultObjTrees 6 200 5000
11
12# Time object stream construction
13# Arguments: <# repetitions>
141.0 "Object stream construction" bench.serial.Cons 200000
15
16# Time boolean reads/writes
17# Arguments: <# batches> <# cycles per batch>
181.0 "Booleans" bench.serial.Booleans 500 10000
19
20# Time byte reads/writes
21# Arguments: <# batches> <# cycles per batch>
221.0 "Bytes" bench.serial.Bytes 500 10000
23
24# Time char reads/writes
25# Arguments: <# batches> <# cycles per batch>
261.0 "Chars" bench.serial.Chars 500 10000
27
28# Time short reads/writes
29# Arguments: <# batches> <# cycles per batch>
301.0 "Shorts" bench.serial.Shorts 500 10000
31
32# Time int reads/writes
33# Arguments: <# batches> <# cycles per batch>
341.0 "Ints" bench.serial.Ints 500 10000
35
36# Time long reads/writes
37# Arguments: <# batches> <# cycles per batch>
381.0 "Longs" bench.serial.Longs 500 10000
39
40# Time float reads/writes
41# Arguments: <# batches> <# cycles per batch>
421.0 "Floats" bench.serial.Floats 500 10000
43
44# Time double reads/writes
45# Arguments: <# batches> <# cycles per batch>
461.0 "Doubles" bench.serial.Doubles 500 10000
47
48# Time boolean array reads/writes
49# Arguments: <array size> <# batches> <# cycles per batch>
501.0 "Boolean arrays" bench.serial.BooleanArrays 500 100 100
51
52# Time byte array reads/writes
53# Arguments: <array size> <# batches> <# cycles per batch>
541.0 "Byte arrays" bench.serial.ByteArrays 500 100 100
55
56# Time char array reads/writes
57# Arguments: <array size> <# batches> <# cycles per batch>
581.0 "Char arrays" bench.serial.CharArrays 500 100 100
59
60# Time short array reads/writes
61# Arguments: <array size> <# batches> <# cycles per batch>
621.0 "Short arrays" bench.serial.ShortArrays 500 100 100
63
64# Time int array reads/writes
65# Arguments: <array size> <# batches> <# cycles per batch>
661.0 "Int arrays" bench.serial.IntArrays 500 100 100
67
68# Time long array reads/writes
69# Arguments: <array size> <# batches> <# cycles per batch>
701.0 "Long arrays" bench.serial.LongArrays 500 100 100
71
72# Time float array reads/writes
73# Arguments: <array size> <# batches> <# cycles per batch>
741.0 "Float arrays" bench.serial.FloatArrays 500 100 100
75
76# Time double array reads/writes
77# Arguments: <array size> <# batches> <# cycles per batch>
781.0 "Double arrays" bench.serial.DoubleArrays 500 100 100
79
80# Time short string reads/writes
81# Arguments: <string length> <# batches> <# cycles per batch>
821.0 "Short strings" bench.serial.Strings 10 1000 1000
83
84# Time long string reads/writes
85# Arguments: <string length> <# batches> <# cycles per batch>
861.0 "Long strings" bench.serial.Strings 300 100 1000
87
88# Time object array reads/writes
89# Arguments: <array size> <# batches> <# cycles per batch>
901.0 "Object arrays" bench.serial.ObjArrays 100 100 100
91
92# Time object tree reads/writes
93# Arguments: <tree depth> <# batches> <# cycles per batch>
941.0 "Object trees" bench.serial.ObjTrees 6 100 1000
95
96# Time externalizable-object tree reads/writes
97# Arguments: <tree depth> <# batches> <# cycles per batch>
981.0 "Externalizable-object trees" bench.serial.ExternObjTrees 6 100 1000
99
100# Time object tree reads/writes with custom writeObject/readObject methods
101# Arguments: <tree depth> <# batches> <# cycles per batch>
1021.0 "read/writeObject trees" bench.serial.CustomObjTrees 6 100 1000
103
104# Time object tree reads/writes using defaultWriteObject/defaultReadObject
105# Arguments: <tree depth> <# batches> <# cycles per batch>
1061.0 "defaultRead/WriteObject trees" bench.serial.CustomDefaultObjTrees 6 100 1000
107
108# Time GetField/PutField API
109# Arguments: <tree depth> <# batches> <# cycles per batch>
1101.0 "GetField/PutField trees" bench.serial.GetPutFieldTrees 6 100 1000
111
112# Time replaceable-object tree reads/writes
113# Arguments: <tree depth> <# batches> <# cycles per batch>
1141.0 "writeReplace/readResolve trees" bench.serial.ReplaceTrees 6 10000 1
115
116# Time small-object tree reads/writes
117# Arguments: <tree depth> <# batches> <# cycles per batch>
1181.0 "Small-object trees" bench.serial.SmallObjTrees 6 100 100
119
120# Time repeated object reads/writes
121# Arguments: <# objects> <# batches>
1221.0 "Repeated objects" bench.serial.RepeatObjs 1000 10000
123
124# Time class descriptor reads/writes
125# Arguments: <# cycles>
1261.0 "Class descriptors" bench.serial.ClassDesc 20000
127
128#
129# NOTE: the following two benchmarks should be commented out unless you are
130# running Java 2 version 1.3 or higher.
131#
132
133# Time proxy class descriptor reads/writes
134# Arguments: <# cycles>
1351.0 "Proxy class descriptors" bench.serial.ProxyClassDesc 20000
136
137# Time proxy array reads/writes
138# Arguments: <array size> <# batches> <# cycles per batch>
1391.0 "Proxy arrays" bench.serial.ProxyArrays 100 100 100
140