From c0064a501c245ac6de66acf2f607c7588f41c80a Mon Sep 17 00:00:00 2001 From: Github Action Date: Tue, 31 Oct 2023 00:14:31 +0000 Subject: [PATCH] chore: autopublish Tue Oct 31 00:14:31 UTC 2023 --- docs/benchmarks.md | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/benchmarks.md b/docs/benchmarks.md index 3e24401e6..56126771b 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/static/image.png --- -This is the final output of an internal benchmark run in [github action](https://github.com/fastrodev/fastro/actions) on `10/30/2023, 11:17:44 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, 12:14:31 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 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) @@ -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) | 40745 | 100% | `oha -j --no-tui -z 5s http://localhost:8000` | -| [register](https://github.com/fastrodev/fastro/blob/main/examples/register.ts) | 38447 | 94% | `oha -j --no-tui -z 5s http://localhost:8000` | -| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 37784 | 93% | `oha -j --no-tui -z 5s http://localhost:8000` | -| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 37623 | 92% | `oha -j --no-tui -z 5s http://localhost:8000` | -| [ctx_string](https://github.com/fastrodev/fastro/blob/main/examples/ctx_string.ts) | 35927 | 88% | `oha -j --no-tui -z 5s http://localhost:8000` | -| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 35775 | 88% | `oha -j --no-tui -z 5s http://localhost:8000/agus?title=lead` | -| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 34759 | 85% | `oha -j --no-tui -z 5s http://localhost:8000` | -| [record](https://github.com/fastrodev/fastro/blob/main/examples/record.ts) | 34608 | 85% | `oha -j --no-tui -z 5s http://localhost:8000` | -| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 34193 | 84% | `oha -j --no-tui -z 5s http://localhost:8000` | -| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 28635 | 70% | `oha -j --no-tui -z 5s http://localhost:8000` | -| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 16425 | 40% | `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) | 15829 | 39% | `oha -j --no-tui -z 5s http://localhost:8000/static/post.css` | -| [ssr](https://github.com/fastrodev/fastro/blob/main/examples/ssr.ts) | 12354 | 30% | `oha -j --no-tui -z 5s http://localhost:8000` | -| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 11952 | 29% | `oha -j --no-tui -z 5s http://localhost:8000/user?name=john` | -| [raw_jsx](https://github.com/fastrodev/fastro/blob/main/examples/raw_jsx.tsx) | 10668 | 26% | `oha -j --no-tui -z 5s http://localhost:8000` | -| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 8952 | 22% | `oha -j --no-tui -z 5s http://localhost:8000` | -| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 8797 | 22% | `oha -j --no-tui -z 5s http://localhost:8000` | -| [hook](https://github.com/fastrodev/fastro/blob/main/examples/hook.ts) | 2373 | 6% | `oha -j --no-tui -z 5s http://localhost:8000` | -| [static_file_image](https://github.com/fastrodev/fastro/blob/main/examples/static_file_image.ts) | 1866 | 5% | `oha -j --no-tui -z 5s http://localhost:8000/static/image.png` | \ No newline at end of file +| [deno](https://github.com/fastrodev/fastro/blob/main/examples/deno.ts) | 54497 | 100% | `oha -j --no-tui -z 5s http://localhost:8000` | +| [string_response](https://github.com/fastrodev/fastro/blob/main/examples/string_response.ts) | 53776 | 99% | `oha -j --no-tui -z 5s http://localhost:8000` | +| [raw_string](https://github.com/fastrodev/fastro/blob/main/examples/raw_string.ts) | 52502 | 96% | `oha -j --no-tui -z 5s http://localhost:8000` | +| [register](https://github.com/fastrodev/fastro/blob/main/examples/register.ts) | 51131 | 94% | `oha -j --no-tui -z 5s http://localhost:8000` | +| [ctx_json](https://github.com/fastrodev/fastro/blob/main/examples/ctx_json.ts) | 50233 | 92% | `oha -j --no-tui -z 5s http://localhost:8000` | +| [record](https://github.com/fastrodev/fastro/blob/main/examples/record.ts) | 49960 | 92% | `oha -j --no-tui -z 5s http://localhost:8000` | +| [raw_json](https://github.com/fastrodev/fastro/blob/main/examples/raw_json.ts) | 49792 | 91% | `oha -j --no-tui -z 5s http://localhost:8000` | +| [params_query](https://github.com/fastrodev/fastro/blob/main/examples/params_query.ts) | 49142 | 90% | `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) | 45288 | 83% | `oha -j --no-tui -z 5s http://localhost:8000` | +| [app_middleware](https://github.com/fastrodev/fastro/blob/main/examples/app_middleware.ts) | 37784 | 69% | `oha -j --no-tui -z 5s http://localhost:8000` | +| [static_file_string](https://github.com/fastrodev/fastro/blob/main/examples/static_file_string.ts) | 19436 | 36% | `oha -j --no-tui -z 5s http://localhost:8000/static/post.css` | +| [markdown_middleware](https://github.com/fastrodev/fastro/blob/main/examples/markdown_middleware.ts) | 16226 | 30% | `oha -j --no-tui -z 5s http://localhost:8000/hello` | +| [raw_jsx](https://github.com/fastrodev/fastro/blob/main/examples/raw_jsx.tsx) | 15580 | 29% | `oha -j --no-tui -z 5s http://localhost:8000` | +| [ssr](https://github.com/fastrodev/fastro/blob/main/examples/ssr.ts) | 15570 | 29% | `oha -j --no-tui -z 5s http://localhost:8000` | +| [deno_kv](https://github.com/fastrodev/fastro/blob/main/examples/deno_kv.ts) | 15560 | 29% | `oha -j --no-tui -z 5s http://localhost:8000/user?name=john` | +| [ctx_jsx](https://github.com/fastrodev/fastro/blob/main/examples/ctx_jsx.tsx) | 15383 | 28% | `oha -j --no-tui -z 5s http://localhost:8000` | +| [route_middleware](https://github.com/fastrodev/fastro/blob/main/examples/route_middleware.ts) | 12860 | 24% | `oha -j --no-tui -z 5s http://localhost:8000` | +| [hook](https://github.com/fastrodev/fastro/blob/main/examples/hook.ts) | 3294 | 6% | `oha -j --no-tui -z 5s http://localhost:8000` | +| [static_file_image](https://github.com/fastrodev/fastro/blob/main/examples/static_file_image.ts) | 2214 | 4% | `oha -j --no-tui -z 5s http://localhost:8000/static/image.png` | \ No newline at end of file