Link Details

Link 1139369 thumbnail
User 1189573 avatar

By richigh82
via rick-hightower.blogspot.com
Published: Apr 11 2014 / 15:22

Jackson is consistently faster than GSON and JSONSmart. Boon JSON parser and the new Groovy 2.3 JSON parser are faster than Jackson. They are faster than Jackson with InputStream, Reader, reading files, byte[], and char[] and String. Groovy JSON support and the Boon JSON parser are up to 3x to 5x faster than Jackson at parsing JSON from String and char[], and 2x to 4x faster at parsing byte[].
  • 15
  • 0
  • 1641
  • 1676

Comments

Add your comment
User 1189573 avatar

richigh82 replied ago:

0 votes Vote down Vote up Reply

Which is faster serializing to JSON with Jackson or serializing to binary with ObjectOutputStream? Most people assume that Java object serialization is faster than Jackson JSON serialization because Jackson is using JSON and Java object serialization is binary. Is this true? Find out. http://www.dzone.com/links/which_is_faster_serializing_to_json_with_jackson.html

User 1189573 avatar

richigh82 replied ago:

0 votes Vote down Vote up Reply

Some independent verification. Groovy 2.3 JSON parser and serializer faster than Jackson Andrey Bloschetsov, one of the commiters on the Groovy 2.3 JSON speedup, just published a benchmark showing Groovy 2.3 JSON parsing speed is faster than Jackson! This is more confirmation that Groovy 2.3 JSON parser is one of the fastest JSON parser and serializers on the JVM. It is even faster than Jackson! Jackson is faster than GSON, and JSONSmart by a wide margin. This puts Groovy 2.3 JSON parser and serializer as one of the fastest ways to parse and serialize JSON on the JVM. It is among the best. The Groovy JSON parser is the fastest of any of the main stream Java JSON parsers (ones with wide distribution). Yes it is fast. Very fast! http://www.dzone.com/links/groovy_23_json_parser_and_serializer_faster_than.html

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Play Framework
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Akka
  2. Design Patterns
  3. OO JS
  4. Cont. Delivery
  5. HTML5 Mobile
  1. Akka
  2. JUnit/EasyMock
  3. Java Performance
  4. REST
  5. Java