From db468693ef5faa294d9bc3cd3c5d70c0d99d488b Mon Sep 17 00:00:00 2001 From: Rahul C S Date: Fri, 17 Feb 2012 17:23:28 +0530 Subject: Adding the performance framework to the qa repo Change-Id: Ia7dbd82e9bb2e5e65e9345234ce34f8518a091ad Signed-off-by: Rahul C S --- perf-framework/diff_perfrun | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 perf-framework/diff_perfrun (limited to 'perf-framework/diff_perfrun') diff --git a/perf-framework/diff_perfrun b/perf-framework/diff_perfrun new file mode 100755 index 0000000..65ea316 --- /dev/null +++ b/perf-framework/diff_perfrun @@ -0,0 +1,17 @@ +#!/bin/bash + +echo "" +echo "Q - Quota ON, q - Quota OFF, G - Gsync ON, g - Gsync OFF" +echo "" +echo "======================================================================" +echo "OPERATIONS q-g q-G Q-G Q-g" +echo "======================================================================" +for i in `cat /tmp/ops` +do + printf "%-25s" $i + for j in 2 3 4 5 + do + printf "%10.1f" `echo \`grep -w ^$i /tmp/$1 | awk -v col=$j '{print $col}'\` | awk '{print ($2 - $1)*100/$1}' | tr '\n' '\t'` + done + echo "" +done -- cgit