다양한 JSON 라이브러리와 Fastjson 성능 비교


다양한 JSON 라이브러리와 Fastjson 성능 비교:

json 라이브러리 직렬화 성능역직렬화 성능jar 크기
fastjson1201 1216fastjson -1.1.26. jar(356k)
fastjson-1.1.25-android.jar(226k)
jackson14081915jackson-annotations-2.1.1.jar(34 k)            
jackson- 2.1. 1.jar(206k)
jackson-databind-2.1.1.jar(922k)
총 1162k
gson74215065 gson-2.2.2.jar(189k)
json -lib2755587292json-lib-2.4-jdk15.jar(159k)


                           create     ser   deser   total   size  +dfl
java-built-in                        62    5608   29649   35257    889   514
hessian                              65    3812    6708   10519    501   313
kryo                                 65     588     814    1403    214   134
protostuff-runtime                   64     651     856    1507    241   151
msgpack                              62     759    1386    2145    233   146
json/jackson/databind                61    1842    2421    4262    485   261
json/jackson/db-afterburner          63    1408    1915    3323    485   261
json/protostuff-runtime              63    1650    2465    4115    469   243
json/google-gson/databind            64    7421    5065   12485    486   259
json/svenson-databind                64    5295   13144   18439    495   266
json/flexjson/databind               62   21381   28193   49575    503   273
json/fastjson/databind               63    1201    1216    2417    486   262
smile/jackson/databind               65    1659    2007    3666    338   241
smile/jackson/db-afterburner         63    1298    1520    2817    352   252
smile/protostuff-runtime             64    1500    1710    3210    335   235
bson/jackson/databind                65    5645    6895   12541    506   286
xml/xstream+c                        65    6645   13644   20289    487   244
xml/jackson/databind-aalto           63    2933    5386    8319    683   286