J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame^] | 1 | # |
| 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> |
| 7 | 0.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> |
| 10 | 0.0 "Warmup: defaultRead/WriteObject trees" bench.serial.CustomDefaultObjTrees 6 200 5000 |
| 11 | |
| 12 | # Time object stream construction |
| 13 | # Arguments: <# repetitions> |
| 14 | 1.0 "Object stream construction" bench.serial.Cons 200000 |
| 15 | |
| 16 | # Time boolean reads/writes |
| 17 | # Arguments: <# batches> <# cycles per batch> |
| 18 | 1.0 "Booleans" bench.serial.Booleans 500 10000 |
| 19 | |
| 20 | # Time byte reads/writes |
| 21 | # Arguments: <# batches> <# cycles per batch> |
| 22 | 1.0 "Bytes" bench.serial.Bytes 500 10000 |
| 23 | |
| 24 | # Time char reads/writes |
| 25 | # Arguments: <# batches> <# cycles per batch> |
| 26 | 1.0 "Chars" bench.serial.Chars 500 10000 |
| 27 | |
| 28 | # Time short reads/writes |
| 29 | # Arguments: <# batches> <# cycles per batch> |
| 30 | 1.0 "Shorts" bench.serial.Shorts 500 10000 |
| 31 | |
| 32 | # Time int reads/writes |
| 33 | # Arguments: <# batches> <# cycles per batch> |
| 34 | 1.0 "Ints" bench.serial.Ints 500 10000 |
| 35 | |
| 36 | # Time long reads/writes |
| 37 | # Arguments: <# batches> <# cycles per batch> |
| 38 | 1.0 "Longs" bench.serial.Longs 500 10000 |
| 39 | |
| 40 | # Time float reads/writes |
| 41 | # Arguments: <# batches> <# cycles per batch> |
| 42 | 1.0 "Floats" bench.serial.Floats 500 10000 |
| 43 | |
| 44 | # Time double reads/writes |
| 45 | # Arguments: <# batches> <# cycles per batch> |
| 46 | 1.0 "Doubles" bench.serial.Doubles 500 10000 |
| 47 | |
| 48 | # Time boolean array reads/writes |
| 49 | # Arguments: <array size> <# batches> <# cycles per batch> |
| 50 | 1.0 "Boolean arrays" bench.serial.BooleanArrays 500 100 100 |
| 51 | |
| 52 | # Time byte array reads/writes |
| 53 | # Arguments: <array size> <# batches> <# cycles per batch> |
| 54 | 1.0 "Byte arrays" bench.serial.ByteArrays 500 100 100 |
| 55 | |
| 56 | # Time char array reads/writes |
| 57 | # Arguments: <array size> <# batches> <# cycles per batch> |
| 58 | 1.0 "Char arrays" bench.serial.CharArrays 500 100 100 |
| 59 | |
| 60 | # Time short array reads/writes |
| 61 | # Arguments: <array size> <# batches> <# cycles per batch> |
| 62 | 1.0 "Short arrays" bench.serial.ShortArrays 500 100 100 |
| 63 | |
| 64 | # Time int array reads/writes |
| 65 | # Arguments: <array size> <# batches> <# cycles per batch> |
| 66 | 1.0 "Int arrays" bench.serial.IntArrays 500 100 100 |
| 67 | |
| 68 | # Time long array reads/writes |
| 69 | # Arguments: <array size> <# batches> <# cycles per batch> |
| 70 | 1.0 "Long arrays" bench.serial.LongArrays 500 100 100 |
| 71 | |
| 72 | # Time float array reads/writes |
| 73 | # Arguments: <array size> <# batches> <# cycles per batch> |
| 74 | 1.0 "Float arrays" bench.serial.FloatArrays 500 100 100 |
| 75 | |
| 76 | # Time double array reads/writes |
| 77 | # Arguments: <array size> <# batches> <# cycles per batch> |
| 78 | 1.0 "Double arrays" bench.serial.DoubleArrays 500 100 100 |
| 79 | |
| 80 | # Time short string reads/writes |
| 81 | # Arguments: <string length> <# batches> <# cycles per batch> |
| 82 | 1.0 "Short strings" bench.serial.Strings 10 1000 1000 |
| 83 | |
| 84 | # Time long string reads/writes |
| 85 | # Arguments: <string length> <# batches> <# cycles per batch> |
| 86 | 1.0 "Long strings" bench.serial.Strings 300 100 1000 |
| 87 | |
| 88 | # Time object array reads/writes |
| 89 | # Arguments: <array size> <# batches> <# cycles per batch> |
| 90 | 1.0 "Object arrays" bench.serial.ObjArrays 100 100 100 |
| 91 | |
| 92 | # Time object tree reads/writes |
| 93 | # Arguments: <tree depth> <# batches> <# cycles per batch> |
| 94 | 1.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> |
| 98 | 1.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> |
| 102 | 1.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> |
| 106 | 1.0 "defaultRead/WriteObject trees" bench.serial.CustomDefaultObjTrees 6 100 1000 |
| 107 | |
| 108 | # Time GetField/PutField API |
| 109 | # Arguments: <tree depth> <# batches> <# cycles per batch> |
| 110 | 1.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> |
| 114 | 1.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> |
| 118 | 1.0 "Small-object trees" bench.serial.SmallObjTrees 6 100 100 |
| 119 | |
| 120 | # Time repeated object reads/writes |
| 121 | # Arguments: <# objects> <# batches> |
| 122 | 1.0 "Repeated objects" bench.serial.RepeatObjs 1000 10000 |
| 123 | |
| 124 | # Time class descriptor reads/writes |
| 125 | # Arguments: <# cycles> |
| 126 | 1.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> |
| 135 | 1.0 "Proxy class descriptors" bench.serial.ProxyClassDesc 20000 |
| 136 | |
| 137 | # Time proxy array reads/writes |
| 138 | # Arguments: <array size> <# batches> <# cycles per batch> |
| 139 | 1.0 "Proxy arrays" bench.serial.ProxyArrays 100 100 100 |
| 140 | |