
Measure first
We added tracing to every launch phase and found that loading extensions took two thirds of the time.
Cache the index
The command index now lives on disk and is rebuilt only when an extension changes. Cold start went from 180 ms to 46 ms.