diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2019-12-11 15:51:19 +0100 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-06-03 15:21:38 +0200 |
commit | 26fa4ea355623fa0b3fc3ee6e09d4856a09b33ff (patch) | |
tree | 795afa5cd32d43e2fae816bce41a0fddae8c3643 /.ci/ci-make-benchmark.sh | |
parent | 5c5f0692fce02a02be611f892eb0471c8ce8a0e8 (diff) | |
download | efl-26fa4ea355623fa0b3fc3ee6e09d4856a09b33ff.tar.gz |
ci: log time in every fold start and end
Annotating the build log with timings will help us to understand better
where the time is spend during the builds and see areas to optimize.
Switching over to the "native" bash functions in Travis, so switching
all scripts to bash.
Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11913
Diffstat (limited to '.ci/ci-make-benchmark.sh')
-rwxr-xr-x | .ci/ci-make-benchmark.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.ci/ci-make-benchmark.sh b/.ci/ci-make-benchmark.sh index 58871dc52f..dc267782f9 100755 --- a/.ci/ci-make-benchmark.sh +++ b/.ci/ci-make-benchmark.sh @@ -1,15 +1,17 @@ -#!/bin/sh +#!/bin/bash set -e -. .ci/travis.sh + if [ "$1" != "default" ] ; then exit 0 fi -travis_fold benchmark "ninja benchmark" +travis_fold start "ninja-benchmark" +travis_time_start "ninja-benchmark" if [ "$DISTRO" != "" ] ; then docker exec --env EIO_MONITOR_POLL=1 --env ELM_ENGINE=buffer $(cat $HOME/cid) ninja benchmark -C build elif [ "$TRAVIS_OS_NAME" = "osx" ]; then export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH" ninja benchmark -C build fi -travis_endfold benchmark +travis_time_finish "ninja-benchmark" +travis_fold end "ninja-benchmark" |