============================================================================
OmniBuf-Py Benchmark Suite (Python 3.14.5 / darwin-arm64 / Apple M1 Pro)
Workload: 11-field PeerUpdate (366B OmniBuf, 341B Protobuf) + >16 KiB stress cases
Methodology: Full decode reads all 11 fields; mutations check city and increment/grow.
============================================================================

### 1. Full Message Encode Speed

| Codec / Operation | Latency (ns/op) | Throughput (ops/sec) | Wire Size (B) | vs Baseline |
|---|---:|---:|---:|---:|
| OmniBuf (Generated) | 368 ns | 2,719,384 | 366 | 1.00x (baseline) |
| OmniBuf (@dataclass) | 393 ns | 2,546,530 | 366 | 1.07x slower |
| protobuf-py | 947 ns | 1,056,467 | 341 | 2.57x slower |
| google.protobuf (upb) | 440 ns | 2,272,611 | 341 | 1.20x slower |
| msgspec | 633 ns | 1,579,585 | 634 | 1.72x slower |
| msgpack | 1,680 ns | 595,254 | 634 | 4.57x slower |
| json (stdlib) | 4,865 ns | 205,548 | 874 | 13.23x slower |

### 2. Full Message Decode Speed

| Codec / Operation | Latency (ns/op) | Throughput (ops/sec) | vs Baseline |
|---|---:|---:|---:|
| OmniBuf (Generated) | 1,878 ns | 532,615 | 1.00x (baseline) |
| OmniBuf (@dataclass) | 1,828 ns | 547,096 | 1.00x (baseline) |
| protobuf-py | 3,157 ns | 316,734 | 1.68x slower |
| google.protobuf (upb) | 4,688 ns | 213,296 | 2.50x slower |
| msgspec | 2,178 ns | 459,220 | 1.16x slower |
| msgpack | 4,025 ns | 248,450 | 2.14x slower |
| json (stdlib) | 6,050 ns | 165,283 | 3.22x slower |

### 3. Read a Single Nested Field

| Codec / Operation | Latency (ns/op) | Throughput (ops/sec) | vs Baseline |
|---|---:|---:|---:|
| OmniBuf (Generated) | 490 ns | 2,039,238 | 1.00x (baseline) |
| protobuf-py | 2,299 ns | 434,922 | 4.69x slower |
| google.protobuf (upb) | 796 ns | 1,255,628 | 1.62x slower |
| msgspec | 1,177 ns | 849,663 | 2.40x slower |
| msgpack | 2,773 ns | 360,561 | 5.66x slower |
| json (stdlib) | 4,773 ns | 209,497 | 9.73x slower |

### 4. Selective Single-Field Mutation

| Codec / Operation | Latency (ns/op) | Throughput (ops/sec) | vs Baseline |
|---|---:|---:|---:|
| OmniBuf (Generated) | 773 ns | 1,293,839 | 1.00x (baseline) |
| protobuf-py | 3,232 ns | 309,421 | 4.18x slower |
| google.protobuf (upb) | 1,371 ns | 729,265 | 1.77x slower |
| msgspec | 1,841 ns | 543,055 | 2.38x slower |
| msgpack | 4,495 ns | 222,454 | 5.82x slower |
| json (stdlib) | 9,938 ns | 100,628 | 12.86x slower |

### 5. Large Embedded Message Encode

| Codec / Operation | Latency (ns/op) | Throughput (ops/sec) | Wire Size (B) | vs Baseline |
|---|---:|---:|---:|---:|
| OmniBuf (Generated) | 2,078 ns | 481,295 | 39256 | 1.00x (baseline) |
| OmniBuf (@dataclass) | 1,973 ns | 506,847 | 39256 | 1.05x faster |
| protobuf-py | 3,267 ns | 306,070 | 39227 | 1.57x slower |
| google.protobuf (upb) | 2,230 ns | 448,467 | 39227 | 1.07x slower |
| msgspec | 1,885 ns | 530,427 | 39516 | 1.10x faster |
| msgpack | 3,210 ns | 311,520 | 39516 | 1.54x slower |
| json (stdlib) | 67,021 ns | 14,921 | 39752 | 32.26x slower |

### 6. Embedded Message Growth

| Codec / Operation | Latency (ns/op) | Throughput (ops/sec) | vs Baseline |
|---|---:|---:|---:|
| OmniBuf (Generated) | 2,425 ns | 412,411 | 1.00x (baseline) |
| protobuf-py | 13,727 ns | 72,850 | 5.66x slower |
| google.protobuf (upb) | 4,495 ns | 222,477 | 1.85x slower |
| msgspec | 7,133 ns | 140,190 | 2.94x slower |
| msgpack | 18,584 ns | 53,809 | 7.66x slower |
| json (stdlib) | 64,141 ns | 15,591 | 26.45x slower |
