Skip to content

λperf is a tool for measuring AWS Lambda performance.

License

Notifications You must be signed in to change notification settings

Zahidul-Islam/lambda-perf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

λperf

λperf is a CLI tool for measuring aws lambda performance. It provides a flexible facility for generating various workloads and perform synchronous and asynchronous lambda invocation.

The focus of λperf is make aws lambda load testing easier when the function have no REST endpoint.

Install

  • Clone the repo: git clone git@github.com:Zahidul-Islam/lambda-perf.git && cd lambda-perf
  • Rename the .env.template file: mv .env.template .env
  • Install pacages: npm i
  • Symlink the package folder: npm link

Usage

$ lperf --help
Usage: lperf [options] [command]

Options:
  -V, --version            output the version number
  -h, --help               output usage information

Commands:
  list|ls [options]        list all lambda functions
  create [options]         create load tests
  delete|del [options]     delete lambda alias
  exectute|exec [options]  execute load tests

Examples:
  $ lperf ls -r us-east-x
  $ lperf create --arn arn:aws:lambda:us-east-x:xxxxxxxx:function:lambda-function-name -n 5 -p false -d '{ "key": "value" }'
  $ lperf delete --arn arn:aws:lambda:us-east-x:xxxxxxxx:function:lambda-function-name
  $ lperf exec --arn arn:aws:lambda:us-east-x:xxxxxxxx:function:lambda-function-name -n 5 -p true

About

λperf is a tool for measuring AWS Lambda performance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published