summaryrefslogtreecommitdiffstats
path: root/perf-framework/diff_perfrun
diff options
context:
space:
mode:
Diffstat (limited to 'perf-framework/diff_perfrun')
-rwxr-xr-xperf-framework/diff_perfrun17
1 files changed, 17 insertions, 0 deletions
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