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

perf tests: latency and throughput benchmarks #57

Merged
merged 1 commit into from Feb 25, 2015
Merged

perf tests: latency and throughput benchmarks #57

merged 1 commit into from Feb 25, 2015

Conversation

reqshark
Copy link
Collaborator

make perf

@reqshark
Copy link
Collaborator Author

running it on my laptop, osx 10.10 after pulling down the nanomsg and zeromq.node modules:

nanomsg:

node perf/local_lat.js tcp://127.0.0.1:5555 1 100000& node perf/remote_lat.js tcp://127.0.0.1:5555 1 100000
started receiving
message size: 1 [B]
roundtrip count: 100000
mean latency: 0.059912973585 [msecs]
overall time: 11 secs and 982594717 nanoseconds
node perf/local_thr.js tcp://127.0.0.1:5556 1 100000& node perf/remote_thr.js tcp://127.0.0.1:5556 1 100000
started receiving
message size: 1 [B]
message count: 100000
mean throughput: 172813 [msg/s]
mean throughput: 1 [Mbit/s]
overall time: 0 secs and 578661586 nanoseconds

zmq:

node perf/local_lat.js tcp://127.0.0.1:5555 1 100000& node perf/remote_lat.js tcp://127.0.0.1:5555 1 100000
started receiving
message size: 1 [B]
roundtrip count: 100000
mean latency: 0.06438309833 [msecs]
overall time: 12 secs and 876619666 nanoseconds
node perf/local_thr.js tcp://127.0.0.1:5556 1 100000& node perf/remote_thr.js tcp://127.0.0.1:5556 1 100000
started receiving
message size: 1 [B]
message count: 100000
mean throughput: 77319 [msg/s]
mean throughput: 1 [Mbit/s]
overall time: 1 secs and 293342364 nanoseconds

same test

@reqshark reqshark deleted the perf branch February 25, 2015 20:22
@nickdesaulniers
Copy link
Owner

holy shit!

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

2 participants