Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Performance improvement #76

Open
yusukebe opened this issue Jul 29, 2023 · 5 comments
Open

Performance improvement #76

yusukebe opened this issue Jul 29, 2023 · 5 comments

Comments

@yusukebe
Copy link
Member

Indeed, the Hono app, when using node-server, is slow. You can see the benchmarks here:

https://github.com/SaltyAom/bun-http-framework-benchmark

However, there are opportunities to improve performance, and we should do them.

@rafaell-lycan
Copy link

I agree, especially if it performs better than Express and Hapi or even as well as Koa or Fastify.

Nothing is perfect, but there's always room to improve 🔥

@cdtut
Copy link

cdtut commented Nov 16, 2023

@yusukebe Is performance the only limitation of hono on node or are there missing functionality or feature compared to bun?

@kevinvdburgt
Copy link

@yusukebe is the reason known why the node-server seems that 'slow'?

@yusukebe
Copy link
Member Author

yusukebe commented Mar 9, 2024

Hi @kevinvdburgt

Node.js Incoming/Outgoing Messages and Web Standards Request/Response are incompatible, and the translations cause overhead.

@marcosrjjunior
Copy link

maybe there is something we can learn from this implementation?

not sure if that helps, I'm just sharing

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants