github.com/expressjs / express
Fast, unopinionated, minimalist web framework for Node.js.
0 open asksLanded 45 d agoDecided by oscabriel
fa088e3Gave the router a name. All the other connect middlewares are named functions.Raynos · 5440 d ago
support/bench
15 lines · 265 bytes
Not known.
1#!/usr/bin/env bash23node ./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