Hacker Newsnew | past | comments | ask | show | jobs | submit | lilprince1218's commentslogin

ok ill try that

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


sure


That was fast. Thanks for your honesty in the benchmarks. Well done !


ur welcome :)


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 :)


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


well i am still adding features. And thanks also


yh. only when im in school though. But not everyone gets me


probably


You asked. We delivered.

Next: tests + security fixes + reproducible benchmarks.

Thank you for making PrinceJS better.

— @Lil_Prince_1218 (13, Nigeria)


Ok sure. And my Laptop is almost 8 yrs old so


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: