From 4c26a996513686739679e52643bf19bc8b946d42 Mon Sep 17 00:00:00 2001 From: David Hermann Date: Sun, 28 Sep 2025 20:24:52 +0200 Subject: [PATCH 1/2] chore(benchmarks): Updating sections `benchmark` (landing), `migrating from express` and `migrating from fastify` with new round 23 from techempower benchmark --- docs/at-glance.md | 2 +- docs/components/fern/benchmark-express.vue | 10 +++---- docs/components/fern/benchmark-fastify.vue | 10 +++---- docs/components/fern/benchmark.vue | 32 +++++++++++----------- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/docs/at-glance.md b/docs/at-glance.md index ed5ab882..40386b66 100644 --- a/docs/at-glance.md +++ b/docs/at-glance.md @@ -320,4 +320,4 @@ If you have questions or get stuck with Elysia, feel free to ask our community o 1. Measured in requests/second. The benchmark for parsing query, path parameter and set response header on Debian 11, Intel i7-13700K tested on Bun 0.7.2 on 6 Aug 2023. See the benchmark condition [here](https://github.com/SaltyAom/bun-http-framework-benchmark/tree/c7e26fe3f1bfee7ffbd721dbade10ad72a0a14ab#results). -2. Based on [TechEmpower Benchmark round 22](https://www.techempower.com/benchmarks/#section=data-r22&hw=ph&test=composite). +2. Based on [TechEmpower Benchmark round 23](https://www.techempower.com/benchmarks/#section=data-r23). diff --git a/docs/components/fern/benchmark-express.vue b/docs/components/fern/benchmark-express.vue index 5deb49f3..572bc899 100644 --- a/docs/components/fern/benchmark-express.vue +++ b/docs/components/fern/benchmark-express.vue @@ -13,24 +13,24 @@
- 2,454,631 reqs/s + 26,060,081 reqs/s
  • Express
    -
    -

    113,117

    +
    +

    279,922

  • Measured in requests/second. Result from TechEmpower Benchmark - Round 22 (2023-10-17) in PlainText + Round 23 (2025-02-24) in PlainText

    diff --git a/docs/components/fern/benchmark-fastify.vue b/docs/components/fern/benchmark-fastify.vue index 4a6faac5..054898f9 100644 --- a/docs/components/fern/benchmark-fastify.vue +++ b/docs/components/fern/benchmark-fastify.vue @@ -13,24 +13,24 @@
    - 2,454,631 reqs/s + 26,060,081 reqs/s
  • Fastify
    -
    -

    415,600

    +
    +

    1,175,038

  • Measured in requests/second. Result from TechEmpower Benchmark - Round 22 (2023-10-17) in PlainText + Round 23 (2025-02-24) in PlainText

    diff --git a/docs/components/fern/benchmark.vue b/docs/components/fern/benchmark.vue index e073ae21..62caf116 100644 --- a/docs/components/fern/benchmark.vue +++ b/docs/components/fern/benchmark.vue @@ -26,7 +26,7 @@ const expand = useExpandWidth(isInView) class="text-gradient from-pink-400 to-fuchsia-400" v-bind="flyIn(0.1)" > - 21x + 93x faster than Express @@ -36,7 +36,7 @@ const expand = useExpandWidth(isInView) class="md:!text-7xl text-gradient from-violet-400 to-pink-400" v-bind="flyIn(0.3)" > - 6x + 22x faster than Fastify @@ -56,7 +56,7 @@ const expand = useExpandWidth(isInView) v-bind="expand(72, 0.4)" class="bg-gradient-to-r from-violet-500 to-fuchsia-400 !text-white" > - 2,454,631 reqs/s + 26,060,081 reqs/s
  • @@ -64,46 +64,46 @@ const expand = useExpandWidth(isInView) Gin Go - 676,019 -
  • -
  • - - Spring Java - - - 506,087 + 1,639,754
  • Fastify Node - 415,600 + 1,175,038 +
  • +
  • + + Spring Java + + + 832,509
  • Express Node - 113,117 + 279,922
  • Nest Node - 105,064 + 259,647
  • Measured in requests/second. Result from TechEmpower Benchmark - Round 22 (2023-10-17) in PlainText + Round 23 (2025-02-24) in PlainText From bc97c551e051bb377a1fe4f0c0b6910a51c098b2 Mon Sep 17 00:00:00 2001 From: David Hermann Date: Sun, 28 Sep 2025 20:30:54 +0200 Subject: [PATCH 2/2] fix(benchmark): adjust expand values to reflect correct relative percentages (Elysia = 72 baseline) --- docs/components/fern/benchmark.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/components/fern/benchmark.vue b/docs/components/fern/benchmark.vue index 62caf116..234ee855 100644 --- a/docs/components/fern/benchmark.vue +++ b/docs/components/fern/benchmark.vue @@ -63,35 +63,35 @@ const expand = useExpandWidth(isInView) Gin Go - + 1,639,754
  • Fastify Node - + 1,175,038
  • Spring Java - + 832,509
  • Express Node - + 279,922
  • Nest Node - + 259,647