kernelci / kernelci-build-staging

(DEPRECATED: check kernelci-core-staging) KernelCI build scripts for the staging jenkins instance
GNU Lesser General Public License v2.1
1 stars 5 forks source link

build.py: add build threads to metadata #50

Closed khilman closed 6 years ago

khilman commented 6 years ago

For future build-time optimization, track the number of build threads (make -j level) for every build.

New build.json field: build_threads

Along with build time, this data can be used to optimize build throughput across the various build servers.

Signed-off-by: Kevin Hilman khilman@baylibre.com

khilman commented 6 years ago

@gctucker this could be useful for easily tracking average build time by just walking through the build.json results.

khilman commented 6 years ago

Yes, it would need to make it's way into the db, but in the mean time, we can scrape the build.json files too.

gctucker commented 6 years ago

OK verified locally that the extra field doesn't have any side effect when the JSON is processed in the backend. We can make the backend changes independently, so merging this now.

gctucker commented 6 years ago

Tested on staging: http://staging-storage.kernelci.org/gtucker/kernelci-test/kernelci-test-077-2-ga5c7fc272333/arm/multi_v7_defconfig/build.json