alexcasalboni / aws-lambda-power-tuning

AWS Lambda Power Tuning is an open-source tool that can help you visualize and fine-tune the memory/power configuration of Lambda functions. It runs in your own AWS account - powered by AWS Step Functions - and it supports three optimization strategies: cost, speed, and balanced.
Apache License 2.0
5.27k stars 362 forks source link

Add optional input parameter to include all results in the output #231

Closed andrestoll closed 4 months ago

andrestoll commented 5 months ago

By setting includeOutputResults to true all stats will be shown in the output.

image

alexcasalboni commented 5 months ago

@andrestoll thanks, this is great 🙏 🚀

I think it'd make sense to remove totalCost from the output, since it doesn't add much value and could be confusing (you need to know the value of num to make sense of it).

For context, totalCost is only used to compute the stateMachine.lambdaCost output (as the total Lambda cost incurred during the power-tuning process).

andrestoll commented 4 months ago

@andrestoll thanks, this is great 🙏 🚀

I think it'd make sense to remove totalCost from the output, since it doesn't add much value and could be confusing (you need to know the value of num to make sense of it).

For context, totalCost is only used to compute the stateMachine.lambdaCost output (as the total Lambda cost incurred during the power-tuning process).

image

alexcasalboni commented 4 months ago

I've applied a couple of minor edits.

Merging this now 🚀 🎉

Thank you again for contributing @andrestoll 🙏