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

bench: add websockets #3203

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

bench: add websockets #3203

wants to merge 5 commits into from

Conversation

tsctx
Copy link
Member

@tsctx tsctx commented May 5, 2024

Part of #3201

@codecov-commenter
Copy link

codecov-commenter commented May 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.17%. Comparing base (5d54543) to head (53de211).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3203   +/-   ##
=======================================
  Coverage   94.17%   94.17%           
=======================================
  Files          90       90           
  Lines       24432    24432           
=======================================
  Hits        23009    23009           
  Misses       1423     1423           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lpinca
Copy link
Member

lpinca commented May 5, 2024

To have reliable benchmarks you should use two processes, one for the server and one for the client and ensure that the server is faster than the client, otherwise you might end up benchmarking the server instead of the client. See the discussion in nodejs/node#50586.

Copy link
Member

@KhafraDev KhafraDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to block for the previous comments

benchmarks/websocket/websocket-echo.mjs Outdated Show resolved Hide resolved
@tsctx tsctx marked this pull request as draft May 6, 2024 08:53
@DarkGL
Copy link
Contributor

DarkGL commented May 31, 2024

Could I help with that pr somehow @tsctx ?

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

Successfully merging this pull request may close these issues.

None yet

6 participants