blob: 0ddf02579d105bded2a1fd8727ab208b0f4758cb [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001#
2# Configuration file for serialization benchmarks
3#
4
5# Warmup (Time class descriptor reads/writes)
6# Arguments: <tree depth> <# batches> <# cycles per batch>
70.0 "Warmup" bench.serial.SmallObjTrees 6 100 100
8
9# Time object stream construction
10# Arguments: <# repetitions>
111.0 "Object stream construction" bench.serial.Cons 100000
12
13# Time boolean reads/writes
14# Arguments: <# batches> <# cycles per batch>
151.0 "Booleans" bench.serial.Booleans 250 5000
16
17# Time byte reads/writes
18# Arguments: <# batches> <# cycles per batch>
191.0 "Bytes" bench.serial.Bytes 250 5000
20
21# Time char reads/writes
22# Arguments: <# batches> <# cycles per batch>
231.0 "Chars" bench.serial.Chars 250 5000
24
25# Time short reads/writes
26# Arguments: <# batches> <# cycles per batch>
271.0 "Shorts" bench.serial.Shorts 250 5000
28
29# Time int reads/writes
30# Arguments: <# batches> <# cycles per batch>
311.0 "Ints" bench.serial.Ints 250 5000
32
33# Time long reads/writes
34# Arguments: <# batches> <# cycles per batch>
351.0 "Longs" bench.serial.Longs 250 5000
36
37# Time float reads/writes
38# Arguments: <# batches> <# cycles per batch>
391.0 "Floats" bench.serial.Floats 250 5000
40
41# Time double reads/writes
42# Arguments: <# batches> <# cycles per batch>
431.0 "Doubles" bench.serial.Doubles 250 5000
44
45# Time boolean array reads/writes
46# Arguments: <array size> <# batches> <# cycles per batch>
471.0 "Boolean arrays" bench.serial.BooleanArrays 250 50 50
48
49# Time byte array reads/writes
50# Arguments: <array size> <# batches> <# cycles per batch>
511.0 "Byte arrays" bench.serial.ByteArrays 250 50 50
52
53# Time char array reads/writes
54# Arguments: <array size> <# batches> <# cycles per batch>
551.0 "Char arrays" bench.serial.CharArrays 250 50 50
56
57# Time short array reads/writes
58# Arguments: <array size> <# batches> <# cycles per batch>
591.0 "Short arrays" bench.serial.ShortArrays 250 50 50
60
61# Time int array reads/writes
62# Arguments: <array size> <# batches> <# cycles per batch>
631.0 "Int arrays" bench.serial.IntArrays 250 50 50
64
65# Time long array reads/writes
66# Arguments: <array size> <# batches> <# cycles per batch>
671.0 "Long arrays" bench.serial.LongArrays 250 50 50
68
69# Time float array reads/writes
70# Arguments: <array size> <# batches> <# cycles per batch>
711.0 "Float arrays" bench.serial.FloatArrays 250 50 50
72
73# Time double array reads/writes
74# Arguments: <array size> <# batches> <# cycles per batch>
751.0 "Double arrays" bench.serial.DoubleArrays 250 50 50
76
77# Time short string reads/writes
78# Arguments: <string length> <# batches> <# cycles per batch>
791.0 "Short strings" bench.serial.Strings 5 500 500
80
81# Time long string reads/writes
82# Arguments: <string length> <# batches> <# cycles per batch>
831.0 "Long strings" bench.serial.Strings 150 50 50
84
85# Time object array reads/writes
86# Arguments: <array size> <# batches> <# cycles per batch>
871.0 "Object arrays" bench.serial.ObjArrays 50 50 50
88
89# Time object tree reads/writes
90# Arguments: <tree depth> <# batches> <# cycles per batch>
911.0 "Object trees" bench.serial.ObjTrees 3 50 500
92
93# Time externalizable-object tree reads/writes
94# Arguments: <tree depth> <# batches> <# cycles per batch>
951.0 "Externalizable-object trees" bench.serial.ExternObjTrees 3 50 500
96
97# Time object tree reads/writes with custom writeObject/readObject methods
98# Arguments: <tree depth> <# batches> <# cycles per batch>
991.0 "read/writeObject trees" bench.serial.CustomObjTrees 3 50 500
100
101# Time object tree reads/writes using defaultWriteObject/defaultReadObject
102# Arguments: <tree depth> <# batches> <# cycles per batch>
1031.0 "defaultRead/WriteObject trees" bench.serial.CustomDefaultObjTrees 3 50 500
104
105# Time GetField/PutField API
106# Arguments: <tree depth> <# batches> <# cycles per batch>
1071.0 "GetField/PutField trees" bench.serial.GetPutFieldTrees 3 50 500
108
109# Time replaceable-object tree reads/writes
110# Arguments: <tree depth> <# batches> <# cycles per batch>
1111.0 "writeReplace/readResolve trees" bench.serial.ReplaceTrees 3 5000 1
112
113# Time small-object tree reads/writes
114# Arguments: <tree depth> <# batches> <# cycles per batch>
1151.0 "Small-object trees" bench.serial.SmallObjTrees 3 50 50
116
117# Time repeated object reads/writes
118# Arguments: <# objects> <# batches>
1191.0 "Repeated objects" bench.serial.RepeatObjs 500 5000
120
121# Time class descriptor reads/writes
122# Arguments: <# cycles>
1231.0 "Class descriptors" bench.serial.ClassDesc 10000
124
125#
126# NOTE: the following two benchmarks should be commented out unless you are
127# running Java 2 version 1.3 or higher.
128#
129
130# Time proxy class descriptor reads/writes
131# Arguments: <# cycles>
1321.0 "Proxy class descriptors" bench.serial.ProxyClassDesc 10000
133
134# Time proxy array reads/writes
135# Arguments: <array size> <# batches> <# cycles per batch>
1361.0 "Proxy arrays" bench.serial.ProxyArrays 50 50 50
137