From 417c58a64115850a13b7a87294e31cc19e4c22d6 Mon Sep 17 00:00:00 2001 From: jlenon7 Date: Sun, 7 Jan 2024 15:11:27 +0000 Subject: [PATCH 1/2] fix(facades): adjust path to Database facade --- docs/architecture-concepts/facades.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/architecture-concepts/facades.mdx b/docs/architecture-concepts/facades.mdx index b5eff25e..e70037bd 100644 --- a/docs/architecture-concepts/facades.mdx +++ b/docs/architecture-concepts/facades.mdx @@ -126,7 +126,7 @@ The service container binding key is also included where applicable. | [Mail](https://github.com/AthennaIO/Mail/blob/develop/src/facades/Mail.ts) | [MailImpl](https://github.com/AthennaIO/Mail/blob/develop/src/mail/MailImpl.ts) | Athenna/Core/Mail | | [View](https://github.com/AthennaIO/View/blob/develop/src/facades/View.ts) | [ViewImpl](https://github.com/AthennaIO/View/blob/develop/src/views/ViewImpl.ts) | Athenna/Core/View | | [Artisan](https://github.com/AthennaIO/Artisan/blob/develop/src/facades/Artisan.ts) | [ArtisanImpl](https://github.com/AthennaIO/Artisan/blob/develop/src/artisan/ArtisanImpl.ts) | Athenna/Core/Artisan | -| [Database](https://github.com/AthennaIO/Artisan/blob/develop/src/facades/Artisan.ts) | [DatabaseImpl](https://github.com/AthennaIO/Database/blob/develop/src/database/DatabaseImpl.ts) | Athenna/Core/Database | +| [Database](https://github.com/AthennaIO/Database/blob/develop/src/facades/Database.ts) | [DatabaseImpl](https://github.com/AthennaIO/Database/blob/develop/src/database/DatabaseImpl.ts) | Athenna/Core/Database | ## Writing facades From 59db84b3cba01f3a4b596900dca9988244b8d721 Mon Sep 17 00:00:00 2001 From: jlenon7 Date: Sun, 7 Jan 2024 15:41:52 +0000 Subject: [PATCH 2/2] feat(benchmarks): update benchmark with new Athenna version --- docs/introduction/benchmarks.mdx | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/docs/introduction/benchmarks.mdx b/docs/introduction/benchmarks.mdx index 86d77800..7afaeeef 100644 --- a/docs/introduction/benchmarks.mdx +++ b/docs/introduction/benchmarks.mdx @@ -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 |