diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2019-11-19 00:18:17 (GMT) |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2019-11-19 00:18:17 (GMT) |
commit | a724e8dbd67ce3d9bf5a24bd836dea4ad3a5516f (patch) | |
tree | 8575f185b5f2e773a7334ffe1dd5891a70bb2151 /tests/plot.sh |
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tests/plot.sh')
-rwxr-xr-x | tests/plot.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/plot.sh b/tests/plot.sh new file mode 100755 index 0000000..7c4904e --- /dev/null +++ b/tests/plot.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +xmax=200000 +avx=plots/rate_port.data +noavx=plots/rate_noavx2_port.data +nosimd=plots/rate_nosimd_port.data +out=plots/port.png + +gnuplot <<EOF + set terminal pngcairo size 600,400 enhanced font 'Lucida Sans,10' rounded + set logscale x + set xlabel "Entries for each field" + set ylabel "Mpps" + set title 'Single port' + set grid + set key right top + set output '${out}' + plot '${avx}' w l ls 1 t 'AVX2', '${noavx}' w l ls 2 t 'No AVX2', '${nosimd}' w l ls 3 t 'No SIMD' +EOF |