Java JSON解析器性能基准测试

14-02-11 banq

Boon目前是最快的JSON解析器,胜出GSON Jackson和JsonSmart等等,点按标题进入具体测试数据。下面是2014年2月3日的测试数据:

Benchmark                                                    Mode Thr     Count  Sec         Mean   i.g.j.s.StatelessBoonBenchMark.citmCatalog                  thrpt   8         5    1     1518.773      i.g.j.s.NewJsonGroovySlurper.citmCatalog                    thrpt   8         5    1     1458.510       i.g.j.s.BoonBenchmark.citmCatalog                           thrpt   8         5    1     1314.130      i.g.j.s.BoonClassicBenchmark.citmCatalog                    thrpt   8         5    1     1249.847      i.g.j.s.CharSourceBoonJSONParser.citmCatalog                thrpt   8         5    1      921.980       i.g.j.s.BoonReaderCSParserFirstPassBenchMark.citmCatalog    thrpt   8         5    1      769.380      i.g.j.s.GSONBenchmark.citmCatalog                           thrpt   8         5    1      576.317       i.g.j.s.JsonSmartBenchmark.citmCatalog                      thrpt   8         5    1      532.997       i.g.j.s.JacksonASTBenchmark.citmCatalog                     thrpt   8         5    1      459.303       i.g.j.s.JacksonObjectBenchmark.citmCatalog                  thrpt   8         5    1      457.350       i.g.j.s.OldJsonGroovySlurper.citmCatalog                    thrpt   8         5    1       79.693        

[该贴被banq于2014-02-11 16:15修改过]

fanlu
2014-02-12 16:48
fastjson呢?

猜你喜欢