This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap-benchmarks".

The branch, master has been updated
       via  f71c34b1171c8a70fe6b1e3027b1f75ff6483d93 (commit)
       via  3607bcb8cc3001765d4d783211f94f9be2fa6686 (commit)
      from  d3a39f6fd719e41366e2307628f8e016bfddcb3c (commit)


Summary of changes:
 node-bench/README.txt |    9 +++++++++
 node-bench/pong.js    |    6 ++++++
 2 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 node-bench/README.txt
 create mode 100644 node-bench/pong.js

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f71c34b1171c8a70fe6b1e3027b1f75ff6483d93
Author: Mark Wotton <[email protected]>
Date:   Mon Jul 26 12:05:02 2010 +1000

    tiny doco

diff --git a/node-bench/README.txt b/node-bench/README.txt
index 2acd7eb..972e690 100644
--- a/node-bench/README.txt
+++ b/node-bench/README.txt
@@ -1,4 +1,9 @@
 brew install node
 
 on a mac, or do the ./configure && make && make install dance from the tarball
-on nodejs.org
+on nodejs.org. 
+
+
+node pong.js
+
+to start the server
commit 3607bcb8cc3001765d4d783211f94f9be2fa6686
Author: Mark Wotton <[email protected]>
Date:   Mon Jul 26 12:00:13 2010 +1000

    add node benchmark for pong

diff --git a/node-bench/README.txt b/node-bench/README.txt
new file mode 100644
index 0000000..2acd7eb
--- /dev/null
+++ b/node-bench/README.txt
@@ -0,0 +1,4 @@
+brew install node
+
+on a mac, or do the ./configure && make && make install dance from the tarball
+on nodejs.org
diff --git a/node-bench/pong.js b/node-bench/pong.js
new file mode 100644
index 0000000..5ae7e07
--- /dev/null
+++ b/node-bench/pong.js
@@ -0,0 +1,6 @@
+var http = require('http');
+http.createServer(function (req, res) {
+  res.writeHead(200, {'Content-Type': 'text/plain'});
+  res.end('PONG');
+}).listen(8124, "localhost");
+console.log('Server running at http://127.0.0.1:8124/');
-----------------------------------------------------------------------


hooks/post-receive
-- 
snap-benchmarks
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to