0.1.0 • Published 8 years ago

serverless-function-calibrator v0.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

Serverless Function Calibrator

serverless

This Serverless plugin helps you to select the best memorySize value for your AWS Lambda function. It does so by empirically finding which value gives the fastest execution, and which one gives the cheapest.

Install

Note: Serverless v0.5.0 or higher is required.

  • Install via npm in the root of your Serverless Project: npm install serverless-function-calibrator --save
  • In the plugins array in your s-project.json add serverless-function-calibrator
  • All done!

Usage

Important: This plugin is currently in beta, so it is highly recommended to commit changes made to your project before running, in case a bug would cause your s-function.json file to be corrupted.

serverless function calibrate <function name> [-s <stage> -r <region>]

Contributing

Contributions are welcome. Please configure your IDE to use the project's ESLint settings.

License

MIT