Created
August 19, 2010 15:26
-
-
Save maciejzgadzaj/538142 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sys = require('sys'), | |
http = require('http'); | |
http.createServer(function(req, res) { | |
res.writeHead(200, {'Content-Type': 'text/html'}); | |
res.write('<p>Hello World</p>'); | |
res.end(); | |
}).listen(8080); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not a fair comparison to Apache. Repeat the tests with this code:
https://gist.github.com/AndovaBegarin/065b6abfc05ed32f2cbc