Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Benchmarks for JSON parsers? [closed]

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

Java only benchmarks by the Jackson folks:

like image 457
Joshua Martell Avatar asked Oct 20 '10 17:10

Joshua Martell


2 Answers

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.

like image 178
StaxMan Avatar answered Sep 18 '22 12:09

StaxMan


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

like image 40
D_W Avatar answered Sep 21 '22 12:09

D_W