Open ohenepee opened 6 years ago
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).
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 |
Can we get a performance benchmark between Spirit and Fastify ?