开发者

Benchmarks for JSON parsers? [closed]

开发者 https://www.devze.com 2023-01-20 20:45 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they t开发者_StackOverflow中文版end to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 8 years ago.

Improve this question

I'm interested in benchmarks for various JSON parsing libraries, ideally, comparing Java and C/C++ implementations.

Java only benchmarks by the Jackson folks:


For java implementations, there is:

  • https://github.com/eishay/jvm-serializers/wiki/

which covers all kinds of serialization, including JSON using Jackson, GSON, protostuff.

but unfortunately I have not seen a good comparisons between JSON parsers (and/or generators) on different platforms.


Not sure for steraming stax-like API, but for object data binding, gson is smallest and fast for adhoc, jackson is fastest at server side.

http://danielywoo.blogspot.com/2011/04/json-java-libraries-benchmark-jsonlib.html

0

精彩评论

暂无评论...
验证码 换一张
取 消