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

Versus Fastify #19

Open
ohenepee opened this issue Nov 20, 2017 · 2 comments
Open

Versus Fastify #19

ohenepee opened this issue Nov 20, 2017 · 2 comments

Comments

@ohenepee
Copy link

Can we get a performance benchmark between Spirit and Fastify ?

@hnry
Copy link
Collaborator

hnry commented Feb 26, 2018

I'll look into creating a pull to include spirit in their benchmarks

p.s. I believe it would be on par, but pretty much as close to raw http.Server use. Since for the benchmarks I initially ran and setup for developing I was seeing results as good as just running a raw http.Server (basically no overhead which was something I strived for when writing spirit).

hnry added a commit to hnry/benchmarks that referenced this issue Feb 26, 2018
@hnry
Copy link
Collaborator

hnry commented Feb 26, 2018

here are the results of running the tests on my computer after adding to the benchmarks

MacBook Pro (Retina, 13-inch, Early 2015)
2.7 GHz Intel Core i5
8 GB 1867 MHz DDR3

Default options using fastify's benchmark tool

project avg req avg latency
spirit 21086.4 4.47
w/ spirit-router 21022.4 4.51
fastify 18814.41 4.98

pedantsl added a commit to pedantsl/benchmarks that referenced this issue Aug 26, 2024
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