GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — node/benchmark/http_server_lag.js at master · csgui/node Expand file tree/ Copy pathhttp_server_lag.jsMore file actions 13 lines (11 loc) · 429 Bytes / Copy pathhttp_server_lag.jsFile metadata and controls13 lines (11 loc) · 429 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 var http = require('http'); var port = parseInt(process.env.PORT, 10) || 8000; var defaultLag = parseInt(process.argv[2], 10) || 100; http.createServer(function(req, res) { res.writeHead(200, { 'content-type': 'text/plain', 'content-length': '2' }); var lag = parseInt(req.url.split("/").pop(), 10) || defaultLag; setTimeout(function() { res.end('ok'); }, lag); }).listen(port, 'localhost'); |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |