diff options
Diffstat (limited to 'bench/perf_monitoring/make_plot.sh')
-rwxr-xr-x | bench/perf_monitoring/make_plot.sh | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/bench/perf_monitoring/make_plot.sh b/bench/perf_monitoring/make_plot.sh index ca9fa9662..65aaf66f9 100755 --- a/bench/perf_monitoring/make_plot.sh +++ b/bench/perf_monitoring/make_plot.sh @@ -64,8 +64,11 @@ do i=0 while read line2 do - if [ ! -z '$line2' ]; then - echo '{"r":'$i',"v":'`echo $line2 | cut -f $col -d ' '`'},' >> $WHAT.html + if [ ! -z "$line2" ]; then + val=`echo $line2 | cut -s -f $col -d ' '` + if [ -n "$val" ]; then # skip build failures + echo '{"r":'$i',"v":'$val'},' >> $WHAT.html + fi fi ((i++)) done < $WHAT.out @@ -84,6 +87,17 @@ do done < $WHAT.out echo '];' >> $WHAT.html +echo 'var changesets_details = [' >> $WHAT.html +while read line2 +do + if [ ! -z '$line2' ]; then + num=`echo "$line2" | cut -f 1 -d ' '` + comment=`grep ":$num" changesets.txt | cut -f 2 -d '#'` + echo '"'"$comment"'",' >> $WHAT.html + fi +done < $WHAT.out +echo '];' >> $WHAT.html + echo 'var changesets_count = [' >> $WHAT.html i=0 while read line2 |