Skip to content

Commit

Permalink
Merge pull request #25 from janritter/chore/renovate-and-doc-changes
Browse files Browse the repository at this point in the history
Renovate config and documentation changes
  • Loading branch information
janritter committed Sep 21, 2022
2 parents 2757205 + 4007989 commit b044efd
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 7 deletions.
36 changes: 32 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,54 @@ AWS Lambda Live Tuner tests memory configurations based on real incoming events

Let's imagine we are testing a Lambda function that processes a queue, since the Lambda function is idempotent, messages that have already been processed will be successfully processed again. Using the same test event on all invocations might falsify the results because all subsequent invocations after the initial one might be way faster (event was already processed before). Using different incoming events instead helps you test the actual behavior of the Lambda.

This project is heavily inspried by the open source tool [aws-lambda-power-tuning](https://github.com/alexcasalboni/aws-lambda-power-tuning)
This project is heavily inspired by the open source tool [aws-lambda-power-tuning](https://github.com/alexcasalboni/aws-lambda-power-tuning)

## Prerequisites

- Configured AWS credentials

## Installation via Homebrew (For Mac / Linux)
## Installation

### Get the formula
### Via Homebrew (For Mac / Linux)

#### Get the formula

```bash
brew tap janritter/aws-lambda-live-tuner https://github.com/janritter/aws-lambda-live-tuner
```

### Install formula
#### Install formula

```bash
brew install aws-lambda-live-tuner
```

### Via download of pre-build binaries

1. Open the [latest release page](https://github.com/janritter/aws-lambda-live-tuner/releases/latest)
2. Download the archive with the pre-build binary for your operating system and architecture
- For Linux with amd64 architecture this would be `aws-lambda-live-tuner_<version>_linux_amd64.tar.gz`
3. Unzip the downloaded archive
4. Start using aws-lambda-live-tuner

### Via local build

This option requires go to be installed

#### Clone the repo

```bash
git clone git@github.com:janritter/aws-lambda-live-tuner.git
```

#### Build

```make
make build
```

The binary is saved in `bin` inside the project folder

## Usage

### Check help
Expand Down
6 changes: 3 additions & 3 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"github>janritter/renovatebot-config"
"local>janritter/renovate-config"
]
}
}

0 comments on commit b044efd

Please sign in to comment.