eishay / jvm-serializers

Benchmark comparing serialization libraries on the JVM
http://groups.google.com/group/java-serialization-benchmarking
3.29k stars 562 forks source link

Add Amazon Ion #84

Closed phraktle closed 4 years ago

phraktle commented 4 years ago

It would be nice to see Amazon Ion added to the benchmarks.

pascaldekloe commented 4 years ago

Make a pull request please.

phraktle commented 4 years ago

Yes, someone make a pull request, please :)

pascaldekloe commented 4 years ago

Every codec is "interesting" to see. No point in making issues for each, unless you're contributing.

cowtowncoder commented 4 years ago

One suggestion if someone is interested enough to spend the little bit of time necessary: aside from Amazon's Ion codec itself, there is Jackson backend, included as part of:

https://github.com/FasterXML/jackson-dataformats-binary

that should represent efficiency of the codec (it uses Amazon's codec in streaming mode under the hood) fairly well. Jackson binary formats package is already depended on for CBOR and Smile tests, so starting with test case for one or the other should take care of most of the work. So, add maven dependency, copy-paste test, change SmileMapper/SmileFactory to matching Ion-backed, and that should be it.