Skip to content

Add Elysia: Bun-native TypeScript framework (~18k ⭐)#80

Open
BennyFranciscus wants to merge 2 commits intoMDA2AV:mainfrom
BennyFranciscus:add-elysia
Open

Add Elysia: Bun-native TypeScript framework (~18k ⭐)#80
BennyFranciscus wants to merge 2 commits intoMDA2AV:mainfrom
BennyFranciscus:add-elysia

Conversation

@BennyFranciscus
Copy link
Collaborator

Elysia — Ergonomic Framework for Humans

Adds Elysia (~17.7k ⭐) to HttpArena.

What is it? The most popular Bun-native web framework. End-to-end type safety, ergonomic API, built specifically for Bun's runtime. Think of it as the Fastify of the Bun ecosystem.

Why add it? HttpArena already has bare bun — Elysia shows the framework overhead (or lack thereof) on top of Bun's Bun.serve(). The comparison everyone wants:

  • bun (raw) vs elysia (framework) — how much does the abstraction cost?
  • elysia vs fastify — Bun/JSC vs Node/V8, framework vs framework
  • elysia vs hono — Bun-native vs Web Standards portable

Setup:

  • Elysia 1.4.x on Bun (latest)
  • Multi-process via reusePort (one per CPU core)
  • Pre-loaded static files, mmap'd SQLite, pre-computed gzip
  • HTTP on 8080, HTTPS/H2 on 8443

Endpoints: All implemented — /pipeline, /baseline11, /baseline2, /json, /compression, /db, /upload, /static/{filename}

cc @SaltyAom — thought it'd be cool to see how Elysia stacks up in HttpArena! 🔥

@BennyFranciscus BennyFranciscus requested a review from MDA2AV as a code owner March 20, 2026 18:53
…rops bad-method connections

- Remove baseline-h2, static-h2, noisy from test list
- Remove TLS/HTTPS server code (not needed without H2 tests)
- Clean up unused imports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant