Skill 4.3.2
Profile application performance
Key Concepts
X-Ray traces and custom subsegments show the time spent in each downstream call and in named sections of code, and CloudWatch Lambda Insights shows CPU, memory and network usage per function. CloudWatch Application Signals adds latency percentiles per operation, which identify the slowest operations worth optimising.
Lambda's REPORT log line records duration, billed duration, memory size, maximum memory used and init duration for every invocation, which together reveal cold starts and over- or under-provisioned memory.