较结果:
create ser deser total size +dfljava-built-in 62 5608 29649 35257 889 514hessian 65 3812 6708 10519 501 313kryo 65 588 814 1403 214 134protostuff-runtime 64 651 856 1507 241 151msgpack 62 759 1386 2145 233 146json/jackson/databind 61 1842 2421 4262 485 261json/jackson/db-afterburner 63 1408 1915 3323 485 261json/protostuff-runtime 63 1650 2465 4115 469 243json/google-gson/databind 64 7421 5065 12485 486 259json/svenson-databind 64 5295 13144 18439 495 266json/flexjson/databind 62 21381 28193 49575 503 273json/fastjson/databind 63 1201 1216 2417 486 262smile/jackson/databind 65 1659 2007 3666 338 241smile/jackson/db-afterburner 63 1298 1520 2817 352 252smile/protostuff-runtime 64 1500 1710 3210 335 235bson/jackson/databind 65 5645 6895 12541 506 286xml/xstream+c 65 6645 13644 20289 487 244xml/jackson/databind-aalto 63 2933 5386 8319 683 286
Checking correctness…
[done] Pre-warmup… kryo-opt wobly wobly-compact protobuf protostuff protobuf/protostuff thrift thrift-compact avro json/json-lib-databind json/jsonij-jpath json/jsonpath/json.simple [done]create ser deser total size +dflkryo-opt 66 511 788 1299 211 131wobly 42 914 558 1472 251 151wobly-compact 42 872 568 1439 225 139protobuf 129 1103 684 1787 239 149protostuff 98 439 658 1097 239 150protobuf/protostuff 100 571 687 1258 239 149thrift 119 1651 900 2550 349 197thrift-compact 119 1387 992 2379 240 148avro 69 1234 1335 2569 221 133json/json-lib-databind 63 27555 87292 114848 485 263json/jsonij-jpath 65 28976 12671 41646 478 263json/jsonpath/json.simple 64 6507 225500 232006 495 269
Checking correctness…
[done] Pre-warmup… java-manual kryo-manual protostuff-manual avro-generic json/jackson/manual json/jackson/tree json/protostuff-manual json/google-gson/manual json/google-gson/manual/tree json/json.simple/manual json/json.simple/manual/tree json/json-smart/manual/tree json/org.json/manual/tree json/jsonij-manual/tree json/argo-manual/tree smile/jackson/manual smile/protostuff-manual bson/mongodb xml/woodstox-manual xml/aalto-manual xml/fastinfo-manual xml/xstream+c-woodstox xml/xstream+c-aalto xml/xstream+c-fastinfo xml/javolution [done]create ser deser total size +dfljava-manual 64 798 694 1492 255 147kryo-manual 63 459 586 1045 211 131protostuff-manual 64 456 737 1193 239 150avro-generic 451 1179 1050 2229 221 133json/jackson/manual 62 1137 1519 2656 468 253json/jackson/tree 63 2045 2650 4695 485 259json/protostuff-manual 63 1474 1940 3414 449 233json/google-gson/manual 65 5249 3991 9240 468 253json/google-gson/manual/tree 66 6836 5442 12278 485 259json/json.simple/manual 64 6331 9256 15588 495 269json/json.simple/manual/tree 67 6286 9701 15987 495 269json/json-smart/manual/tree 65 5496 3365 8862 495 269json/org.json/manual/tree 66 7147 9097 16243 485 259json/jsonij-manual/tree 65 28783 6665 35447 478 263json/argo-manual/tree 65 73870 15965 89835 485 263smile/jackson/manual 67 1010 1110 2120 341 244smile/protostuff-manual 65 1132 1633 2766 321 229bson/mongodb 65 3523 8125 11648 495 278xml/woodstox-manual 66 3374 4999 8373 653 304xml/aalto-manual 68 2230 3311 5541 653 304xml/fastinfo-manual 65 6730 5838 12568 377 284xml/xstream+c-woodstox 64 5200 10488 15688 525 273xml/xstream+c-aalto 65 4346 8783 13130 525 273xml/xstream+c-fastinfo 66 8094 8761 16854 345 264xml/javolution 63 7719 8351 16071 504 263
Last edited by zavakid,a month ago
来自:http://www.oschina.net/question/12_91812