jesusvilla/natural

performance & benchmark

Opened this issue · 1 comments

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!

@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