From 0ec15b3d197e6c33dff7b3cede9e68f2468192ff Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 29 Sep 2024 03:56:50 +0000 Subject: [PATCH] Add changes --- docs/benchmarks.md | 48 +++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/docs/benchmarks.md b/docs/benchmarks.md index 45f561c76..c315cb669 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 `9/28/2024, 10:26:29 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 `9/29/2024, 3:56:50 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,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) | 69208 | 100% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [deno](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 57371 | 83% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 52735 | 76% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 52478 | 76% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [group](https://github.com/fastrodev/fastro/blob/main/examples/group.ts) | 52386 | 76% | `oha -j --no-tui -z 10s http://localhost:8000/api/user` | -| [store](https://github.com/fastrodev/fastro/blob/main/examples/store.ts) | 51911 | 75% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 51811 | 75% | `oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead` | -| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 50404 | 73% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 42774 | 62% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 41247 | 60% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 40709 | 59% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 37476 | 54% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 35116 | 51% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 24202 | 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) | 17491 | 25% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [oauth](https://github.com/fastrodev/fastro/blob/main/examples/oauth.ts) | 15708 | 23% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [deno_redis](https://github.com/fastrodev/fastro/blob/main/examples/deno_redis.ts) | 15372 | 22% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [deno_postgres](https://github.com/fastrodev/fastro/blob/main/examples/deno_postgres.ts) | 12780 | 18% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [server_rendering](https://github.com/fastrodev/fastro/blob/main/examples/server_rendering.tsx) | 12344 | 18% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [deno_mysql](https://github.com/fastrodev/fastro/blob/main/examples/deno_mysql.ts) | 10606 | 15% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 9242 | 13% | `oha -j --no-tui -z 10s http://localhost:8000/blog/hello` | -| [static_file_string](https://github.com/fastrodev/fastro/blob/main/examples/static_file_string.ts) | 7716 | 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) | 7290 | 11% | `oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico` | \ No newline at end of file +| [deno_sqlite](https://github.com/fastrodev/fastro/blob/main/examples/deno_sqlite.ts) | 68342 | 100% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [deno](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 56868 | 83% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 54968 | 80% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 54755 | 80% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [group](https://github.com/fastrodev/fastro/blob/main/examples/group.ts) | 53985 | 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) | 53720 | 79% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 53211 | 78% | `oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead` | +| [store](https://github.com/fastrodev/fastro/blob/main/examples/store.ts) | 50358 | 74% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 46431 | 68% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 41466 | 61% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 41145 | 60% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 37255 | 55% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 35967 | 53% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 24229 | 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) | 16211 | 24% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [deno_postgres](https://github.com/fastrodev/fastro/blob/main/examples/deno_postgres.ts) | 15937 | 23% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [deno_redis](https://github.com/fastrodev/fastro/blob/main/examples/deno_redis.ts) | 14034 | 21% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [server_rendering](https://github.com/fastrodev/fastro/blob/main/examples/server_rendering.tsx) | 12969 | 19% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [oauth](https://github.com/fastrodev/fastro/blob/main/examples/oauth.ts) | 11702 | 17% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [deno_mysql](https://github.com/fastrodev/fastro/blob/main/examples/deno_mysql.ts) | 11324 | 17% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 10795 | 16% | `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) | 9079 | 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) | 9069 | 13% | `oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css` | \ No newline at end of file