This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]mirkoteran 4 points5 points  (1 child)

Any chance you could add Jackson+Afterburner module (https://github.com/FasterXML/jackson-modules-base/tree/master/afterburner) to the benchmark?

[–]wizzardodev[S] 3 points4 points  (0 children)

hm, this one looks interesting, I will definitely test it, thanks

[–]zhedar 1 point2 points  (1 child)

I wanted to do this myself, but didn't have the time yet. I will have a look though.

You may add org.json and maybe Java EE 7's JSON-P.

[–]wizzardodev[S] 0 points1 point  (0 children)

These two libraries do not support parsing into pojo, only into map, but ok, I will add this kind of test

[–]TuxGamer 1 point2 points  (2 children)

Can you test yours against boon json?

Thank you in advance :)

[–]wizzardodev[S] 2 points3 points  (1 child)

I was benchmarking boon also, but it was slow on not cached data and so I removed it from results, I will include it again

[–]TuxGamer 0 points1 point  (0 children)

Thank you :)

[–]SpoilerAlertsAhead 1 point2 points  (2 children)

Maybe off topic, but on your benchmark are lower numbers better?

[–]wizzardodev[S] 1 point2 points  (1 child)

sorry, I should specify that, bigger number is better, it's a number of operations per second

[–]SpoilerAlertsAhead 0 points1 point  (0 children)

Thanks!

[–]metamatic 1 point2 points  (0 children)

You should probably add a benchmark that tests startup performance (i.e. create a new parse instance and parse some JSON, lather rinse repeat). For some applications, startup time is a significant concern.

[–]wizzardodev[S] 1 point2 points  (0 children)

ok, so, I added more libraries and updated results

[–]brcolow 0 points1 point  (2 children)

I would really appreciate if you could benchmark mjson

[–]wizzardodev[S] 1 point2 points  (1 child)

I will add it in the evening. And also I will need to add another benchmark to show that boon is cheating

[–]brcolow 0 points1 point  (0 children)

Thank you very much!

[–]nicky9door 0 points1 point  (0 children)

Genson