←back to thread

151 points lilprince1218 | 1 comments | | HN request time: 0.23s | 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. ricardobeat ◴[] No.45958971[source]
No, you would be benchmarking the overhead of juggling several requests in flight, I/O and memory usage, which is what really distinguishes servers in terms of performance.