Skip to content

Commit

Permalink
Merge pull request #40 from aristotelesbr/development
Browse files Browse the repository at this point in the history
docs: add link to graphs
  • Loading branch information
aristotelesbr authored Jan 19, 2024
2 parents 8c3eb65 + 6b8e39b commit 49f529f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion guides/performance/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ This document contains the benchmarks comparing **Lennarb** with other routers b

### 1. Requests per Second (RPS)

![RPS](https://raw.githubusercontent.com/aristotelesbr/lennarb/main/benchmark/rps.png)

| Position | Application | 10 RPS | 100 RPS | 1.000 RPS | 10.000 RPS |
| -------- | ----------- | ---------- | ---------- | --------- | ---------- |
| 1 | Lenna | 126.252,36 | 108.086,55 | 87.111,91 | 68.460,64 |
Expand All @@ -19,6 +21,8 @@ This table ranks the routers by the number of requests they can process per seco

### 2. Initial memory usage (in KB)

![Memory](https://raw.githubusercontent.com/aristotelesbr/lennarb/main/benchmark/memory.png)

| Position | Application | 10 KB | 100 KB | 1.000 KB | 10.000 KB |
| -------- | ----------- | ------ | ------ | -------- | --------- |
| 1 | Syro | 12,160 | 12,544 | 16,460 | 49,692 |
Expand All @@ -30,6 +34,8 @@ This table shows the initial memory usage in KB. Lower values indicate lower mem

### 3. Startup time (in seconds)

![Startup](https://raw.githubusercontent.com/aristotelesbr/lennarb/main/benchmark/runtime_with_startup.png)

| Position | Application | 10 seg | 100 seg | 1.000 seg | 10.000 seg |
| -------- | ----------- | ------ | ------- | --------- | ---------- |
| 1 | Syro | 0.274 | 0.347 | 0.455 | 0.997 |
Expand Down Expand Up @@ -70,7 +76,6 @@ $ touch r10k/builders/lennarb.rb
Put the code below into `lennarb.rb` file:

```rb

# frozen_string_literal: true

# Released under the MIT License.
Expand Down
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ end

### 1. Requests per Second (RPS)

![RPS](https://raw.githubusercontent.com/aristotelesbr/lennarb/main/benchmark/rps.png)

See all [graphs](https://github.com/aristotelesbr/lennarb/blob/main/benchmark)

| Position | Application | 10 RPS | 100 RPS | 1.000 RPS | 10.000 RPS |
| -------- | ----------- | ---------- | ---------- | --------- | ---------- |
| 1 | Lenna | 126.252,36 | 108.086,55 | 87.111,91 | 68.460,64 |
Expand Down

0 comments on commit 49f529f

Please sign in to comment.