-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
feat: add turbo-http to benchmark suite #47
Conversation
I'm 👎 to this change right now for two reason:
cc @mafintosh |
I'm 👍 with @mcollina but point 2 should be documented. In the current state, we benchmark any mature HTTP framework for Node.js. |
Adding alternative http implementation for node is something that could be done with our harness. But it's a completely different category of problems. Node.js core is only adding here as a base reference. |
This isn't a framework. All current benchmarks are based off native HTTP module for equal playing field. Turbo is made to replace the HTTP module itself, not add routing, middleware, etc, on top of HTTP. |
@lukeed this is not the point. We also bench e.g micro, trek without and with a router. |
Upgrading HTTP will affect all frameworks, regardless of implementation. It's meaningless to compare 20+ frameworks running on Node HTTP with one running on a C-based HTTP. Doing that is comparing Node to C, or Node to Go, etc. This benchmark suite is to compare frameworks (or partial frameworks), measuring their speed and their overhead.. not the underlying HTTP server. It'd also be similar to comparing Node 0.12 vs Node 10.0 --- they're completely different. For example, I can run Fastify on 0.12 for X results. Then run Express on Node 10.0 for Y results. Or even run Express on As I'm sure you well know: You have to standardize machine environments and Node environments for fair testing. The HTTP server that powers the benchmark is no different but it, too, is the environment. |
Wooah.. @mcollina said it well. We won't add it to the benchmarks. We just have to update the docs 😄 My statement was based on |
If there was any hostility of any kind, it wasn't intended -- sorry! The drawbacks of text-only conversation 😆I was just trying to explain my point fully. Apologies |
No problem this is just a discussion. We all agree 👍 |
My two cents; I believe In either case, @mcollina -I suggest we close this for now, at least until |
turbo-http
by @mafintosh to benchmark suite