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 16, 2024
1 parent 82d5e70 commit 159336e
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 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/16/2024, 9:20:45 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/16/2024, 12:37:53 PM`. 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,25 +13,25 @@ You can find the benchmark script in this code: [run.ts](https://github.com/fast

| module | rps | % | oha cmd |
| :--------------------------------------------------------------------------------------------------- | ----: | ---: | :----------------------------------------------------------------- |
| [deno](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 57685 | 100% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 50840 | 88% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 50120 | 87% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 49770 | 86% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [group](https://github.com/fastrodev/fastro/blob/main/examples/group.ts) | 49019 | 85% | `oha -j --no-tui -z 10s http://localhost:8000/api/user` |
| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 47335 | 82% | `oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead` |
| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 40043 | 69% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 39541 | 69% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 35995 | 62% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_sqlite](https://github.com/fastrodev/fastro/blob/main/examples/deno_sqlite.ts) | 34780 | 60% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 34427 | 60% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_mongo](https://github.com/fastrodev/fastro/blob/main/examples/deno_mongo.ts) | 31264 | 54% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 22797 | 40% | `oha -j --no-tui -z 10s http://localhost:8000/user?name=john` |
| [oauth](https://github.com/fastrodev/fastro/blob/main/examples/oauth.ts) | 14511 | 25% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_mysql](https://github.com/fastrodev/fastro/blob/main/examples/deno_mysql.ts) | 12906 | 22% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_redis](https://github.com/fastrodev/fastro/blob/main/examples/deno_redis.ts) | 12669 | 22% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_postgres](https://github.com/fastrodev/fastro/blob/main/examples/deno_postgres.ts) | 11117 | 19% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [server_rendering](https://github.com/fastrodev/fastro/blob/main/examples/server_rendering.tsx) | 10272 | 18% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 8739 | 15% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 8601 | 15% | `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) | 6718 | 12% | `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) | 6118 | 11% | `oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico` |
| [deno](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 57268 | 100% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 50534 | 88% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [group](https://github.com/fastrodev/fastro/blob/main/examples/group.ts) | 50312 | 88% | `oha -j --no-tui -z 10s http://localhost:8000/api/user` |
| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 50278 | 88% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 50269 | 88% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 47701 | 83% | `oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead` |
| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 40215 | 70% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 39233 | 69% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 36602 | 64% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 34742 | 61% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_sqlite](https://github.com/fastrodev/fastro/blob/main/examples/deno_sqlite.ts) | 33635 | 59% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_mongo](https://github.com/fastrodev/fastro/blob/main/examples/deno_mongo.ts) | 31607 | 55% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 21773 | 38% | `oha -j --no-tui -z 10s http://localhost:8000/user?name=john` |
| [deno_postgres](https://github.com/fastrodev/fastro/blob/main/examples/deno_postgres.ts) | 12268 | 21% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_redis](https://github.com/fastrodev/fastro/blob/main/examples/deno_redis.ts) | 12244 | 21% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_mysql](https://github.com/fastrodev/fastro/blob/main/examples/deno_mysql.ts) | 12132 | 21% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [oauth](https://github.com/fastrodev/fastro/blob/main/examples/oauth.ts) | 11139 | 19% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [server_rendering](https://github.com/fastrodev/fastro/blob/main/examples/server_rendering.tsx) | 10114 | 18% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 9011 | 16% | `oha -j --no-tui -z 10s http://localhost:8000/blog/hello` |
| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 8917 | 16% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [static_file_image](https://github.com/fastrodev/fastro/blob/main/examples/static_file_image.ts) | 6584 | 11% | `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) | 5614 | 10% | `oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css` |

0 comments on commit 159336e

Please sign in to comment.