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 17, 2024
1 parent 1a7a211 commit 1df518a
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/16/2024, 3:18:36 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.
This is the final output of an internal benchmark run in [github action](https://github.com/fastrodev/fastro/actions) on `9/17/2024, 9:08:42 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](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 60219 | 100% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 51089 | 85% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 50865 | 84% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 50506 | 84% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [group](https://github.com/fastrodev/fastro/blob/main/examples/group.ts) | 50490 | 84% | `oha -j --no-tui -z 10s http://localhost:8000/api/user` |
| [store](https://github.com/fastrodev/fastro/blob/main/examples/store.ts) | 49174 | 82% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 48221 | 80% | `oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead` |
| [deno_mongo](https://github.com/fastrodev/fastro/blob/main/examples/deno_mongo.ts) | 43632 | 72% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 40906 | 68% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 40286 | 67% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 36765 | 61% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_sqlite](https://github.com/fastrodev/fastro/blob/main/examples/deno_sqlite.ts) | 35310 | 59% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 34876 | 58% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 21804 | 36% | `oha -j --no-tui -z 10s http://localhost:8000/user?name=john` |
| [deno_redis](https://github.com/fastrodev/fastro/blob/main/examples/deno_redis.ts) | 12915 | 21% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [oauth](https://github.com/fastrodev/fastro/blob/main/examples/oauth.ts) | 12717 | 21% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_mysql](https://github.com/fastrodev/fastro/blob/main/examples/deno_mysql.ts) | 11697 | 19% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_postgres](https://github.com/fastrodev/fastro/blob/main/examples/deno_postgres.ts) | 10873 | 18% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [server_rendering](https://github.com/fastrodev/fastro/blob/main/examples/server_rendering.tsx) | 9906 | 16% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 9101 | 15% | `oha -j --no-tui -z 10s http://localhost:8000/blog/hello` |
| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 8486 | 14% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [static_file_string](https://github.com/fastrodev/fastro/blob/main/examples/static_file_string.ts) | 6393 | 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) | 6172 | 10% | `oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico` |
| [deno](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 55402 | 100% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 50130 | 90% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [group](https://github.com/fastrodev/fastro/blob/main/examples/group.ts) | 49578 | 89% | `oha -j --no-tui -z 10s http://localhost:8000/api/user` |
| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 49396 | 89% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [store](https://github.com/fastrodev/fastro/blob/main/examples/store.ts) | 49393 | 89% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 49062 | 89% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 46929 | 85% | `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) | 39480 | 71% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 39362 | 71% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 36255 | 65% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_sqlite](https://github.com/fastrodev/fastro/blob/main/examples/deno_sqlite.ts) | 34772 | 63% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 34290 | 62% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_mongo](https://github.com/fastrodev/fastro/blob/main/examples/deno_mongo.ts) | 32136 | 58% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 23401 | 42% | `oha -j --no-tui -z 10s http://localhost:8000/user?name=john` |
| [deno_mysql](https://github.com/fastrodev/fastro/blob/main/examples/deno_mysql.ts) | 14284 | 26% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_redis](https://github.com/fastrodev/fastro/blob/main/examples/deno_redis.ts) | 13736 | 25% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [server_rendering](https://github.com/fastrodev/fastro/blob/main/examples/server_rendering.tsx) | 10661 | 19% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [deno_postgres](https://github.com/fastrodev/fastro/blob/main/examples/deno_postgres.ts) | 10533 | 19% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [oauth](https://github.com/fastrodev/fastro/blob/main/examples/oauth.ts) | 9562 | 17% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 8843 | 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) | 8227 | 15% | `oha -j --no-tui -z 10s http://localhost:8000` |
| [static_file_string](https://github.com/fastrodev/fastro/blob/main/examples/static_file_string.ts) | 5873 | 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) | 5765 | 10% | `oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico` |

0 comments on commit 1df518a

Please sign in to comment.