File: run_bench.sh

package info (click to toggle)
golang-github-rootless-containers-bypass4netns 0.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 596 kB
  • sloc: sh: 1,936; python: 542; makefile: 33
file content (14 lines) | stat: -rwxr-xr-x 354 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

set -e

cd $(dirname $0)

BENCHMARKS=(iperf3 block redis memcached etcd rabbitmq mysql postgres)

for BENCH in ${BENCHMARKS[@]}; do
    pushd $BENCH
    ./${BENCH}.sh
    python3 ${BENCH}_plot.py $BENCH-rootful-direct.log $BENCH-rootful-host.log $BENCH-wo-b4ns-direct.log $BENCH-wo-b4ns-host.log $BENCH-w-b4ns.log ../$BENCH.png
    popd
done