diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2016-03-30 18:04:01 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2016-03-31 16:35:29 -0700 |
commit | bb1a45387e590c721523eec81ecd3dfaa0d1151c (patch) | |
tree | bca8d548a12d94f1bd6b1b7cd0fdbb0cb1cf5212 /tools/run_tests/performance | |
parent | d7be789b094df8543f12c5656f975b2ed7d08e7e (diff) |
add support for multiple languages
Diffstat (limited to 'tools/run_tests/performance')
-rwxr-xr-x | tools/run_tests/performance/build_performance.sh | 5 | ||||
-rwxr-xr-x | tools/run_tests/performance/remote_host_prepare.sh | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/tools/run_tests/performance/build_performance.sh b/tools/run_tests/performance/build_performance.sh index 704015caa7..59d65a9276 100755 --- a/tools/run_tests/performance/build_performance.sh +++ b/tools/run_tests/performance/build_performance.sh @@ -37,7 +37,10 @@ cd $(dirname $0)/../../.. CONFIG=${CONFIG:-opt} # build C++ qps worker & driver -make CONFIG=${CONFIG} qps_worker qps_driver -j8 +# TODO(jtattermusch): not embedding OpenSSL breaks the C# build because +# grpc_csharp_ext needs OpenSSL embedded and some intermediate files from +# this build will be reused. +make CONFIG=${CONFIG} EMBED_OPENSSL=true EMBED_ZLIB=true qps_worker qps_driver -j8 # build C# qps worker tools/run_tests/run_tests.py -l csharp -c $CONFIG --build_only -j 8 diff --git a/tools/run_tests/performance/remote_host_prepare.sh b/tools/run_tests/performance/remote_host_prepare.sh index a900d89a90..c70e1d3963 100755 --- a/tools/run_tests/performance/remote_host_prepare.sh +++ b/tools/run_tests/performance/remote_host_prepare.sh @@ -35,9 +35,10 @@ cd $(dirname $0)/../../.. # cleanup after previous builds ssh "${USER_AT_HOST}" "rm -rf ~/performance_workspace && mkdir -p ~/performance_workspace" -# TODO(jtattermusch): To be sure there are not running processes that would +# TODO(jtattermusch): To be sure there are no running processes that would # mess with the results, be rough and reboot the slave here # and wait for it to come back online. +ssh "${USER_AT_HOST}" "killall qps_worker mono node || true" # push the current sources to the slave and unpack it. scp ../grpc.tar "${USER_AT_HOST}:~/performance_workspace" |