r/Clojure • • Dec 21 '17

Faster JSON processing with jsonista

http://www.metosin.fi/blog/faster-json-processing-with-jsonista/
75 Upvotes

5 comments sorted by

2

u/nenegoro Dec 26 '17

Is this chart real? Why all numbers of jsonista are the same?

2

u/Hi-MyNameIsFuchs Dec 26 '17

Normalization?

1

u/ikitommi Dec 26 '17

Numbers are relative to Cheshire with the same json size. Tests, test setup and the numbers are in https://github.com/metosin/jsonista/blob/master/test/jsonista/json_perf_test.clj.

Jackson with mutable Java maps & lists is still much faster, but with persistent data stuctures, it's about the same.

1

u/nenegoro Dec 26 '17

I got it just now! :)

2

u/lgstein Dec 26 '17

They have normalized to their own performance. If the charts are correct, they show that other libs don't read/write in linear time, at least for the amount of data they benchmarked with.