| framework | requests per second | peak memory |
|---|---|---|
| phalcon-1.3 | 1445.99 | 0.50 |
| codeigniter-3.0 | 698.69 | 0.50 |
| yii-2.0 | 376.68 | 1.50 |
| fuel-1.8-dev | 322.90 | 0.75 |
| silex-1.2 | 311.63 | 0.75 |
| bear-1.0 | 296.89 | 1.00 |
| cake-3.0 | 259.01 | 1.00 |
| symfony-2.6 | 122.58 | 2.00 |
| laravel-5.0 | 70.63 | 3.00 |
Install source code as http://localhost/php-framework-benchmark/.
$ git clone https://github.com/kenjis/php-framework-benchmark.git
$ cd php-framework-benchmark
$ sh setup.sh
Run benchmarks.
$ sh benchmark.sh
See http://localhost/php-framework-benchmark/.
I added below in /etc/sysctl.conf
# Added
net.netfilter.nf_conntrack_max = 100000
net.nf_conntrack_max = 100000
net.ipv4.tcp_max_tw_buckets = 180000
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_fin_timeout = 10
and run sudo sysctl -p.
If you want to see current configuration, run sudo sysctl -a.