AWS Lambda Power Tuning invokes your function across memory settings in your AWS account and charts cost versus duration tradeoffs.
Overview
AWS Lambda Power Tuning is an open-source Step Functions workflow that benchmarks an Lambda function at multiple memory sizes between chosen limits. It runs inside the operator’s AWS account and can perform real invocations, including network calls and cold starts.
After test invocations, the state machine analyzes execution logs and recommends a power configuration oriented toward cost, speed, or a balanced strategy. Optional output includes per-memory statistics when enabled.
Deployment uses AWS SAM with Docker-based builds by default; CloudFormation parameters configure visualization URLs. Operators trigger runs manually or programmatically with a function ARN and invocation count.
A community visualization UI can plot results without storing shared data. The tool is language-agnostic and intended for teams optimizing Lambda cost and latency with measured data.
Key features
- Step Functions state machine
- Multi-memory benchmark sweeps
- Cost and duration charts
- SAM CLI deployment
- Programmatic execution input
- Cross-region invocation support
- Optional result visualization UI
Use cases
- Lambda cost optimization
- Latency tuning for functions
- Capacity planning experiments