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 semi-manual JSON serializer implementations with JSON.simple and js #13

Closed ProgrammerBruce closed 13 years ago

ProgrammerBruce commented 13 years ago

added semi-manual JSON serializer implementations with JSON.simple and json-smart

ProgrammerBruce commented 13 years ago

JSON.simple is an often-used API for JSON processing, selected probably because folks expect it's simple to use. json-smart is a faster implementation, originally forked from JSON.simple.

ProgrammerBruce commented 13 years ago

Some relative performance numbers:

json/jackson-manual 183 3110 3066 5042 5012 5112 8222 468 253 json/jackson-databind 181 4252 3962 6454 6626 6520 10771 503 271 json/protostuff-manual 187 3559 3159 4810 5180 5415 8975 449 233 json/protostuff-runtime 190 4292 4030 5967 6030 5892 10183 469 243 json/protobuf 331 23114 22617 139401 138827 140035 163149 488 253 json/google-gson/manual 182 46699 46907 14954 15295 15510 62209 468 253 json/google-gson/databind 186 65737 65215 68737 69409 69547 135284 486 259 json/svenson-databind 197 12306 12094 33947 34069 34391 46697 495 268 json/json-lib-databind 195 75941 76336 174531 175254 174067 250008 485 263 json/FastJSON-databind 199 5809 5643 8646 8961 8954 14763 478 254 json/JSON.simple/semi-manual 199 16776 16029 22516 21810 22315 39090 495 269 json/json-smart/semi-manual 196 14049 13360 10038 10044 10357 24406 495 269