Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add link to blog.std.in article on wsbench.

  • Loading branch information...
commit 91a0cebaf5ff01225a2dc78609d506e82458c0ef 1 parent 48fd1eb
@pgriess authored
Showing with 11 additions and 1 deletion.
  1. +3 −1 README.md
  2. +8 −0 wsbench
View
4 README.md
@@ -1,7 +1,9 @@
`wsbench` is a scriptable benchmarking tool for Web Socket servers.
An installation of [NodeJS](http://nodejs.org) is required, but there are no
-other external dependencies.
+other external dependencies. See [Benchmarking Web Socket servers with
+wsbench](http://blog.std.in/2010/09/24/benchmarking-web-socket-servers/) for
+more background on the motivation and intended usage of this tool.
## Basic usage
View
8 wsbench
@@ -116,6 +116,14 @@ if (!OPTIONS.url) {
console.error('wsbench: missing required <url> parameter');
console.log('');
console.log(op.toString());
+ process.stdout.flush();
+
+ /*
+ // XXX: This is lame. For some reason a single long string is getting
+ op.toString().split('\n').forEach(function(l) {
+ console.log(l);
+ });
+ */
process.exit(1);
}
Please sign in to comment.
Something went wrong with that request. Please try again.