framework icon indicating copy to clipboard operation
framework copied to clipboard

Framework benchmark

Open motin opened this issue 10 years ago • 4 comments

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?

motin avatar Dec 09 '15 12:12 motin

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

mruz avatar Dec 09 '15 12:12 mruz

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

motin avatar Dec 10 '15 14:12 motin

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

mruz avatar Apr 01 '16 09:04 mruz

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

kenjis avatar Apr 01 '16 11:04 kenjis