Permalink
Browse files

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

  • Loading branch information...
1 parent 48fd1eb commit 91a0cebaf5ff01225a2dc78609d506e82458c0ef @pgriess committed May 7, 2011
Showing with 11 additions and 1 deletion.
  1. +3 −1 README.md
  2. +8 −0 wsbench
View
@@ -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
@@ -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);
}

0 comments on commit 91a0ceb

Please sign in to comment.