diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-07-20 14:10:13 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2017-07-24 12:07:35 +0000 |
commit | 2ce10467f9a032a3df7128a2e360227527f66194 (patch) | |
tree | 519074a1388e0e12640e8fae1ee1ea7d5529342a /resources/tools/report_gen/run_report.sh | |
parent | 87a5c40daa08221dceaf0ff9800e97fe221134cf (diff) |
CSIT-726: Automate data collection for csv files for perf improvments
Change-Id: Ia161ecf9af94fd7193bba045be56738b323e4e2e
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit 1911067935bdf6481fc9b89f40d79ca61f2448d0)
Diffstat (limited to 'resources/tools/report_gen/run_report.sh')
-rwxr-xr-x | resources/tools/report_gen/run_report.sh | 14 |
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 |