djaonourside / uwebsockets-externs

haxe externs for uwebsockets
4 stars 0 forks source link

Benchmark for UWebsockets #1

Closed PXshadow closed 3 years ago

PXshadow commented 3 years ago

Hey! I've been benchmarking as many nodejs libraries as I could and got pointed to your externs. I wrote up a quick benchmark and was very impressed by the performance, thought I'd share it here. Well done on the externs I think it's the best choice for a web server http or websockets on nodejs 😃 image

djaonourside commented 3 years ago

@PXshadow can you add pure js test here?

PXshadow commented 3 years ago

Yeah sure I'll post it here tommrow, just saw the discussion on uwebsockets.js sorry if i caused any turmoil my apologies.

djaonourside commented 3 years ago

Thank you @PXshadow . I think it's not about you, it's about people's stereotypic mind :)

PXshadow commented 3 years ago

Here you go, I hope this helps here is the benchmark repo as well if you want to check the code. As I expected it's essentially the same speed in haxe vs js.

image

djaonourside commented 3 years ago

@PXshadow Thank you very much. I am trying to write cpp/hashlink externs for uwebsockets. Suppose the speed will increase more.

PXshadow commented 3 years ago

Yes i would think so 😊, let me know when you have those externs I would be super excited to use those externs and hopefully also make weblink more performant and support cpp before haxe 4.2