v0.5.3
Performance
- Pre-compile regex patterns — Module-level compiled constants in
vm_managerandpackage_validator(pattern compiled once at import, not per call) - Cache TypeAdapter in guest_channel —
StreamingMessageTypeAdapter built once at module level instead of per message. Eliminates 1000+ instantiations and 2 string allocations per message in the hot path
Build
- Flamegraph profiling — New
make test-flamegraph/make bench-flamegraphtargets using py-spy in speedscope format
Full Changelog: v0.5.2...v0.5.3