Skip to main content

Benchmark

Different serialization frameworks are suitable for different scenarios, and benchmark results here are for reference only.

If you need to benchmark for your specific scenario, make sure all serialization frameworks are appropriately configured for that scenario.

Dynamic serialization frameworks supports polymorphism and reference, which has more cost compared to static serialization frameworks, unless it uses the jit techniques as fury did. Since fury will generate code at runtime, please warm up before collecting benchmark statistics.

Java Serialization

Java Deserialization

See benchmarks for more benchmarks about type forward/backward compatibility, off-heap support, zero-copy serialization.

JavaScript

The data used for this bar graph includes a complex object that has many kinds of field types, and the size of the JSON data is 3KB.

See benchmarks for the benchmark code.