diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-01-14 09:32:42 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-01-14 09:32:42 +0000 |
commit | b523ae37da6b384359f1afa89efc24794b47005d (patch) | |
tree | b3ebcc17bcc0f828ccf6450735e467c4c3ea5b2b /travis | |
parent | 79cff3b24d30e29c534e2efdb85bbc5bab62c4f7 (diff) |
Show cpu usage for expensive build phases.
Diffstat (limited to 'travis')
-rwxr-xr-x | travis/travis-build.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/travis/travis-build.sh b/travis/travis-build.sh index 23f4fbb0772..849f807042a 100755 --- a/travis/travis-build.sh +++ b/travis/travis-build.sh @@ -30,8 +30,8 @@ case $SHOULD_BUILD in cpp) ./bootstrap.sh full cmake3 -DVESPA_UNPRIVILEGED=no . - make -j ${NUM_THREADS} - ctest3 --output-on-failure -j ${NUM_THREADS} + time make -j ${NUM_THREADS} + time ctest3 --output-on-failure -j ${NUM_THREADS} ccache --show-stats ;; java) @@ -40,10 +40,10 @@ case $SHOULD_BUILD in ;; *) ./bootstrap.sh java - mvn -V $VESPA_MAVEN_EXTRA_OPTS install + time mvn -V $VESPA_MAVEN_EXTRA_OPTS install cmake3 -DVESPA_UNPRIVILEGED=no . - make -j ${NUM_THREADS} - ctest3 --output-on-failure -j ${NUM_THREADS} + time make -j ${NUM_THREADS} + time ctest3 --output-on-failure -j ${NUM_THREADS} ccache --show-stats make install ;; |