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

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

Invoke callback for sendfile when client abortsDouglas Christopher Wilsonbefore adoption2a0c35a

lines 1–6why, one step back
1#!/usr/bin/env bash
23echo4MW=$1 node $2 &5pid=$!6

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

lines 7–8why, one step back
7echo " $3 connections"
8

Invoke callback for sendfile when client abortsDouglas Christopher Wilsonbefore adoption2a0c35a

lines 9–12why, one step back
9sleep 2
1011wrk 'http://localhost:3333/?foo[bar]=baz' \12 -d 3 \

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 13why, one step back
13 -c $3 \

Invoke callback for sendfile when client abortsDouglas Christopher Wilsonbefore adoption2a0c35a

line 14why, one step back
14 -t 8 \

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

lines 15–16why, one step back
15 | grep 'Requests/sec\|Latency' \
16 | awk '{ print " " $2 }'

Invoke callback for sendfile when client abortsDouglas Christopher Wilsonbefore adoption2a0c35a

lines 17–18why, one step back
17
18kill $pid