Skip to content

Commit

Permalink
chore: autopublish Tue Oct 31 18:09:03 UTC 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 31, 2023
1 parent fbd2cb2 commit fb8e325
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 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/static/image.png
---

This is the final output of an internal benchmark run in [github action](https://github.com/fastrodev/fastro/actions) on `10/31/2023, 12:11:41 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 5 seconds. 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/31/2023, 6:09:03 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 5 seconds. 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,22 +13,22 @@ 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) | 62042 | 100% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [register](https://github.com/fastrodev/fastro/blob/main/examples/register.ts) | 61150 | 99% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 60058 | 97% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 58977 | 95% | `oha -j --no-tui -z 5s http://localhost:8000/agus?title=lead` |
| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 58198 | 94% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 57862 | 93% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 55924 | 90% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 55584 | 90% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [record](https://github.com/fastrodev/fastro/blob/main/examples/record.ts) | 53308 | 86% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 47410 | 76% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 25140 | 41% | `oha -j --no-tui -z 5s http://localhost:8000/hello` |
| [static_file_string](https://github.com/fastrodev/fastro/blob/main/examples/static_file_string.ts) | 22930 | 37% | `oha -j --no-tui -z 5s http://localhost:8000/static/post.css` |
| [ssr](https://github.com/fastrodev/fastro/blob/main/examples/ssr.ts) | 20096 | 32% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 18264 | 29% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [raw_jsx](https://github.com/fastrodev/fastro/blob/main/examples/raw_jsx.tsx) | 16821 | 27% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 16361 | 26% | `oha -j --no-tui -z 5s http://localhost:8000/user?name=john` |
| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 13436 | 22% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [hook](https://github.com/fastrodev/fastro/blob/main/examples/hook.ts) | 3376 | 5% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [static_file_image](https://github.com/fastrodev/fastro/blob/main/examples/static_file_image.ts) | 2789 | 4% | `oha -j --no-tui -z 5s http://localhost:8000/static/image.png` |
| [deno](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 36907 | 100% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 35987 | 98% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 35012 | 95% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 34812 | 94% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 34722 | 94% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [register](https://github.com/fastrodev/fastro/blob/main/examples/register.ts) | 34714 | 94% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 32683 | 89% | `oha -j --no-tui -z 5s http://localhost:8000/agus?title=lead` |
| [record](https://github.com/fastrodev/fastro/blob/main/examples/record.ts) | 32042 | 87% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 31465 | 85% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 27786 | 75% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 16824 | 46% | `oha -j --no-tui -z 5s http://localhost:8000/hello` |
| [static_file_string](https://github.com/fastrodev/fastro/blob/main/examples/static_file_string.ts) | 15799 | 43% | `oha -j --no-tui -z 5s http://localhost:8000/static/post.css` |
| [ssr](https://github.com/fastrodev/fastro/blob/main/examples/ssr.ts) | 15145 | 41% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [raw_jsx](https://github.com/fastrodev/fastro/blob/main/examples/raw_jsx.tsx) | 11475 | 31% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 11052 | 30% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 8976 | 24% | `oha -j --no-tui -z 5s http://localhost:8000/user?name=john` |
| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 5982 | 16% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [hook](https://github.com/fastrodev/fastro/blob/main/examples/hook.ts) | 2823 | 8% | `oha -j --no-tui -z 5s http://localhost:8000` |
| [static_file_image](https://github.com/fastrodev/fastro/blob/main/examples/static_file_image.ts) | 1612 | 4% | `oha -j --no-tui -z 5s http://localhost:8000/static/image.png` |

0 comments on commit fb8e325

Please sign in to comment.