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 Oct 5, 2024
1 parent d5d7037 commit 07a1725
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/29/2024, 7:17:46 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 `10/5/2024, 8:40:04 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) | 68230 | 100% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 57191 | 84% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 54905 | 80% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [group](https://github.com/fastrodev/fastro/blob/main/examples/group.ts) | 54221 | 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) | 53508 | 78% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 53132 | 78% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [store](https://github.com/fastrodev/fastro/blob/main/examples/store.ts) | 52182 | 76% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 51767 | 76% | `oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead` |
| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 44508 | 65% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 41319 | 61% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 41013 | 60% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 37070 | 54% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 35659 | 52% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 24462 | 36% | `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) | 17148 | 25% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_postgres](https://github.com/fastrodev/fastro/blob/main/examples/deno_postgres.ts) | 16034 | 23% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_redis](https://github.com/fastrodev/fastro/blob/main/examples/deno_redis.ts) | 15971 | 23% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [server_rendering](https://github.com/fastrodev/fastro/blob/main/examples/server_rendering.tsx) | 13526 | 20% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [oauth](https://github.com/fastrodev/fastro/blob/main/examples/oauth.ts) | 13285 | 19% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_mysql](https://github.com/fastrodev/fastro/blob/main/examples/deno_mysql.ts) | 10948 | 16% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 10390 | 15% | `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) | 8452 | 12% | `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) | 7950 | 12% | `oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css` |
| [deno_sqlite](https://github.com/fastrodev/fastro/blob/main/examples/deno_sqlite.ts) | 69560 | 100% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 56502 | 81% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 55703 | 80% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 55156 | 79% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 53849 | 77% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [group](https://github.com/fastrodev/fastro/blob/main/examples/group.ts) | 52489 | 75% | `oha -j --no-tui -z 10s http://localhost:8000/api/user` |
| [store](https://github.com/fastrodev/fastro/blob/main/examples/store.ts) | 51289 | 74% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 51254 | 74% | `oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead` |
| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 41623 | 60% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 41038 | 59% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 40823 | 59% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 37493 | 54% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 34535 | 50% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [oauth](https://github.com/fastrodev/fastro/blob/main/examples/oauth.ts) | 24758 | 36% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 23934 | 34% | `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) | 21649 | 31% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_postgres](https://github.com/fastrodev/fastro/blob/main/examples/deno_postgres.ts) | 14978 | 22% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_redis](https://github.com/fastrodev/fastro/blob/main/examples/deno_redis.ts) | 14399 | 21% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [server_rendering](https://github.com/fastrodev/fastro/blob/main/examples/server_rendering.tsx) | 12820 | 18% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_mysql](https://github.com/fastrodev/fastro/blob/main/examples/deno_mysql.ts) | 12355 | 18% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 10301 | 15% | `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) | 9075 | 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) | 8220 | 12% | `oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css` |

0 comments on commit 07a1725

Please sign in to comment.