Socket
Socket
Sign inDemoInstall

serverless-function-calibrator

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    serverless-function-calibrator

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


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 30 Jul 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc