Skip to content
Myr

run

This file

Path

benchmarks/run

18 lines · 229 bytes

Last changed by

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

History of this file

Take it

1#!/usr/bin/env bash23echo4MW=$1 node $2 &5pid=$!67echo "  $3 connections"89sleep 21011wrk 'http://localhost:3333/?foo[bar]=baz' \12  -d 3 \13  -c $3 \14  -t 8 \15  | grep 'Requests/sec\|Latency' \16  | awk '{ print " " $2 }'1718kill $pid