Skip to content

Instantly share code, notes, and snippets.

View bacinsky's full-sized avatar
🏠
Working from home

Peter Bačinský bacinsky

🏠
Working from home
View GitHub Profile
#!/bin/bash
echo -e "\nbenchmark.sh -n<number of requests> -c<number of concurrency> <URL1> <URL2> ..."
echo -e "\nEx: benchmark.sh -n100 -c10 http://www.google.com/ http://www.bing.com/ \n"
## Gnuplot settings
echo "set terminal png
set output 'benchmark_${1}_${2}.png'
set title 'Benchmark: ${1} ${2}'