Where Serverless Cold Start Time Actually Goes
Everyone blames the platform. Most of a cold start is usually your own initialisation code, and you can measure exactly which part.
| Phase | Typical | Who owns it |
|---|---|---|
| Sandbox provisioning | 50 to 200ms | Platform |
| Runtime bootstrap | 20 to 100ms | Platform |
| Your code loading, imports | 100ms to 3s | You |
| Your init code, connections | 50ms to 2s | You |
Published on debugly.dev by Rohit Bhadani | Founder of Krova Cloud