←back to thread

151 points lilprince1218 | 1 comments | | HN request time: 0.379s | 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
londons_explore ◴[] No.45959145[source]
Rather than requests per second, I prefer 'clock cycles per request'.

As well as being slightly more hardware independent, it also helps highlight exactly how efficient/inefficient the code must be.

This code is ~100k clock cycles per request.

replies(2): >>45959171 #>>45961846 #
1. lilprince1218 ◴[] No.45961846[source]
Ok I'll do that