/
githubmirror
/
express
Обзор
Документация
Войти
/
githubmirror
/
express
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
4.18.3
benchmarks/run
18 строк
229 B
Deniz
bench: print latency and vary connections
25 апр 2022, 02:31
25 апр 2022, 02:31
0b330ef
Код
Авторство
О чём код?
#!/usr/bin/env bash echo MW=$1 node $2 & pid=$! echo " $3 connections" sleep 2 wrk 'http://localhost:3333/?foo[bar]=baz' \ -d 3 \ -c $3 \ -t 8 \ | grep 'Requests/sec\|Latency' \ | awk '{ print " " $2 }' kill $pid