============================================================================
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) | 420 ns | 2,383,487 | 366 | 1.00x (baseline) |
| OmniBuf (@dataclass) | 430 ns | 2,323,633 | 366 | 1.00x (baseline) |
| protobuf-py | 958 ns | 1,043,753 | 341 | 2.28x slower |
| google.protobuf (upb) | 441 ns | 2,268,487 | 341 | 1.05x slower |
| msgspec | 637 ns | 1,568,910 | 634 | 1.52x slower |
| msgpack | 1,698 ns | 588,929 | 634 | 4.05x slower |
| json (stdlib) | 4,911 ns | 203,645 | 874 | 11.70x slower |

### 2. Full Message Decode Speed

| Codec / Operation | Latency (ns/op) | Throughput (ops/sec) | vs Baseline |
|---|---:|---:|---:|
| OmniBuf (Generated) | 2,117 ns | 472,272 | 1.00x (baseline) |
| OmniBuf (@dataclass) | 2,054 ns | 486,787 | 1.00x (baseline) |
| protobuf-py | 3,199 ns | 312,554 | 1.51x slower |
| google.protobuf (upb) | 4,676 ns | 213,849 | 2.21x slower |
| msgspec | 2,201 ns | 454,270 | 1.04x slower |
| msgpack | 4,170 ns | 239,793 | 1.97x slower |
| json (stdlib) | 6,247 ns | 160,087 | 2.95x slower |

### 3. Read a Single Nested Field

| Codec / Operation | Latency (ns/op) | Throughput (ops/sec) | vs Baseline |
|---|---:|---:|---:|
| OmniBuf (Generated) | 519 ns | 1,926,316 | 1.00x (baseline) |
| protobuf-py | 2,183 ns | 458,188 | 4.20x slower |
| google.protobuf (upb) | 798 ns | 1,253,674 | 1.54x slower |
| msgspec | 1,185 ns | 843,785 | 2.28x slower |
| msgpack | 2,795 ns | 357,803 | 5.38x slower |
| json (stdlib) | 4,905 ns | 203,854 | 9.45x slower |

### 4. Selective Single-Field Mutation

| Codec / Operation | Latency (ns/op) | Throughput (ops/sec) | vs Baseline |
|---|---:|---:|---:|
| OmniBuf (Generated) | 823 ns | 1,215,231 | 1.00x (baseline) |
| protobuf-py | 3,255 ns | 307,238 | 3.96x slower |
| google.protobuf (upb) | 1,373 ns | 728,556 | 1.67x slower |
| msgspec | 1,854 ns | 539,506 | 2.25x slower |
| msgpack | 4,626 ns | 216,191 | 5.62x slower |
| json (stdlib) | 10,061 ns | 99,393 | 12.23x slower |

### 5. Large Embedded Message Encode

| Codec / Operation | Latency (ns/op) | Throughput (ops/sec) | Wire Size (B) | vs Baseline |
|---|---:|---:|---:|---:|
| OmniBuf (Generated) | 2,203 ns | 454,002 | 39256 | 1.00x (baseline) |
| OmniBuf (@dataclass) | 2,186 ns | 457,496 | 39256 | 1.00x (baseline) |
| protobuf-py | 3,398 ns | 294,295 | 39227 | 1.54x slower |
| google.protobuf (upb) | 2,254 ns | 443,743 | 39227 | 1.00x (baseline) |
| msgspec | 1,893 ns | 528,320 | 39516 | 1.16x faster |
| msgpack | 3,306 ns | 302,513 | 39516 | 1.50x slower |
| json (stdlib) | 69,407 ns | 14,408 | 39752 | 31.51x slower |

### 6. Embedded Message Growth

| Codec / Operation | Latency (ns/op) | Throughput (ops/sec) | vs Baseline |
|---|---:|---:|---:|
| OmniBuf (Generated) | 2,606 ns | 383,767 | 1.00x (baseline) |
| protobuf-py | 14,033 ns | 71,261 | 5.39x slower |
| google.protobuf (upb) | 4,689 ns | 213,247 | 1.80x slower |
| msgspec | 7,222 ns | 138,466 | 2.77x slower |
| msgpack | 19,173 ns | 52,157 | 7.36x slower |
| json (stdlib) | 64,748 ns | 15,445 | 24.85x slower |
