-
Notifications
You must be signed in to change notification settings - Fork 14
Kryo vs. Boon v. Java Object Serialization
RichardHightower edited this page Apr 19, 2014
·
1 revision
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.roundTripBig thrpt 16 6 1 243.711 27.724 ops/s
Boon beats regular Java serialization but gets knocked out by Kryo (expected).
i.g.j.s.MainBoonSerializer.roundTriper thrpt 16 6 1 312757.286 75458.502 ops/s
i.g.j.s.MainJavaSerialization.roundTriper thrpt 16 6 1 43946.267 61072.541 ops/s
i.g.j.s.MainKryoJavaSerialization.roundTriper thrpt 16 6 1 598530.894 123891.409 ops/s
Boon beats regular Java serialization by 6x and gets to around 50% of Kryo.
i.g.j.s.MainBoonSerializer.serializeBig thrpt 16 6 1 375.406 27.258 ops/s
i.g.j.s.MainJavaSerialization.serializeBig thrpt 16 6 1 163.522 12.249 ops/s
i.g.j.s.MainKryoJavaSerialization.serializeBig thrpt 16 6 1 454.381 22.956 ops/s
Boon kills built in Java serialization and gets within 82% of Kryo. That is fast. Remember Boon is parsing JSON and producing JSON.
i.g.j.s.MainBoonSerializer.serializeSmall thrpt 16 6 1 923105.250 51177.109 ops/s
i.g.j.s.MainJavaSerialization.serializeSmall thrpt 16 6 1 373966.467 22819.103 ops/s
i.g.j.s.MainKryoJavaSerialization.serializeSmall thrpt 16 6 1 1236715.808 120829.521 ops/s
Boon kills built in Java serialization and does not do too bad against Kryo.