aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/report_gen/run_report.sh
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2017-07-20 14:10:13 +0200
committerTibor Frank <tifrank@cisco.com>2017-07-24 14:06:13 +0200
commit1911067935bdf6481fc9b89f40d79ca61f2448d0 (patch)
treec918e294fda69c914269c0a9c7806ff4a2099344 /resources/tools/report_gen/run_report.sh
parent856e4096117e596dda3f518eb6f6c503e58ea4e1 (diff)
CSIT-726: Automate data collection for csv files for perf improvments
Change-Id: Ia161ecf9af94fd7193bba045be56738b323e4e2e Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/report_gen/run_report.sh')
-rwxr-xr-xresources/tools/report_gen/run_report.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/resources/tools/report_gen/run_report.sh b/resources/tools/report_gen/run_report.sh
index 4c104928f3..db079773c8 100755
--- a/resources/tools/report_gen/run_report.sh
+++ b/resources/tools/report_gen/run_report.sh
@@ -143,6 +143,15 @@ then
--output ${DIR[DTO,PERF,VPP]}/vpp_performance_operational_data.rst \
--data "SH_RUN" --formatting rst --start 4 --level 2
+ blds=${JOB[PERF,VPP,BLD]}
+ for i in ${blds[@]}; do
+ unzip -o ${DIR[STATIC,ARCH]}/${JOB[PERF,VPP]}-${i}.zip -d ${DIR[WORKING]}/
+ ./run_robot_json_data.py \
+ --input ${DIR[WORKING]}/output.xml \
+ --output ${DIR[DTR,PERF,VPP,IMPRV]}/${JOB[PERF,VPP]}-${i}.json \
+ --vdevice ${i}
+ done
+
# DPDK PERF
unzip -o ${DIR[STATIC,ARCH]}/${JOB[PERF,DPDK]}-${JOB[PERF,DPDK,FBLD]}.zip -d ${DIR[WORKING]}/
python run_robot_data.py -i ${DIR[WORKING]}/robot-plugin/output.xml \
@@ -171,6 +180,11 @@ then
--formatting rst --start 5 --level 2
fi
+# Generate tables for performance improvements
+./run_improvments_tables.py \
+ --input ${DIR[DTR,PERF,VPP,IMPRV]} \
+ --output ${DIR[DTR,PERF,VPP,IMPRV]}
+
# Delete temporary json files
find ${DIR[RST]} -name "*.json" -type f -delete