-
-
Notifications
You must be signed in to change notification settings - Fork 16.8k
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
Speed and latency of requests #4925
Comments
Hi @Hatsune-Mikun the Express project absolutely welcomes any contributions that improve the performance of the framework. I know that I, personally, have been focused on trying to add the many feature requests folks like. It would be amazing if you or someone would dig in to the performance profile of the framework and contribute or guide changes to improve it 👍 |
To my regret, I am an ordinary programmer who makes libraries, tools and applications using existing auxiliary ones, like the same Express, instead of writing in bare http, which I understand well, therefore, even with all my desire, I will not be able to contribute to such a huge project, but I sincerely empathize with its fate, because in terms of convenience, this is the best framework, but the performance leaves much to be desired |
Hi, I am very sorry about that. Perhaps would you be willing to sponsor someone instead for their time and effort to improve it? That would be the maij alternative qith open source projects if you're unable to contribute towards the code itself. |
Sounds like a good idea |
It's just a "hello word" benchmark. So before making any decision (eg switching framework..), I would recommend to run the benchmarks on your use case. |
I am very grateful to you for this answer, and your opinion agreed with what I was thinking about in my head You said that you have already done tests on more complex operations, can you do them again and send them here in a resultant form? |
see fastify/benchmarks#3 actually in https://github.com/fastify/benchmarks home page, you can even see that Fastify is officially slower than express on big payloads : |
If you need high performance on some routes, I suggest to give a try to https://github.com/uNetworking/uWebSockets.js |
@abenhamdine, @dougwilson I'm glad that I can continue to write in my comfortable framework without worrying about such an important aspect. |
I using express in all my projects, i like syntactics, methods, for ease of use
Lately I've been starting to dig deeper into code optimization and better use of certain things to write efficient code
I recently stumbled across this benchmark(you can check it out here with code examples) and I'm quite frustrated by the huge backlog from the Express side. It has an excellent base, it is one of the most requested frameworks, and I do not want and do not intend to switch to alternatives, but this difference really saddens me
May I know what is causing this backlog and will there be any work done on this in the future?
PS I'm not trying to bust a conflict, I'm just interested in the work of my favorite framework, because. upset by a clear speed advantage in other analogues
The text was updated successfully, but these errors were encountered: