-
Notifications
You must be signed in to change notification settings - Fork 126
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
Dart's http server is slowly #451
Comments
In JS, the base part of the HTTP server is implemented in native code, it's just Zig, Rust, C++ with JS bindings. In Dart case, it's all written in Dart and native socket bindings. Dart is reading all the bytes, parsing them, and putting them into the streams. |
Is there any possibility of improvement?In this way, dart can also be used as a backend.
|
Dart is used as a backend. A 2ms vs 5ms diff is not that much. If you want to improve the standard |
I tested it with the standard |
@ykmnkmi is there any examples of using Dart as backend ? What's the use cases? I have small logging server on Dart and it performs on single isolate under 1-2k rps, good enough for such task, but I was wondering if there is any complicated use cases for Dart as backend lang |
https://web-frameworks-benchmark.netlify.app/result
Why?
The text was updated successfully, but these errors were encountered: