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 Aug 13, 2024
1 parent 971da79 commit d6ee1c6
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 `8/13/2024, 12:55:19 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 `8/13/2024, 1:03:05 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,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) | 53085 | 100% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [group](https://github.com/fastrodev/fastro/blob/main/examples/group.ts) | 51005 | 96% | `oha -j --no-tui -z 10s http://localhost:8000/api/user` |
| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 49084 | 92% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 48687 | 92% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 48418 | 91% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 48153 | 91% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 48138 | 91% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 46691 | 88% | `oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead` |
| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 44500 | 84% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 41708 | 79% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_sqlite](https://github.com/fastrodev/fastro/blob/main/examples/deno_sqlite.ts) | 34810 | 66% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [server_rendering](https://github.com/fastrodev/fastro/blob/main/examples/server_rendering.tsx) | 29791 | 56% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_postgres](https://github.com/fastrodev/fastro/blob/main/examples/deno_postgres.ts) | 25594 | 48% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 19630 | 37% | `oha -j --no-tui -z 10s http://localhost:8000/user?name=john` |
| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 14928 | 28% | `oha -j --no-tui -z 10s http://localhost:8000/blog/hello` |
| [deno_redis](https://github.com/fastrodev/fastro/blob/main/examples/deno_redis.ts) | 11422 | 22% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_mongo](https://github.com/fastrodev/fastro/blob/main/examples/deno_mongo.ts) | 11071 | 21% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [oauth](https://github.com/fastrodev/fastro/blob/main/examples/oauth.ts) | 8835 | 17% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_mysql](https://github.com/fastrodev/fastro/blob/main/examples/deno_mysql.ts) | 8022 | 15% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 4655 | 9% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [static_file_string](https://github.com/fastrodev/fastro/blob/main/examples/static_file_string.ts) | 2071 | 4% | `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) | 1550 | 3% | `oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico` |
| [deno](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 56078 | 100% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 50212 | 90% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [group](https://github.com/fastrodev/fastro/blob/main/examples/group.ts) | 49559 | 88% | `oha -j --no-tui -z 10s http://localhost:8000/api/user` |
| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 49213 | 88% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 48885 | 87% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 48601 | 87% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 47849 | 85% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 46731 | 83% | `oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead` |
| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 45439 | 81% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 41834 | 75% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_sqlite](https://github.com/fastrodev/fastro/blob/main/examples/deno_sqlite.ts) | 35141 | 63% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_redis](https://github.com/fastrodev/fastro/blob/main/examples/deno_redis.ts) | 27822 | 50% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [server_rendering](https://github.com/fastrodev/fastro/blob/main/examples/server_rendering.tsx) | 24434 | 44% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 19493 | 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) | 19200 | 34% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 9246 | 16% | `oha -j --no-tui -z 10s http://localhost:8000/blog/hello` |
| [deno_mysql](https://github.com/fastrodev/fastro/blob/main/examples/deno_mysql.ts) | 7987 | 14% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_postgres](https://github.com/fastrodev/fastro/blob/main/examples/deno_postgres.ts) | 7181 | 13% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [oauth](https://github.com/fastrodev/fastro/blob/main/examples/oauth.ts) | 5781 | 10% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 4616 | 8% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [static_file_string](https://github.com/fastrodev/fastro/blob/main/examples/static_file_string.ts) | 2099 | 4% | `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) | 1600 | 3% | `oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico` |

0 comments on commit d6ee1c6

Please sign in to comment.