From d6ee1c644b32a0b2ab9b8ca1c1e55ca97906da93 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 13 Aug 2024 01:03:05 +0000 Subject: [PATCH] Add changes --- docs/benchmarks.md | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/docs/benchmarks.md b/docs/benchmarks.md index b0f8dec7f..f7cb7d292 100644 --- a/docs/benchmarks.md +++ b/docs/benchmarks.md @@ -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) @@ -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` | \ No newline at end of file +| [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` | \ No newline at end of file