ci: Print load stats after running dEQP
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Tue, 28 Jul 2020 06:22:34 +0000 (08:22 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 29 Jul 2020 12:26:02 +0000 (14:26 +0200)
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@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Rohan Garg <rohan.garg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6101>

.gitlab-ci/deqp-runner.sh

index f68dd00600c6d3edce85e230ee98477278a20822..2c36a303db2d27d4dc0ce7b726639ca3f9476419 100755 (executable)
@@ -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