I have some Lambda functions written in C# running in the .NET Core 2.1 runtime in AWS. The cold start time on them is very large (>8s with 256MB, >4s with 512).
However, I'm not sure if it is just cold start time or something else; I have other lambdas that are written in dotnet and they seem to have shorter startup times.
An X-Ray trace shows a big gap between "Initilization" being completed and anything happening. I start an X-Ray subsegment on the first line of my handler (seen in the trace as "Configure").
Is there something I'm missing?