diff options
author | 2017-09-14 13:18:57 -0700 | |
---|---|---|
committer | 2017-09-14 13:18:57 -0700 | |
commit | 8f21b12abefd8eafbdcaec6634e3bfbdad2e869b (patch) | |
tree | 53a006c3e43e0ec724d115fa3e94e1fe9368d7f4 | |
parent | 1761884d14ac4e7cfa9971b92bf2589ee768e44d (diff) | |
parent | 422b61b279cfc32c44dbdf107ef5cb41da73cbbb (diff) |
Merge pull request #12496 from ZhouyihaiDing/ruby_php_extension
qps performance: add php extension to ruby_proxy
-rwxr-xr-x | src/ruby/qps/proxy-worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ruby/qps/proxy-worker.rb b/src/ruby/qps/proxy-worker.rb index d7a9f114bd..488610ae74 100755 --- a/src/ruby/qps/proxy-worker.rb +++ b/src/ruby/qps/proxy-worker.rb @@ -41,7 +41,7 @@ class ProxyBenchmarkClientServiceImpl < Grpc::Testing::ProxyClientService::Servi @histogram = Histogram.new(@histres, @histmax) @start_time = Time.now # TODO(vjpai): Support multiple client channels by spawning off a PHP client per channel - command = "php " + File.expand_path(File.dirname(__FILE__)) + "/../../php/tests/qps/client.php " + @mytarget + command = "php -d extension=" + File.expand_path(File.dirname(__FILE__)) + "/../../php/ext/grpc/modules/grpc.so " + File.expand_path(File.dirname(__FILE__)) + "/../../php/tests/qps/client.php " + @mytarget puts "Starting command: " + command @php_pid = spawn(command) end |