What is a Cold Start
Node.js Vs LLRT Benchmarks
Here is the benchmark results of Node.js 20 for a Cold and Warm Start
The Cold starts in a best case (p0) would take around 1457.93 ms and the worst case of around 1678.28 ms (1.7s) before start responding
But if we see the results of LLRT
For the cold start in LLRT it would take around 48.54ms and the worst case of 85.61ms which is a 10x difference (1500ms Vs 50ms) for the p0
What Makes LLRT to be much faster
LLRT includes many AWS SDK clients and utils as part of the runtime, built into the executable. These SDK Clients have been specifically fine-tuned to offer best performance while not compromising on compatibility.
Still LLRT is an early experiment which Amazon is doing on we can see how important and valuable this faster runtime will be in the upcoming days.
Here is the LLRT repo
That's all about LLRT for now. Will catch up with new stuffs. Till then Happy Learning !!!