Version: v2026.5.2.1 | Commit: 32293d98 | 2026-05-02T10:06:03.065183+00:00
protobuf
| Operation | zerodep | Reference | zerodep time | Ref time | zerodep ops/s | Ref ops/s | Ratio |
| Decode Comparison | zerodep_large | google (protobuf) | 253.1 µs | 3.4 µs | 4.0K | 290.8K | 73.6x slower |
| Decode Comparison | zerodep_medium | google (protobuf) | 35.7 µs | 1.0 µs | 28.0K | 981.9K | 35.0x slower |
| Decode Comparison | zerodep_small | google (protobuf) | 3.7 µs | 535.6 ns | 270.3K | 1.87M | 6.9x slower |
| Encode Comparison | zerodep_large | google (protobuf) | 94.6 µs | 2.0 µs | 10.6K | 508.5K | 48.1x slower |
| Encode Comparison | zerodep_medium | google (protobuf) | 16.0 µs | 247.3 ns | 62.4K | 4.04M | 64.8x slower |
| Encode Comparison | zerodep_small | google (protobuf) | 1.6 µs | 230.1 ns | 638.4K | 4.35M | 6.8x slower |
| Roundtrip Comparison | zerodep_large | google (protobuf) | 341.4 µs | 5.4 µs | 2.9K | 184.1K | 62.8x slower |
| Roundtrip Comparison | zerodep_medium | google (protobuf) | 51.0 µs | 1.4 µs | 19.6K | 711.2K | 36.2x slower |
| Roundtrip Comparison | zerodep_small | google (protobuf) | 5.3 µs | 790.0 ns | 189.2K | 1.27M | 6.7x slower |
Standalone benchmarks
| Operation | Variant | Mean | ops/s |
| test_decode_large | decode_large | 252.2 µs | 4.0K |
| test_decode_medium | decode_medium | 35.6 µs | 28.1K |
| test_decode_small | decode_small | 3.7 µs | 273.2K |
| test_encode_large | encode_large | 94.0 µs | 10.6K |
| test_encode_medium | encode_medium | 15.6 µs | 64.0K |
| test_encode_small | encode_small | 1.5 µs | 665.0K |
| test_from_dict_large | from_dict_large | 135.0 µs | 7.4K |
| test_roundtrip_large | roundtrip_large | 345.0 µs | 2.9K |
| test_roundtrip_medium | roundtrip_medium | 51.4 µs | 19.4K |
| test_roundtrip_small | roundtrip_small | 5.4 µs | 186.5K |
| test_to_dict_large | to_dict_large | 80.4 µs | 12.4K |