emilpriver / language-benchmarks

GO vs Rust vs Bun benchmark
17 stars 5 forks source link

Request for clarification of the benchmark. #2

Closed lortonx closed 1 year ago

lortonx commented 1 year ago

Hello! First of all, thank you very much for your benchmark, it’s an interesting experience! I would like to ask you to add to Node tests using the uWebsockets.js library. This is faster than the standard HTTP node library. uWebsockets is one of the reasons why I don't switch to Bun. I'm sure many people will be interested in this. Thank you!

https://github.com/uNetworking/uWebSockets.js/

shivamsingha commented 1 year ago

Bun literally uses uWebSockets

lortonx commented 1 year ago

Bun literally uses uWebSockets

Then, if uWebsockets are taken away from Bun, will the performance be equal to Node? Or if uWebsockets are added to Node, will the performance be equal again? Maybe even faster? I hope there will be an addition to the tests soon.

By the way, Habr is a big garbage dump .

emilpriver commented 1 year ago

Hey :D, Glad you liked it. I am working on some improvements on the test/benchmark. I have websockets in my backlog and will keep this issue in mind when working on WebSocket test.

emilpriver commented 1 year ago

I'm closing this. Feel free to open again if needed.