ice / framework

Source code of Ice framework
https://www.iceframework.org
BSD 3-Clause "New" or "Revised" License
338 stars 45 forks source link

Framework benchmark #95

Open motin opened 8 years ago

motin commented 8 years ago

The current version of https://github.com/kenjis/php-framework-benchmark shows that Phalcon has a higher throughput.

Are they made at different points in time? Can it be explained by the different hardware/OS/stack set-up?

mruz commented 8 years ago

It was executed on the latest version of kenjis's script. I think it's depending on the hardware/software https://github.com/kenjis/php-framework-benchmark/pull/30#issuecomment-151792768:

VM; VirtualBox

vs

text-mode CPU: i7-4702MQ up to 3.2 GHz 4 cores 8 threads Main Memory: 12GB 1600 MHz DDR3 Hard Drive: SSD 120GB Read 540MB/s Write 480MB/s

and software:

CentOS 6.6 64bit PHP 5.5.30 (Remi RPM) Zend OPcache v7.0.4-dev Apache 2.2

vs

Operating System: openSUSE Tubmleweed 20151128 64-bit Kernel: 4.3.0 Web Server: Nginx 1.8.0 PHP-FPM: 5.6.15

motin commented 8 years ago

Thanks :) I made some new benchmarks which may be of interest to you, here are the preliminary results: https://github.com/motin/php-framework-benchmark/blob/multiple-stacks/OTHER_RESULTS.md#motin

mruz commented 8 years ago

I ran a benchmark on the new machine and the results are impressive.

Hardware CPU: i7-5820K up to 3.6GHz 6 cores 12 threads Main Memory: 16GB 2133MHz DDR4 Hard Drive: NVMe SSD 256GB Read 2200MB/s Write 900MB/s

Software Operating System: openSUSE Tubmleweed 20160329 64-bit Kernel: 4.5.0 Web Server: Nginx 1.8.1 PHP-FPM: 5.6.19

RPS

kenjis commented 8 years ago

@mruz Thank you for your benchmarks! It seems when we use a fast machine, Phalcon and Ice is much faster than slower VMs.