In cloud-native containers, runtime reflection causes slow cold starts, heavy memory footprints, and AOT trimming incompatibilities. BitzOrcas.Modern enforces “Source Generator First”: all metadata resolution occurs during compilation via Roslyn incremental generators.
Roslyn Incremental Generation Flow
Native AOT Performance Benchmarks
| Metric | Traditional Monolith | BitzOrcas Native AOT | Improvement |
|---|---|---|---|
| Cold Start | 1800ms ~ 3500ms | < 45ms | 50x Faster |
| Base RSS Memory | 220MB ~ 450MB | < 38MB | 85% Reduction |
| Image Size | 280MB | < 45MB | 80% Smaller |
| P99 Latency | 15ms | < 1.8ms | Zero JIT Jitter |
Summary
Roslyn generators and Native AOT empower BitzOrcas.Modern with ultra-low latency, tiny container footprints, and cloud-native elasticity.