switch C# benchmark to coreclr

pull/8375/head
Jan Tattermusch 8 years ago
parent 3808b6efe6
commit d13fbca136
  1. 3
      tools/run_tests/performance/build_performance.sh
  2. 1
      tools/run_tests/performance/kill_workers.sh
  3. 4
      tools/run_tests/performance/run_worker_csharp.sh

@ -54,6 +54,9 @@ do
"go") "go")
tools/run_tests/performance/build_performance_go.sh tools/run_tests/performance/build_performance_go.sh
;; ;;
"csharp")
tools/run_tests/run_tests.py -l $language -c $CONFIG --build_only -j 8 --compiler coreclr
;;
*) *)
tools/run_tests/run_tests.py -l $language -c $CONFIG --build_only -j 8 tools/run_tests/run_tests.py -l $language -c $CONFIG --build_only -j 8
;; ;;

@ -40,6 +40,7 @@ killall -9 qps_worker || true
# C# # C#
ps -C mono -o pid=,cmd= | grep QpsWorker | awk '{print $1}' | xargs kill -9 || true ps -C mono -o pid=,cmd= | grep QpsWorker | awk '{print $1}' | xargs kill -9 || true
ps -C dotnet -o pid=,cmd= | grep QpsWorker | awk '{print $1}' | xargs kill -9 || true
# Ruby # Ruby
ps -C ruby -o pid=,cmd= | grep 'qps/worker.rb' | awk '{print $1}' | xargs kill -9 || true ps -C ruby -o pid=,cmd= | grep 'qps/worker.rb' | awk '{print $1}' | xargs kill -9 || true

@ -33,6 +33,6 @@ set -ex
cd $(dirname $0)/../../.. cd $(dirname $0)/../../..
# needed to correctly locate testca # needed to correctly locate testca
cd src/csharp/Grpc.IntegrationTesting.QpsWorker/bin/Release cd src/csharp/Grpc.IntegrationTesting.QpsWorker/bin/Release/netcoreapp1.0
mono Grpc.IntegrationTesting.QpsWorker.exe $@ dotnet exec Grpc.IntegrationTesting.QpsWorker.dll $@

Loading…
Cancel
Save