Skip to content
Myr

render bench

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent 9719b58 · Browse files · 3 files+10 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+10 added−1 removed

  • other:+10 added−1 removed

3 files+10 added−1 removed

added:support/views/hello.jade+1 added
1p Hello
modified:support/app.js+7 added
modified:support/bench+2 added-1 removed
1#!/usr/bin/env bash23node ./support/app &3NODE_ENV=production node ./support/app &4pid=$!56bench() {7 ab -n 5000 -c 50 -k -q http://127.0.0.1:8000$1 \
7 unmodified lines
15bench /blog "Mounted Hello World"16bench /json "JSON"17bench /middleware "Middleware"18bench /match "Router"19bench /render "Render"2021kill -9 $pid