Browse Source

Minor fixes to silex setup file. Removed php- from both silex and symfony2 test names to conform with other tests

Patrick Falls 12 years ago
parent
commit
73a74dcd58
3 changed files with 5 additions and 5 deletions
  1. 3 3
      php-silex/benchmark_config
  2. 1 1
      php-silex/setup.py
  3. 1 1
      php-symfony2/benchmark_config

+ 3 - 3
php-silex/benchmark_config

@@ -1,5 +1,5 @@
 {
-  "framework": "php-silex",
+  "framework": "silex",
   "tests": [{
     "default": {
       "setup_file": "setup",
@@ -7,7 +7,7 @@
       "db_url": "/db",
       "query_url": "/db?queries=",
       "port": 8080,
-      "sort": 14
+      "sort": 54
     }
   }]
-}
+}

+ 1 - 1
php-silex/setup.py

@@ -17,7 +17,7 @@ def start(args):
     #subprocess.check_call("sudo a2ensite cake", shell=True)
     #subprocess.check_call("sudo chown -R www-data:www-data cake", shell=True)
     #subprocess.check_call("sudo /etc/init.d/apache2 start", shell=True)
-    subprocess.check_call("composer install", shell=True)        
+    subprocess.check_call("composer.phar install", shell=True, cwd="php-silex")        
     subprocess.check_call("sudo php-fpm --fpm-config config/php-fpm.conf -g " + home + "/FrameworkBenchmarks/php-silex/deploy/php-fpm.pid", shell=True)
     subprocess.check_call("sudo /usr/local/nginx/sbin/nginx -c " + home + "/FrameworkBenchmarks/php-silex/deploy/nginx.conf", shell=True)
     return 0

+ 1 - 1
php-symfony2/benchmark_config

@@ -1,5 +1,5 @@
 {
-  "framework": "php-symfony2",
+  "framework": "symfony2",
   "tests": [{
     "default": {
       "setup_file": "setup",