simdjson/scripts/refreshplot.sh

16 lines
608 B
Bash
Raw Normal View History

2018-12-20 11:37:43 +08:00
#!/bin/bash
[[ "$(command -v gnuplot)" ]] || { echo "gnuplot is not installed" 1>&2 ; exit 1; }
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
gnuplot -e "filename='plots/skylake/parselinuxtable.txt';name='plots/skylake/stackedperf.pdf'" $SCRIPTPATH/stackbar.gnuplot
2018-12-25 05:02:53 +08:00
gnuplot -e "filename='plots/nuc/parselinuxtable.txt';name='plots/nuc/stackedperf.pdf'" $SCRIPTPATH/stackbar.gnuplot
2018-12-20 11:37:43 +08:00
2018-12-25 05:02:53 +08:00
echo "plots/skylake/stackedperf.pdf"
2019-01-09 00:36:05 +08:00
echo "plots/nuc/stackedperf.pdf"
cd $SCRIPTPATH/data/nuc/; gnuplot bar.gnuplot
cd $SCRIPTPATH/data/skylake/; gnuplot bar.gnuplot
echo "data/skylake/gbps.pdf"
echo "data/nuc/gbps.pdf"