eishay / jvm-serializers

Benchmark comparing serialization libraries on the JVM
http://groups.google.com/group/java-serialization-benchmarking
3.28k stars 561 forks source link

Added Wobly serializer #22

Closed ikabiljo closed 12 years ago

ikabiljo commented 12 years ago

Hi,

Added another java serializer to the test - Wobly ( http://code.google.com/p/wobly/ ). Added two instances - one is the default usage, and another is specially optimized for small size.

Run the test locally, and the results are competitive with others:

                             create     ser   +same   deser   +shal   +deep   total   size  +dfl

wobly 196 3481 3375 2453 2509 2564 6044 251 151 wobly-compact 166 4132 3412 2684 2754 2651 6783 225 139 java-manual 170 1334 1200 1109 1066 1233 2567 255 147 scala/sbinary 467 3429 3054 2300 2850 3083 6512 255 147 hessian 205 8902 7794 11989 12241 12059 20961 501 313 kryo 200 4985 4819 4529 4640 4737 9722 233 147 kryo-opt 257 3417 3243 3998 4023 4197 7614 219 135 kryo-manual 349 2715 2519 3291 3439 3480 6196 219 132 protobuf 462 5368 2029 2103 2223 2799 8167 239 149 protostuff 276 1172 980 2076 2135 2395 3567 239 150 protobuf/protostuff 221 852 733 1491 1425 1694 2546 239 149 thrift 309 3491 3340 2202 2184 2290 5780 349 197 thrift-compact 333 3349 3016 2411 2465 2521 5870 240 148 avro 155 2984 2857 1842 2815 3485 6469 221 133 avro-generic 734 3457 2794 1569 2423 3545 7002 221 133

I hope you'll add Wobly to the test. Let me know if you have any questions about it.

Thanks, ikabiljo

ikabiljo commented 12 years ago

Thanks for accepting!

Should I change the wiki for ToolBehavior to add Wobly, or you have to do it? And should that be changed now or after the next batch of changes have been retested?

Fields for Wobly should be: Language-Neutral: no (java only) Data Structure: annotate Serialization: auto Formats: binary

It is also backward and forward compatible.

Thanks, ikabiljo