Mesa (master): ci: Print load stats after running dEQP

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 29 12:40:49 UTC 2020


Module: Mesa
Branch: master
Commit: 745540378c014ce29f8195f7067278491cc22a40
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=745540378c014ce29f8195f7067278491cc22a40

Author: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Date:   Tue Jul 28 08:22:34 2020 +0200

ci: Print load stats after running dEQP

So we can get an idea if what are the bottlenecks when looking for
opportunities to speed things up.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Reviewed-by: Daniel Stone <daniels at collabora.com>
Reviewed-by: Rohan Garg <rohan.garg at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6101>

---

 .gitlab-ci/deqp-runner.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh
index f68dd00600c..2c36a303db2 100755
--- a/.gitlab-ci/deqp-runner.sh
+++ b/.gitlab-ci/deqp-runner.sh
@@ -280,6 +280,9 @@ FLAKESFILE=$RESULTS/cts-runner-flakes$DEQP_RUN_SUFFIX.txt
 run_cts $DEQP /tmp/case-list.txt $RESULTSFILE
 DEQP_EXITCODE=$?
 
+echo "System load: $(cut -d' ' -f1-3 < /proc/loadavg)"
+echo "# of CPU cores: $(cat /proc/cpuinfo | grep processor | wc -l)"
+
 # junit is disabled, because it overloads gitlab.freedesktop.org to parse it.
 #quiet generate_junit $RESULTSFILE > $RESULTS/results.xml
 



More information about the mesa-commit mailing list