10000 GitHub - alexandervis/phpBenches: Simple benchmarks of popular PHP frameworks.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

alexandervis/phpBenches

 
 

Repository files navigation

phpBenches

Simple benchmarks of popular PHP frameworks.

##Preparations

To run this test framework firlsty prepare your virtual box. To do it just use

vagrant up

This will probably fail with information that it's not possible to mount nfs drive. This is because all boxes prepared for Vagrant doesn't have NFS installed by default. But without disks mounted using NFS, the tests does not have a sense (they take few hours to finsh versus some minutes). So the solution is just to install NFS on guest (and optionally if necessary server on your host computer). So even if the vagrant up failed you can use:

vagrant ssh

This will connect you to the virtual machine. Install there NFS client which is in nfs-common package:

sudo apt-get install nfs-common

Now you can logout from the machine. Now you should restart it or install on host machine NFS server:

sudo apt-get install nfs-server

To restart virtual machine:

vagrant reload

This time everything should load without any problem.

This configuration was based on ubuntu server 12.04 edition. Sorry for messy puppet config - it was done fast.

###Update frameworks

To start testing also all frameworks have to be downloaded. Everything is based on composer, so it's enought to run

php composer.phar install

Instead of install also update can be used.

###Running tests

To run tests from main project dir run

cd /var/www/phpbenches/
./bin/bench -q -d ./apps/benches/htdocs

Be sure to run them from virtualbox, becase this script checks if all items are installed.

About

Simple benchmarks of popular PHP frameworks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0