JSPM

serverless-function-calibrator

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q18765F
  • License MIT

A Serverless plugin that helps you select the best memorySize value for your AWS Lambda function

Package Exports

  • serverless-function-calibrator

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (serverless-function-calibrator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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