projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b2c579
)
Update http benchmark script to new url api.
author
Ryan Dahl
<ry@tinyclouds.org>
Mon, 11 Jan 2010 07:00:58 +0000
(23:00 -0800)
committer
Ryan Dahl
<ry@tinyclouds.org>
Mon, 11 Jan 2010 07:00:58 +0000
(23:00 -0800)
benchmark/http_simple.js
patch
|
blob
|
history
diff --git
a/benchmark/http_simple.js
b/benchmark/http_simple.js
index
1cd6124
..
37429bf
100644
(file)
--- a/
benchmark/http_simple.js
+++ b/
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.ur
i.path
.split("/");
+ var commands = req.ur
l
.split("/");
var command = commands[1];
var body = "";
var arg = commands[2];