The release of .NET 7 brings with it a new way to compile and run .NET code - native AOT compilation. This post compares the cold start time of a Lambda function running on .NET 7 after native AOT compilation with the cold start time of a Lambda function running on .NET 6 with the managed runtime. The results are surprisingly good.