-
I've spent a fair bit of time on exploring performance optimizations (for fun rather than necessity). Most use case should see a 1.5-3x speedup in encoding and a 3-4x speedup in decoding speed compared to the latest Protobuf-Java release (v3.21.12 on JDK 17). The speedup comes partly from reducing allocations, and partly from various optimizations like a fall-through switch case and a better memory layout. The JSON encoding speed is competitive with other generated implementations, but the decoding is comparatively barebones because I've never had a use case for it.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
I actually did try to get involved with FlatBuffers very early on (2014) and use it instead of Protobuf. I wrote the initial Java benchmarks and worked on a proof of concept for an object API.
-
flatbuffers-java-poc
Discontinued Proof of Concept for an alternative Java implementation for FlatBuffers
I actually did try to get involved with FlatBuffers very early on (2014) and use it instead of Protobuf. I wrote the initial Java benchmarks and worked on a proof of concept for an object API.
-
It would be interesting to create a new java benchmark with your implementation.
-
Related posts
-
JSON vs FlatBuffers vs Protocol Buffers
-
FlatBuffers – an efficient cross platform serialization library for many langs
-
Anyone has experience with reverse engineering flatbuffers?
-
flatbuffers - FlatBuffers: Memory Efficient Serialization Library
-
How do AAA studios make update-compatible save systems?