Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/at-glance.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,4 +320,4 @@ If you have questions or get stuck with Elysia, feel free to ask our community o

<small id="ref-1">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).</small>

<small id="ref-2">2. Based on [TechEmpower Benchmark round 22](https://www.techempower.com/benchmarks/#section=data-r22&hw=ph&test=composite).</small>
<small id="ref-2">2. Based on [TechEmpower Benchmark round 23](https://www.techempower.com/benchmarks/#section=data-r23).</small>
10 changes: 5 additions & 5 deletions docs/components/fern/benchmark-express.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@
<div
class="w-full bg-gradient-to-r from-violet-500 to-fuchsia-400 !text-white"
>
2,454,631 reqs/s
26,060,081 reqs/s
</div>
</li>
<li>
<h6>Express</h6>
<div style="width: 4.61%" />
<p>113,117</p>
<div style="width: 1.07%" />
<p>279,922</p>
</li>
</ol>
<p class="text-sm !m-0 text-gray-400 !leading-normal">
Measured in requests/second. Result from
<a
href="https://www.techempower.com/benchmarks/#hw=ph&test=plaintext&section=data-r22"
href="https://www.techempower.com/benchmarks/#section=data-r23&test=plaintext"
target="_blank"
class="underline"
>TechEmpower Benchmark</a
>
Round 22 (2023-10-17) in PlainText
Round 23 (2025-02-24) in PlainText
</p>
</article>
</div>
Expand Down
10 changes: 5 additions & 5 deletions docs/components/fern/benchmark-fastify.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@
<div
class="w-full bg-gradient-to-r from-violet-500 to-fuchsia-400 !text-white"
>
2,454,631 reqs/s
26,060,081 reqs/s
</div>
</li>
<li>
<h6>Fastify</h6>
<div style="width: 16.93%" />
<p>415,600</p>
<div style="width: 4.51%" />
<p>1,175,038</p>
</li>
</ol>
<p class="text-sm !m-0 text-gray-400 !leading-normal">
Measured in requests/second. Result from
<a
href="https://www.techempower.com/benchmarks/#hw=ph&test=plaintext&section=data-r22"
href="https://www.techempower.com/benchmarks/#section=data-r23&test=plaintext"
target="_blank"
class="underline"
>TechEmpower Benchmark</a
>
Round 22 (2023-10-17) in PlainText
Round 23 (2025-02-24) in PlainText
</p>
</article>
</div>
Expand Down
38 changes: 19 additions & 19 deletions docs/components/fern/benchmark.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const expand = useExpandWidth(isInView)
class="text-gradient from-pink-400 to-fuchsia-400"
v-bind="flyIn(0.1)"
>
21x
93x
</motion.h3>
<motion.p v-bind="flyIn(0.2)">faster than Express</motion.p>
</div>
Expand All @@ -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
</motion.h3>
<motion.p v-bind="flyIn(0.4)">faster than Fastify</motion.p>
</div>
Expand All @@ -56,54 +56,54 @@ const expand = useExpandWidth(isInView)
v-bind="expand(72, 0.4)"
class="bg-gradient-to-r from-violet-500 to-fuchsia-400 !text-white"
>
<span>2,454,631 reqs/s</span>
<span>26,060,081 reqs/s</span>
</motion.div>
</li>
<li>
<motion.h6 v-bind="flyIn(0.4)">
Gin <span>Go</span>
</motion.h6>
<motion.div v-bind="expand(27.54, 0.5)" />
<motion.p v-bind="flyIn(0.6)">676,019</motion.p>
<motion.div v-bind="expand(4.53, 0.5)" />
<motion.p v-bind="flyIn(0.6)">1,639,754</motion.p>
</li>
<li>
<motion.h6 v-bind="flyIn(0.5)">
Spring <span>Java</span>
<motion.h6 v-bind="flyIn(0.6)">
Fastify <span>Node</span>
</motion.h6>
<motion.div v-bind="expand(20.62, 0.6)" />
<motion.p v-bind="flyIn(0.7)">506,087</motion.p>
<motion.div v-bind="expand(3.24, 0.7)" />
<motion.p v-bind="flyIn(0.8)">1,175,038</motion.p>
</li>
<li>
<motion.h6 v-bind="flyIn(0.6)">
Fastify <span>Node</span>
<motion.h6 v-bind="flyIn(0.5)">
Spring <span>Java</span>
</motion.h6>
<motion.div v-bind="expand(16.93, 0.7)" />
<motion.p v-bind="flyIn(0.8)">415,600</motion.p>
<motion.div v-bind="expand(2.30, 0.6)" />
<motion.p v-bind="flyIn(0.7)">832,509</motion.p>
</li>
<li>
<motion.h6 v-bind="flyIn(0.7)">
Express <span>Node</span>
</motion.h6>
<motion.div v-bind="expand(4.61, 0.8)" />
<motion.p v-bind="flyIn(0.9)">113,117</motion.p>
<motion.div v-bind="expand(0.77, 0.8)" />
<motion.p v-bind="flyIn(0.9)">279,922</motion.p>
</li>
<li>
<motion.h6 v-bind="flyIn(0.8)">
Nest <span>Node</span>
</motion.h6>
<motion.div v-bind="expand(4.28, 0.9)" />
<motion.p v-bind="flyIn(1)">105,064</motion.p>
<motion.div v-bind="expand(0.72, 0.9)" />
<motion.p v-bind="flyIn(1)">259,647</motion.p>
</li>
</ol>
<motion.p class="text-sm mt-3 text-gray-400" v-bind="flyIn(1.1)">
Measured in requests/second. Result from
<a
href="https://www.techempower.com/benchmarks/#hw=ph&test=plaintext&section=data-r22"
href="https://www.techempower.com/benchmarks/#section=data-r23&test=plaintext"
target="_blank"
class="underline"
>TechEmpower Benchmark</a
>
Round 22 (2023-10-17) in PlainText
Round 23 (2025-02-24) in PlainText
</motion.p>
</div>
</article>
Expand Down