Engineering

How we made cold start 4× faster

Tomás Reyes

·

·

8 min read

server rack dark

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.

Create a free website with Framer, the website builder loved by startups, designers and agencies.