3 Replies Latest reply on Feb 27, 2002 11:42 AM by Trevor Squires

    Serialization

    Adrian Brock Master

      Hi,

      I created some simple serialization performance
      tests for ObjectInstance and ObjectName here's the
      results.

      [pre]
      test-performance-RI:
      [java].
      [java]ObjectInstance
      [java]1000 Serializations, Repeat: x10
      [java](this may take a while...)
      [java]311 270 281 280 270 271 280 271 280 270
      [java]Average: 278.4 Size: 450
      [java].
      [java]ObjectName 1 property
      [java]1000 Serializations, Repeat: x10
      [java](this may take a while...)
      [java]210 190 201 200 200 190 201 200 200 201
      [java]Average: 199.3 Size: 300
      [java].
      [java]ObjectName 10 properties
      [java]1000 Serializations, Repeat: x10
      [java](this may take a while...)
      [java]270 271 280 281 280 290 281 280 281 280
      [java]Average: 279.4 Size: 444
      [java].
      [java]ObjectName 100 properties
      [java]1000 Serializations, Repeat: x10
      [java](this may take a while...)
      [java]1141 1152 1142 1151 1162 1142 1151 1142 1152 1141
      [java]Average: 1147.6 Size: 2424
      [java]
      [java]Time: 21.491
      [java]
      [java]OK (4 tests)
      [java]

      test-performance-JBossMX:
      [java].
      [java]ObjectInstance
      [java]1000 Serializations, Repeat: x10
      [java](this may take a while...)
      [java]301 280 290 281 290 291 290 281 290 280
      [java]Average: 287.4 Size: 455
      [java].
      [java]ObjectName 1 property
      [java]1000 Serializations, Repeat: x10
      [java](this may take a while...)
      [java]200 210 201 200 200 200 201 200 200 201
      [java]Average: 201.3 Size: 299
      [java].
      [java]ObjectName 10 properties
      [java]1000 Serializations, Repeat: x10
      [java](this may take a while...)
      [java]281 280 280 281 280 281 280 280 281 280
      [java]Average: 280.4 Size: 443
      [java].
      [java]ObjectName 100 properties
      [java]1000 Serializations, Repeat: x10
      [java](this may take a while...)
      [java]1162 1161 1142 1162 1151 1152 1162 1151 1152 1172
      [java]Average: 1156.7 Size: 2423
      [java]
      [java]Time: 21.441
      [java]
      [java]OK (4 tests)
      [java]
      [/pre]

      Nearly identical. :-)

      Regards,
      Adrian