Merge pull request #7 from ZhouyihaiDing/qps_php

php qps update
pull/10126/head
Vijay Pai 7 years ago committed by GitHub
commit da27ee22a4
  1. 1
      tools/gce/linux_performance_worker_init.sh
  2. 8
      tools/run_tests/performance/run_worker_php.sh

@ -129,7 +129,6 @@ ruby -v
gem install bundler gem install bundler
# PHP dependencies # PHP dependencies
sudo apt-get install -y php php-dev phpunit php-pear unzip zlib1g-dev sudo apt-get install -y php php-dev phpunit php-pear unzip zlib1g-dev
curl -sS https://getcomposer.org/installer | php curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer sudo mv composer.phar /usr/local/bin/composer

@ -36,9 +36,7 @@ repo=$(dirname $0)/../../..
# First set up all dependences needed for PHP QPS test # First set up all dependences needed for PHP QPS test
cd $repo cd $repo
cd src/php/tests/qps cd src/php/tests/qps
curl -sS https://getcomposer.org/installer | php composer install
php composer.phar install
# The proxy worker for PHP is implemented in Ruby # The proxy worker for PHP is implemented in Ruby
cd $repo cd ../../../..
ruby src/ruby/qps/proxy-worker.rb $@ ruby src/ruby/qps/proxy-worker.rb $@
Loading…
Cancel
Save