Boon JSON sersialization versus Kryo binary serialization versus Java Object Serialization
Boon JSON sersialization versus Kryo binary serialization versus Java Object Serialization Kryo vs. Boon v. Java Object Serialization Boon is not just a fast JSON parser, it happens to be one of the fastest ways to do Java Object Serialization period. Boon Java JSON serialization is faster than Java Object Serialization (ObjectOutputStream). It just happens to work with JSON. Kryo, a binary serializer which is the fastest way to serialize Java objects, wins by the way, but for large streams, Boon gets within 85% of Kryo. To get Java JSON serialization within 15% of the fastest Java Binary serializer took quite some effort. Boon JSON serialization is probably in the top five Java serializers for speed, and it is the fastest way to do JSON.? Benchmark Mode Thr Count Sec Mean Mean error Units i.g.j.s.MainBoonSerializer.roundTripBig thrpt 16 6 1 101.078 12.809 ops/s i.g.j.s.MainJavaSerialization.roundTripBig thrpt 16 6 1 90.572 10.920 ops/s i.g.j.s.MainKryoJavaSerialization.roundTripB...