Skip to content
RuedigerMoeller edited this page Mar 7, 2014 · 69 revisions

For discussions please use the java serialization benchmarking google group.

###Disclamer:
This test focusses on en/decoding of a cyclefree data structure. Some serializers support cycle detection/object sharing, some offer both modes, some include full metadata, some don’t, some are cross platform, some are language specific, some are text based, some are binary. (See ()
Other test data will yield in different results. However the results give a raw estimation of library performance.

java version “1.7.0_51”
Java™ SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot™ 64-Bit Server VM (build 24.51-b03, mixed mode)

SIMPLE/GENERIC:
Serializes any POJO tree without class specific optimization. Serialized classes are known in advance. No cycle detection/shared object detection is done.

DEFAULT:
Serializes any object trees, cycle detection enabled. Nothing is known in advance about the classes to serialize. Only serializers supporting full object graph restauration are included.

SIMPLE/SPECIFC: Serializes only specific classes using code generation or other special knowledge about the class.

MANUAL:
Serializes only specific classes using hand written serialization code.

Clone this wiki locally