Skip to content

Commit

Permalink
mounted hw bench
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 26, 2012
1 parent 58d522d commit c33f1ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion support/app.js
Expand Up @@ -5,7 +5,14 @@

var express = require('../');

var app = express.createServer();
var app = express()
, blog = express();

app.use('/blog', blog);

blog.get('/', function(req, res){
res.send('Hello World\n');
});

app.get('/', function(req, res){
res.send('Hello World\n');
Expand Down
1 change: 1 addition & 0 deletions support/bench
Expand Up @@ -12,6 +12,7 @@ bench() {

sleep .5
bench / "Hello World"
bench /blog "Mounted Hello World"
bench /json "JSON"
bench /middleware "Middleware"
bench /match "Router"
Expand Down

0 comments on commit c33f1ba

Please sign in to comment.