Skip to content

lewisstevens1/lambda-perf-testing

Repository files navigation

Lambda Perf Testing

This is a fork of the following repos: https://github.com/epsagon/lambda-memory-performance-benchmark

Changes

  • Removed the payload flag on the function.
  • Created multiple payload files of varied sizes (sm, md, lg).
  • Allowed it to iterate through all payloads into a merged csv file.
  • Removed alot of the console logging and just use the output results.csv file.
  • Removed unnessisary test serverless file.
  • Updating pricing to ireland/london values.

Setup

git clone [email protected]:lewisstevens1/lambda-perf-testing.git
cd lambda-perf-testing/
pip install -r requirements.txt
python benchmark.py -f <function_name> -r <function_region> [--profile=<profile_name>]

Usage

Basic run:

python benchmark.py -f name-of-lambda -r eu-west-2

Export Example

Chart:

https://github.com/lewisstevens1/lambda-perf-testing/blob/master/fibonacci-function/performance_chart.png

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages