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

No manual optimization, total Ser Time+Deser Timee (ns)


                                   create     ser   deser   total   size  +dfl
kryo-manual                            76     616     720    1337    211   131
protostuff-manual                      75     523     818    1342    239   150
protostuff                             96     560     825    1386    239   150
protobuf/protostuff                    96     604     839    1443    239   149
fst-flat-pre                           73     791     849    1639    251   165
wobly                                  54    1039     600    1639    251   151
java-manual                            74     967     740    1706    255   147
protostuff-runtime                     73     726     986    1712    241   151
wobly-compact                          53    1066     653    1718    225   139
kryo-flat-pre                          73     752    1007    1759    212   132
kryo-opt                               73     743    1029    1772    209   129
protobuf/protostuff-runtime            73     857     984    1841    241   150
smile/jackson/manual                   74    1015    1259    2275    341   244
kryo-serializer-flat                   74     968    1321    2289    293   188
protobuf                              150    1406     884    2290    239   149
fst-flat                               74    1121    1312    2433    314   204
msgpack-manual                         73    1004    1487    2491    233   146
msgpack-databind                       74     955    1607    2562    233   146
thrift-compact                        145    1698    1055    2752    240   148
json/fastjson/databind                 73    1444    1315    2759    486   262
json/jackson/manual                    74    1223    1745    2968    468   253
thrift                                145    2010    1038    3049    349   197
scala/sbinary                         142    1814    1263    3077    255   147
smile/jackson/db-afterburner           73    1586    1670    3256    352   252
jboss-marshalling-river-ct-manual      74    1883    1398    3281    289   167
avro-generic                          430    2058    1346    3404    221   133
avro-specific                         105    1822    1701    3523    221   133
fst                                    73    1804    1775    3579    316   203
kryo-serializer                        73    1946    1740    3687    311   198
json/protostuff-manual                 74    1458    2295    3754    449   233
smile/jackson/databind                 74    1807    2118    3925    338   241
json/jackson/db-afterburner            74    1665    2283    3948    485   261
json/protostuff-runtime                73    1756    2484    4240    469   243
json/jackson/databind                  73    1897    2851    4748    485   261
xml/aalto-manual                       73    2288    3466    5754    653   304
jboss-marshalling-river-ct             73    3454    2579    6033    298   199
jboss-marshalling-river-manual         73    2437    5792    8229    483   240
json/google-gson/manual                73    4090    4343    8433    468   253
xml/woodstox-manual                    73    3448    5680    9128    653   304
xml/jackson/databind-aalto             74    3347    6081    9428    683   286
json/json-smart/manual/tree            75    6210    4843   11053    495   269
hessian                                74    4100    7046   11146    501   313
json/google-gson/databind              74    6306    5504   11811    486   259
json/google-gson/manual/tree           74    5977    6311   12289    485   259
bson/mongodb                           73    3871    8573   12444    495   278
bson/jackson/databind                  74    6182    7467   13650    506   286
jboss-serialization                    74    7249    7232   14481    932   582
xml/javolution                         73    6023    9868   15891    504   263
xml/xstream+c-aalto                    73    4912   11439   16351    525   273
json/json.simple/manual                73    7184    9717   16902    495   269
json/org.json/manual/tree              73    7974    9779   17753    485   259
json/svenson-databind                  73    5772   12192   17964    495   265
xml/xstream+c-fastinfo                 74    9181    9702   18883    345   264
json/javax-stream/glassfish            74    7415   12370   19784    468   253
xml/xstream+c-woodstox                 74    6002   13823   19825    525   273
xml/xstream+c                          74    7077   15043   22121    487   244
json/javax-tree/glassfish            1433   10395   14218   24613    485   263
xml/exi-manual                         74   18344   16617   34962    337   327
jboss-marshalling-river                74    5454   29817   35271    694   400
java-built-in-serializer               73    6262   33366   39628    889   514
java-built-in                          73    6292   34119   40411    889   514
jboss-marshalling-serial               74   13083   37621   50705    856   498
json/flexjson/databind                 74   21772   30244   52017    503   273
yaml/jackson                           74   22747   35101   57848    505   260
json/jsonij-jpath                      73   43751   14776   58527    478   257
scala/java-built-in                   142    9833   53185   63017   1312   700
json/protobuf                         151    9883   61416   71299    488   253
json/argo-manual/tree                  72   71479   16924   88403    485   263
json/json-lib-databind                 74   28873  134041  162914    485   263

Full Serializers, total Ser Time+Deser Timee (ns)


                                   create     ser   deser   total   size  +dfl
fst                                    73    1804    1775    3579    316   203
kryo-serializer                        73    1946    1740    3687    311   198
hessian                                74    4100    7046   11146    501   313
jboss-serialization                    74    7249    7232   14481    932   582
jboss-marshalling-river                74    5454   29817   35271    694   400
java-built-in-serializer               73    6262   33366   39628    889   514
jboss-marshalling-serial               74   13083   37621   50705    856   498
json/flexjson/databind                 74   21772   30244   52017    503   273
yaml/jackson                           74   22747   35101   57848    505   260

Flat Serializers, total Ser Time+Deser Timee (ns)


                                   create     ser   deser   total   size  +dfl
protobuf/protostuff-runtime            73     857     984    1841    241   150
kryo-serializer-flat                   74     968    1321    2289    293   188
fst-flat                               74    1121    1312    2433    314   204
json/fastjson/databind                 73    1444    1315    2759    486   262
smile/jackson/db-afterburner           73    1586    1670    3256    352   252
fst                                    73    1804    1775    3579    316   203
kryo-serializer                        73    1946    1740    3687    311   198
smile/jackson/databind                 74    1807    2118    3925    338   241
json/jackson/db-afterburner            74    1665    2283    3948    485   261
json/protostuff-runtime                73    1756    2484    4240    469   243
json/jackson/databind                  73    1897    2851    4748    485   261
xml/jackson/databind-aalto             74    3347    6081    9428    683   286
hessian                                74    4100    7046   11146    501   313
json/google-gson/databind              74    6306    5504   11811    486   259
jboss-serialization                    74    7249    7232   14481    932   582
xml/xstream+c                          74    7077   15043   22121    487   244
json/javax-tree/glassfish            1433   10395   14218   24613    485   263
xml/exi-manual                         74   18344   16617   34962    337   327
jboss-marshalling-river                74    5454   29817   35271    694   400
java-built-in-serializer               73    6262   33366   39628    889   514
java-built-in                          73    6292   34119   40411    889   514
jboss-marshalling-serial               74   13083   37621   50705    856   498
json/flexjson/databind                 74   21772   30244   52017    503   273
yaml/jackson                           74   22747   35101   57848    505   260

Cross Language Binary Serializers, total Ser Time+Deser Timee (ns)


                                   create     ser   deser   total   size  +dfl
protobuf                              150    1406     884    2290    239   149
msgpack-manual                         73    1004    1487    2491    233   146
msgpack-databind                       74     955    1607    2562    233   146
thrift-compact                        145    1698    1055    2752    240   148
thrift                                145    2010    1038    3049    349   197
avro-generic                          430    2058    1346    3404    221   133
avro-specific                         105    1822    1701    3523    221   133
hessian                                74    4100    7046   11146    501   313
bson/mongodb                           73    3871    8573   12444    495   278
bson/jackson/databind                  74    6182    7467   13650    506   286

Class known, total Time+Ser Time in ns


                                   create     ser   deser   total   size  +dfl
protostuff                             96     560     825    1386    239   150
protobuf/protostuff                    96     604     839    1443    239   149
fst-flat-pre                           73     791     849    1639    251   165
protostuff-runtime                     73     726     986    1712    241   151
kryo-flat-pre                          73     752    1007    1759    212   132
protobuf                              150    1406     884    2290    239   149
msgpack-databind                       74     955    1607    2562    233   146
thrift-compact                        145    1698    1055    2752    240   148
thrift                                145    2010    1038    3049    349   197
jboss-marshalling-river-ct             73    3454    2579    6033    298   199
bson/jackson/databind                  74    6182    7467   13650    506   286

Size of serialized data/(light:compressed) (bytes)


                                   create     ser   deser   total   size  +dfl
kryo-opt                               73     743    1029    1772    209   129
kryo-manual                            76     616     720    1337    211   131
kryo-flat-pre                          73     752    1007    1759    212   132
avro-generic                          430    2058    1346    3404    221   133
avro-specific                         105    1822    1701    3523    221   133
wobly-compact                          53    1066     653    1718    225   139
msgpack-databind                       74     955    1607    2562    233   146
msgpack-manual                         73    1004    1487    2491    233   146
protobuf/protostuff                    96     604     839    1443    239   149
protobuf                              150    1406     884    2290    239   149
protostuff-manual                      75     523     818    1342    239   150
protostuff                             96     560     825    1386    239   150
thrift-compact                        145    1698    1055    2752    240   148
protobuf/protostuff-runtime            73     857     984    1841    241   150
protostuff-runtime                     73     726     986    1712    241   151
fst-flat-pre                           73     791     849    1639    251   165
wobly                                  54    1039     600    1639    251   151
java-manual                            74     967     740    1706    255   147
scala/sbinary                         142    1814    1263    3077    255   147
jboss-marshalling-river-ct-manual      74    1883    1398    3281    289   167
kryo-serializer-flat                   74     968    1321    2289    293   188
jboss-marshalling-river-ct             73    3454    2579    6033    298   199
kryo-serializer                        73    1946    1740    3687    311   198
fst-flat                               74    1121    1312    2433    314   204
fst                                    73    1804    1775    3579    316   203
xml/exi-manual                         74   18344   16617   34962    337   327
smile/jackson/databind                 74    1807    2118    3925    338   241
smile/jackson/manual                   74    1015    1259    2275    341   244
xml/xstream+c-fastinfo                 74    9181    9702   18883    345   264
thrift                                145    2010    1038    3049    349   197
smile/jackson/db-afterburner           73    1586    1670    3256    352   252
json/protostuff-manual                 74    1458    2295    3754    449   233
json/google-gson/manual                73    4090    4343    8433    468   253
json/jackson/manual                    74    1223    1745    2968    468   253
json/javax-stream/glassfish            74    7415   12370   19784    468   253
json/protostuff-runtime                73    1756    2484    4240    469   243
json/jsonij-jpath                      73   43751   14776   58527    478   257
jboss-marshalling-river-manual         73    2437    5792    8229    483   240
json/argo-manual/tree                  72   71479   16924   88403    485   263
json/google-gson/manual/tree           74    5977    6311   12289    485   259
json/jackson/databind                  73    1897    2851    4748    485   261
json/jackson/db-afterburner            74    1665    2283    3948    485   261
json/javax-tree/glassfish            1433   10395   14218   24613    485   263
json/json-lib-databind                 74   28873  134041  162914    485   263
json/org.json/manual/tree              73    7974    9779   17753    485   259
json/fastjson/databind                 73    1444    1315    2759    486   262
json/google-gson/databind              74    6306    5504   11811    486   259
xml/xstream+c                          74    7077   15043   22121    487   244
json/protobuf                         151    9883   61416   71299    488   253
bson/mongodb                           73    3871    8573   12444    495   278
json/json.simple/manual                73    7184    9717   16902    495   269
json/json-smart/manual/tree            75    6210    4843   11053    495   269
json/svenson-databind                  73    5772   12192   17964    495   265
hessian                                74    4100    7046   11146    501   313
json/flexjson/databind                 74   21772   30244   52017    503   273
xml/javolution                         73    6023    9868   15891    504   263
yaml/jackson                           74   22747   35101   57848    505   260
bson/jackson/databind                  74    6182    7467   13650    506   286
xml/xstream+c-aalto                    73    4912   11439   16351    525   273
xml/xstream+c-woodstox                 74    6002   13823   19825    525   273
xml/aalto-manual                       73    2288    3466    5754    653   304
xml/woodstox-manual                    73    3448    5680    9128    653   304
xml/jackson/databind-aalto             74    3347    6081    9428    683   286
jboss-marshalling-river                74    5454   29817   35271    694   400
jboss-marshalling-serial               74   13083   37621   50705    856   498
java-built-in                          73    6292   34119   40411    889   514
java-built-in-serializer               73    6262   33366   39628    889   514
jboss-serialization                    74    7249    7232   14481    932   582
scala/java-built-in                   142    9833   53185   63017   1312   700
Clone this wiki locally