Skip to content

Commit

Permalink
update benchmarks (#161)
Browse files Browse the repository at this point in the history
<!-- CLICK "Preview" FOR INSTRUCTIONS IN A MORE READABLE FORMAT -->

## Proposed changes

Describe the big picture of your changes here to communicate to the 
maintainers why we should accept this pull request. If it fixes a bug 
or resolves a feature request, be sure to link to that issue.

## Types of changes

What types of changes does your code introduce?

_Put an `x` in the boxes that apply_

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)

## Checklist

_Put an `x` in the boxes that apply. You can also fill these out after 
creating the PR. If you're unsure about any of them, don't hesitate to
ask.
We're here to help! This is simply a reminder of what we are going to
look
for before merging your code._

- [ ] I have read the
[CONTRIBUTING](https://github.com/AthennaIO/Docs/blob/master/CONTRIBUTING.md)
documentation
- [ ] Lint and unit tests pass locally with my changes
- [ ] I have added tests that prove my fix is effective or that my
feature works.
- [ ] I have added necessary documentation (if appropriate)

## Further comments

If this is a relatively large or complex change, kick off the discussion
by
explaining why you chose the solution you did and what alternatives you 
considered, etc...
  • Loading branch information
jlenon7 committed Jan 7, 2024
1 parent c3e0bec commit 8046696
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions docs/introduction/benchmarks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,21 @@ The environment used to run the benchmarks:

```shell title="npx envinfo --system --binaries"
System:
OS: macOS 13.3.1
CPU: (8) arm64 Apple M1 Pro
Memory: 107.38 MB / 16.00 GB
Shell: 5.9 - /opt/homebrew/bin/zsh
Binaries: Node: 18.14.2 - ~/.nvm/versions/node/v18.14.2/bin/node
npm: 9.5.0 - ~/.nvm/versions/node/v18.14.2/bin/npm
OS: macOS 12.2.1
CPU: (8) arm64 Apple M1
Memory: 456.81 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 20.8.1 - ~/.nvm/versions/node/v20.8.1/bin/node
npm: 10.1.0 - ~/.nvm/versions/node/v20.8.1/bin/npm
```

## Results

| Framework | Version | Requests/sec |
|:----------|:-------:|-------------:|
| Fastify | 4.15.0 | 89974.4 |
| Athenna | 4.4.0 | 83897.4 |
| AdonisJS | 5.0.0 | 67953.6 |
| Express | 4.18.2 | 21850.2 |
| NestJS | 9.0.0 | 20019.6 |
| Fastify | 4.24.3 | 121.288 |
| Athenna | 4.16.0 | 102.462 |
| AdonisJS | 5.0.0 | 85.364 |
| Express | 4.18.2 | 22.324 |
| NestJS | 9.0.0 | 21.158 |

0 comments on commit 8046696

Please sign in to comment.