BackendStack21 / restana

Restana is a lightweight and fast Node.js framework for building RESTful APIs.
MIT License
467 stars 27 forks source link

How do you run the performance/benchmarks? #50

Closed Akkuma closed 5 years ago

Akkuma commented 5 years ago

I see there's a lot of code to test out various frameworks, but I don't see any scripts to run those tests. I've been using https://github.com/fastify/benchmarks to compare what I've done to verify no performance regressions, but it would be nice to run this suite as well.

jkyberneees commented 5 years ago

First of all, thanks for spending time with restana on your weekend. I will get back to your PR ASAP.

I run then benchmarks manually 2 times using wrk2, you would need to install it separately. For impartial benchmarks I use https://github.com/the-benchmarker/web-frameworks

Thanks and Regards

On Sat, Jul 13, 2019, 10:54 PM Gregory Waxman notifications@github.com wrote:

I see there's a lot of code to test out various frameworks, but I don't see any scripts to run those tests. I've been using https://github.com/fastify/benchmarks to compare what I've done to verify no performance regressions, but it would be nice to run this suite as well.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jkyberneees/ana/issues/50?email_source=notifications&email_token=AA7IGXC4CTBFS4L4PANMRM3P7I6IHA5CNFSM4IDCEK4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G7BRCQQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7IGXAOP2RT34A3INWIDCTP7I6IHANCNFSM4IDCEK4A .

jkyberneees commented 5 years ago

Please do NOT use https://www.npmjs.com/package/autocannon for benchmarking performance. Instead use wrk2

Akkuma commented 5 years ago

Please do NOT use https://www.npmjs.com/package/autocannon for benchmarking performance. Instead use wrk2

What is wrong with autocannon?