From 486a88947d2c6ce5bf243a5f84518e1ab7b0e7db Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 28 Sep 2024 10:26:30 +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 fbcd288ea..45f561c76 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/22/2024, 11:23:17 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/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. 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](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 57418 | 100% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [group](https://github.com/fastrodev/fastro/blob/main/examples/group.ts) | 55654 | 97% | `oha -j --no-tui -z 10s http://localhost:8000/api/user` | -| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 55273 | 96% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 54086 | 94% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 52450 | 91% | `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) | 52036 | 91% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [store](https://github.com/fastrodev/fastro/blob/main/examples/store.ts) | 50903 | 89% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 40755 | 71% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 40159 | 70% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 37159 | 65% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [deno_sqlite](https://github.com/fastrodev/fastro/blob/main/examples/deno_sqlite.ts) | 36019 | 63% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 34058 | 59% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 33907 | 59% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 23635 | 41% | `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) | 18222 | 32% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [deno_redis](https://github.com/fastrodev/fastro/blob/main/examples/deno_redis.ts) | 16784 | 29% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [deno_postgres](https://github.com/fastrodev/fastro/blob/main/examples/deno_postgres.ts) | 16047 | 28% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [deno_mysql](https://github.com/fastrodev/fastro/blob/main/examples/deno_mysql.ts) | 12752 | 22% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [oauth](https://github.com/fastrodev/fastro/blob/main/examples/oauth.ts) | 12286 | 21% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [server_rendering](https://github.com/fastrodev/fastro/blob/main/examples/server_rendering.tsx) | 11562 | 20% | `oha -j --no-tui -z 10s http://localhost:8000` | -| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 9775 | 17% | `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) | 7481 | 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) | 7392 | 13% | `oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css` | \ No newline at end of file +| [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