Skip to content
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

Benchmark for UWebsockets #1

Closed
PXshadow opened this issue Sep 23, 2020 · 6 comments
Closed

Benchmark for UWebsockets #1

PXshadow opened this issue Sep 23, 2020 · 6 comments

Comments

@PXshadow
Copy link

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
Copy link
Owner

@PXshadow can you add pure js test here?

@PXshadow
Copy link
Author

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

@djaonourside
Copy link
Owner

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

@PXshadow
Copy link
Author

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
Copy link
Owner

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

@PXshadow
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants