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

For discussions please use the java serialization benchmarking google group.

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 special knowledge about the class.
Checking correctness…
[done]
Pre-warmup… java-built-in hessian kryo fast-serialization jboss-serialization jboss-marshalling-river protostuff msgpack-databind json/jackson/databind json/jackson/db-afterburner json/protostuff-runtime json/google-gson/databind json/svenson-databind json/flexjson/databind json/fastjson/databind smile/jackson/databind smile/jackson/db-afterburner bson/jackson/databind xml/xstream+c xml/jackson/databind-aalto
[done]

                             create     ser   deser   total   size  +dfl
java-built-in                          63    5835   29972   35807    889   514
hessian                                63    3680    6033    9713    501   313
kryo                                   63     654     837    1492    212   132
fast-serialization                     63     699     850    1549    252   166
jboss-serialization                    63    6554    6312   12866    932   582
jboss-marshalling-river                63    4624   24843   29467    694   400
protostuff                             82     488     732    1220    239   150
msgpack-databind                       63     853    1371    2224    233   146
json/jackson/databind                  63    1961    2596    4556    485   261
json/jackson/db-afterburner            63    1537    1984    3521    485   261
json/protostuff-runtime                63    1556    2182    3738    469   243
json/google-gson/databind              63    5644    4764   10408    486   259
json/svenson-databind                  63    5296   10072   15368    495   271
json/flexjson/databind                 63   19487   25865   45353    503   273
json/fastjson/databind                 64    1300    1162    2462    486   262
smile/jackson/databind                 64    1723    1882    3606    338   241
smile/jackson/db-afterburner           64    1411    1501    2912    352   252
bson/jackson/databind                  64    5202    7026   12228    506   286
xml/xstream+c                          64    6337   12627   18964    487   244
xml/jackson/databind-aalto             63    3176    5790    8967    683   286






DEFAULT: Serializes any object trees, cycle detection enabled. Nothing is known about the classes to serialize. Only serializers supporting full object graph restauration are included.
Checking correctness…
[done]
Pre-warmup… java-built-in-serializer hessian kryo-serializer fast-serialization-shared jboss-serialization
[done]

                             create     ser   deser   total   size  +dfl
java-built-in-serializer               63    5810   29737   35547    889   514
hessian                                63    3662    6042    9703    501   313
kryo-serializer                        63    1699    1483    3182    311   198
fast-serialization-shared              63    1664    1620    3284    341   212
jboss-serialization                    63    6258    6255   12512    932   582






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