Summary
On warm start with cached runtime code (#3214), the sequence is:
- Load DB → decode runtime code bytes
- Start services (NetworkService, SyncService, RuntimeService)
- Reach parachain Phase 2 → compile cached WASM (~200-300ms)
Compilation is pure CPU — it doesn't need network state or any service. Start compiling the moment the DB is decoded, before services are created. By the time Phase 2 runs, the compiled VM is ready.
Removes ~200-300ms from the critical path on every warm start.
Depends on
Summary
On warm start with cached runtime code (#3214), the sequence is:
Compilation is pure CPU — it doesn't need network state or any service. Start compiling the moment the DB is decoded, before services are created. By the time Phase 2 runs, the compiled VM is ready.
Removes ~200-300ms from the critical path on every warm start.
Depends on