Benchmarks
Benchmarks use the example schemas in examples/. Each example contains:
- a delta-pack schema (
schema.yml) - a protobuf schema (
schema.proto) - 2 or more data snapshots (
schema1.json, ...,schemaN.json)
Snapshot Encoding Size
JSON, MessagePack, Protobuf, and Delta-Pack compared for snapshot encoding. Lower is better.
Delta Encoding Size
Delta-Pack diffs vs JSON Patch (RFC 6902) for delta encoding. Lower is better.
Performance
Per-language encoding/decoding speed benchmarks:
- TypeScript (vs JSON, msgpackr, protobufjs)
- C# (vs System.Text.Json, MessagePack-CSharp, Google.Protobuf)
- Rust (vs JSON, rmp-serde, prost)