GithubHelp home page GithubHelp logo

isabella232 / lambda-memory-performance-benchmark Goto Github PK

View Code? Open in Web Editor NEW

This project forked from epsagon/lambda-memory-performance-benchmark

0.0 0.0 0.0 129 KB

Performance and cost benchmark tool for AWS Lambda on memory sizes ๐Ÿ“ˆโฑ

Home Page: http://blog.epsagon.com/how-to-make-lambda-faster-memory-performance-benchmark

License: MIT License

Python 100.00%

lambda-memory-performance-benchmark's Introduction

AWS Lambda Memory Performance Benchmark

Motivation

  • Understand how RAM selection affect Lambda's performance (on Medium).
  • Code a tool that measures Lambda function performance (duration and cost) with several memory sizes.

Setup

git clone [email protected]:epsagon/lambda-memory-performance-benchmark.git
cd lambda-memory-performance-benchmark/
pip install -r requirements.txt
python benchmark.py -f <function_name> -r <function_region> -p <payload_filename>

Usage

Basic run:

python benchmark.py -f lambda-performance-benchmark -r us-east-1 -p fibonacci-function/payload.json

Fibonacci's Last Result (February 9th, 2018)

Chart:

https://github.com/epsagon/lambda-memory-performance-benchmark/blob/master/fibonacci-function/performance_chart.png

Table:

Memory Size Duration (in ms) Price Per 1M Invocations (in $)
128MB 376.05 0.832
192MB 250.24 0.939
256MB 198.56 0.834
512MB 98.36 0.834
768MB 65.48 1.250
1024MB 45.31 1.667
1536MB 30.53 2.501
2048MB 25.21 3.334
2560MB 25.36 4.168
3008MB 25.15 4.897

lambda-memory-performance-benchmark's People

Contributors

martysweet avatar ranrib avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.