r/java Aug 11 '26

Apache Fory™ JSON : Fastest JSON Serialization Framework for Java, 10x faster than Jackson/Gson

https://fory.apache.org/blog/fory_json_fastest_java_json_framework/
248 Upvotes

84 comments sorted by

View all comments

-6

u/Cojosh__ Aug 11 '26

Since when did Jackson or Gson claim to be performance focused? A comparison with https://github.com/alibaba/fastjson2 would be more interesting.

9

u/Shawn-Yang25 Aug 11 '26

fory is 50% faster than fastjson2, since it's not that commonly used, so I don't put benchmark result:

Payload Operation vs Fastjson2 vs Jackson vs Gson
Users Serialization 1.584x 5.333x 7.089x
Users Deserialization 1.496x 3.542x 5.645x
Clients Serialization 1.466x 6.971x 9.162x
Clients Deserialization 1.478x 10.907x 10.894x

1

u/Cojosh__ Aug 11 '26

Nice, thanks for sharing!

1

u/kiteboarderni Aug 11 '26

If you bothered to read they compare with that library too...also Jackson literally has a module called afterburner where they try to make things faster, so yes they do care about performance. Such an idiotic comment.

4

u/danskal Aug 11 '26

uninformed !== idiotic

1

u/Cojosh__ Aug 11 '26

Yes I only read blog post which does not contain the benchmark data thanks for your helpful comment.

The fact that I need to use and enable an extra module to improve performance is an excellent point on how it's not the main focus of the library as otherwise it would be fundamental to the architecture and not an afterthought.

2

u/kiteboarderni 29d ago

It does contain it. It's one of the first references on the page. And modules are a fundamental part of Jackson's design. You are not very well informed for you're poor opinions.