←back to thread

151 points lilprince1218 | 1 comments | | HN request time: 0.303s | source

Hey HN,

I'm 13, from Nigeria, and I just released PrinceJS — the fastest web framework for Bun right now.

• 19,200 req/s (beats Hono/Elysia/Express) • 2.8 kB gzipped • Tree-shakable (cache, AI, email, cron, SSE, queue, test, static...) • Zero deps. Zero config.

Built in < 1 week. No team. Just me and Bun.

Try it: `bun add princejs` GitHub: https://github.com/MatthewTheCoder1218/princejs Docs: https://princejs.vercel.app

Brutal feedback welcome. What's missing?

– @Lil_Prince_1218

Show context
yahoozoo ◴[] No.45957876[source]
Any real world app is going to be waiting on, primarily, IO. These benchmarks that just hit an endpoint that returns a simple object are useless.
replies(1): >>45957964 #
tayo42 ◴[] No.45957964[source]
You would be otherwise just benchmarking the slow service if you benchmarked it any other way
replies(2): >>45958510 #>>45958971 #
1. koakuma-chan ◴[] No.45958510[source]
What is being benchmarked there anyway? Receiving a request from the underlying HTTP library, calling the user's handler function, and passing the response back to the HTTP library? Hono, Elysia, PrinceJS... all these "frameworks" really are just routers, and Bun comes with its own router.