From 49642d932b11bc227a2d13975c6710b23cfd1cc8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 13 Aug 2024 01:20:52 +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 f7cb7d292..a5ac68ab4 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, 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. +This is the final output of an internal benchmark run in [github action](https://github.com/fastrodev/fastro/actions) on `8/13/2024, 1:20:52 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) | 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 +| [deno](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 52985 | 100% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [group](https://github.com/fastrodev/fastro/blob/main/examples/group.ts) | 50478 | 95% | `oha -j --no-tui -z 10s http://localhost:8000/api/user` | +| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 50340 | 95% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 49630 | 94% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 48388 | 91% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 48173 | 91% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 47695 | 90% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 47024 | 89% | `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) | 45077 | 85% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 41582 | 78% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [deno_sqlite](https://github.com/fastrodev/fastro/blob/main/examples/deno_sqlite.ts) | 34779 | 66% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [server_rendering](https://github.com/fastrodev/fastro/blob/main/examples/server_rendering.tsx) | 23184 | 44% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 19676 | 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) | 11378 | 21% | `oha -j --no-tui -z 10s http://localhost:8000/blog/hello` | +| [deno_mongo](https://github.com/fastrodev/fastro/blob/main/examples/deno_mongo.ts) | 11272 | 21% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [oauth](https://github.com/fastrodev/fastro/blob/main/examples/oauth.ts) | 9292 | 18% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [deno_redis](https://github.com/fastrodev/fastro/blob/main/examples/deno_redis.ts) | 8697 | 16% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [deno_postgres](https://github.com/fastrodev/fastro/blob/main/examples/deno_postgres.ts) | 7441 | 14% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [deno_mysql](https://github.com/fastrodev/fastro/blob/main/examples/deno_mysql.ts) | 6834 | 13% | `oha -j --no-tui -z 10s http://localhost:8000` | +| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 4684 | 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) | 2400 | 5% | `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) | 1653 | 3% | `oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico` | \ No newline at end of file