HNHacker News
TopNewBestAskShowJobs

lilprince1218

55 karma · joined June 30, 2025

A solo dev making new projects and having hard times getting people to use it.
submissionscomments
lilprince1218··on The framework built by a father in 2006 dominated the internet
Real legend
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
ok ill try that
lilprince1218··on PrinceJS: Benchmark Corrections and Lessons from a 13-Year-Old Developer
After my original post, the Hacker News community helped me identify critical issues with my benchmarking approach. Here's what I learned:

The Problem:

I used autocannon for benchmarking, which can't handle Bun.serve speeds (as pointed out by Elysia's maintainer)

Made exaggerated performance claims

Had security vulnerabilities in JWT implementation

The Fix:

Switched to oha for accurate benchmarks: 21,748 req/s (placing PrinceJS among top 3 Bun frameworks)

Fixed all security issues

Removed "fastest" claims, now positioning honestly as competitive

Technical Details:

Real oha results: Elysia (25,312), Hono (22,124), PrinceJS (21,748), Express (9,325)

Running on Windows 10 with: oha -c 100 -z 30s

Next step: Cloud VM testing for consistent, reproducible benchmarks

The framework is now more honest about its capabilities while still delivering competitive performance. Lesson learned: accuracy and security matter more than impressive numbers.

Try it: bun add princejs

GitHub: https://github.com/MatthewTheCoder1218/princejs

lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
ur welcome :)
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
sure
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
wow the maintainer of elysia.

ummm i realized that. u guys are still up there but i am at top three. Just updated with oha :)

lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
and im totally fair. I mean its not me that decide what the computer outputs sometimes when i run my code, mine is even bulkier than them
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
well i am still adding features. And thanks also
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
yh. only when im in school though. But not everyone gets me
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
probably
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
You asked. We delivered.

Next: tests + security fixes + reproducible benchmarks.

Thank you for making PrinceJS better.

— @Lil_Prince_1218 (13, Nigeria)

lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
Ok sure. And my Laptop is almost 8 yrs old so
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
Thanks boss
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
LoL
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
Ok I'll do that
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
At ten actually
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
Thanks bro
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
I'll make sure to add that's
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
Thanks bro
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
I never knew of this bro.
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
Ok bro
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
Ok bro
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
Ok bro thanks
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
Ok thanks. The ai is missing cause I couldn't fully implement it and I didn't want it half baked so I just took it out.
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
Ok. Thanks you
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
Thank you boss
lilprince1218··on Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
I'll make sure to implement that