Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

performance & benchmark #3

Open
h2atecnologia opened this issue Jul 1, 2022 · 1 comment
Open

performance & benchmark #3

h2atecnologia opened this issue Jul 1, 2022 · 1 comment

Comments

@h2atecnologia
Copy link

I got to know naturaljs-router by checking the list from web-frameworks-benchmark.netlify.app

I've been following the dev of hyper-express, also based on uWebSockets.js.

I theoretically made the same codes as simple as possible with:

  • fastify 4,
  • polkadot,
  • hyper-express,
  • naturaljs
  • and in GoLang with fasthttp.

I used ab (Apache Benchmark) and autocannon to get the numbers and I was surprised by the performance of the naturaljs that was side by side with the app in GoLang, the latter using keepalive.

using 127.0.0.1 instead of localhost, requests with excellent maximum times did not fail. really nice job!

@jesusvilla
Copy link
Owner

@h2atecnologia It feels good to read this, thank you very much, the truth is that currently the develop branch has many more features that you will like. Going back to the benchmark issue, it can even be improved if I exclude the abstraction layer to make it similar to expressjs

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

No branches or pull requests

2 participants