Browse Source

Update http benchmark script to new url api.

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
8e0dad4a27
  1. 2
      benchmark/http_simple.js

2
benchmark/http_simple.js

@ -14,7 +14,7 @@ for (var i = 0; i < 20*1024; i++) {
stored = {};
http.createServer(function (req, res) {
var commands = req.uri.path.split("/");
var commands = req.url.split("/");
var command = commands[1];
var body = "";
var arg = commands[2];

Loading…
Cancel
Save