Skip to content
Myr

bench

This file

Path

support/bench

15 lines · 265 bytes

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than f98c112 point at it.

Added app.render() local precedence testTj Holowaychukbefore adoptionf98c112

lines 1–15why, one step back
1#!/usr/bin/env bash
23node ./support/app &4pid=$!56bench() {7 ab -n 5000 -c 50 -k -q http://127.0.0.1:8000$1 | grep "Requests per" | cut -d ' ' -f 7 | xargs echo "$2:"8}910sleep .511bench / "Hello World"12bench /json "JSON"13bench /middleware "Middleware"1415kill -9 $pid