Skip to content

Commit

Permalink
Add changes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 29, 2024
1 parent 940e52d commit 0ec15b3
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions docs/benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: This is the final output of an internal benchmark run in github act
image: https://fastro.dev/fastro.png
---

This is the final output of an internal benchmark run in [github action](https://github.com/fastrodev/fastro/actions) on `9/28/2024, 10:26:29 AM`. It consists of several simple applications for [specific purpose](https://github.com/fastrodev/fastro/blob/main/deno.json). Each is then accessed by the [OHA](https://github.com/hatoo/oha) within 10s. The results are then sorted by the fastest.
This is the final output of an internal benchmark run in [github action](https://github.com/fastrodev/fastro/actions) on `9/29/2024, 3:56:50 AM`. It consists of several simple applications for [specific purpose](https://github.com/fastrodev/fastro/blob/main/deno.json). Each is then accessed by the [OHA](https://github.com/hatoo/oha) within 10s. The results are then sorted by the fastest.

You can find the benchmark script in this code: [run.ts](https://github.com/fastrodev/fastro/blob/main/bench/run.ts)

Expand All @@ -13,26 +13,26 @@ You can find the benchmark script in this code: [run.ts](https://github.com/fast

| module | rps | % | oha cmd |
| :--------------------------------------------------------------------------------------------------- | ----: | ---: | :----------------------------------------------------------------- |
| [deno_sqlite](https://github.com/fastrodev/fastro/blob/main/examples/deno_sqlite.ts) | 69208 | 100% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 57371 | 83% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 52735 | 76% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 52478 | 76% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [group](https://github.com/fastrodev/fastro/blob/main/examples/group.ts) | 52386 | 76% | `oha -j --no-tui -z 10s http://localhost:8000/api/user` |
| [store](https://github.com/fastrodev/fastro/blob/main/examples/store.ts) | 51911 | 75% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 51811 | 75% | `oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead` |
| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 50404 | 73% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 42774 | 62% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 41247 | 60% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 40709 | 59% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 37476 | 54% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 35116 | 51% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 24202 | 35% | `oha -j --no-tui -z 10s http://localhost:8000/user?name=john` |
| [deno_mongo](https://github.com/fastrodev/fastro/blob/main/examples/deno_mongo.ts) | 17491 | 25% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [oauth](https://github.com/fastrodev/fastro/blob/main/examples/oauth.ts) | 15708 | 23% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_redis](https://github.com/fastrodev/fastro/blob/main/examples/deno_redis.ts) | 15372 | 22% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_postgres](https://github.com/fastrodev/fastro/blob/main/examples/deno_postgres.ts) | 12780 | 18% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [server_rendering](https://github.com/fastrodev/fastro/blob/main/examples/server_rendering.tsx) | 12344 | 18% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_mysql](https://github.com/fastrodev/fastro/blob/main/examples/deno_mysql.ts) | 10606 | 15% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 9242 | 13% | `oha -j --no-tui -z 10s http://localhost:8000/blog/hello` |
| [static_file_string](https://github.com/fastrodev/fastro/blob/main/examples/static_file_string.ts) | 7716 | 11% | `oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css` |
| [static_file_image](https://github.com/fastrodev/fastro/blob/main/examples/static_file_image.ts) | 7290 | 11% | `oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico` |
| [deno_sqlite](https://github.com/fastrodev/fastro/blob/main/examples/deno_sqlite.ts) | 68342 | 100% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 56868 | 83% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 54968 | 80% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 54755 | 80% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [group](https://github.com/fastrodev/fastro/blob/main/examples/group.ts) | 53985 | 79% | `oha -j --no-tui -z 10s http://localhost:8000/api/user` |
| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 53720 | 79% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 53211 | 78% | `oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead` |
| [store](https://github.com/fastrodev/fastro/blob/main/examples/store.ts) | 50358 | 74% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 46431 | 68% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 41466 | 61% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 41145 | 60% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 37255 | 55% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 35967 | 53% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 24229 | 35% | `oha -j --no-tui -z 10s http://localhost:8000/user?name=john` |
| [deno_mongo](https://github.com/fastrodev/fastro/blob/main/examples/deno_mongo.ts) | 16211 | 24% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_postgres](https://github.com/fastrodev/fastro/blob/main/examples/deno_postgres.ts) | 15937 | 23% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_redis](https://github.com/fastrodev/fastro/blob/main/examples/deno_redis.ts) | 14034 | 21% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [server_rendering](https://github.com/fastrodev/fastro/blob/main/examples/server_rendering.tsx) | 12969 | 19% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [oauth](https://github.com/fastrodev/fastro/blob/main/examples/oauth.ts) | 11702 | 17% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_mysql](https://github.com/fastrodev/fastro/blob/main/examples/deno_mysql.ts) | 11324 | 17% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 10795 | 16% | `oha -j --no-tui -z 10s http://localhost:8000/blog/hello` |
| [static_file_image](https://github.com/fastrodev/fastro/blob/main/examples/static_file_image.ts) | 9079 | 13% | `oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico` |
| [static_file_string](https://github.com/fastrodev/fastro/blob/main/examples/static_file_string.ts) | 9069 | 13% | `oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css` |

0 comments on commit 0ec15b3

Please sign in to comment.