aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/oe-build-perf-test
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-03-23 13:25:13 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-03-24 09:35:51 +0200
commitc9609d3a8614aa2ae53b2e7646a5ae5a51b71357 (patch)
treedc6ee9ee52f2339ad00f7d1be7d854338b1d3f4f /scripts/oe-build-perf-test
parent3b5ac72bdf76ac8ff98dc3c882a4edc77c6e2c33 (diff)
downloadopenembedded-core-contrib-c9609d3a8614aa2ae53b2e7646a5ae5a51b71357.tar.gz
oe-build-perf-test: pack all buildstat in one file
Write out all buildstats into one big json file, instead of using multiple per-measurement files. Individual buildstats will be indexed using "<test_name>.<measurement_name>" as the key. Also, changes the per-testcase working directories into temporary directories that will be removed after test execution as there are no more per-testcase data files to store permanently. [YOCTO #10582] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'scripts/oe-build-perf-test')
-rwxr-xr-xscripts/oe-build-perf-test1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test
index 8950c32004..669470fa97 100755
--- a/scripts/oe-build-perf-test
+++ b/scripts/oe-build-perf-test
@@ -209,6 +209,7 @@ def main(argv=None):
result.write_results_xml()
else:
result.write_results_json()
+ result.write_buildstats_json()
if args.globalres_file:
update_globalres_file(result, args.globalres_file, metadata)
if result.wasSuccessful():