Re: phpng: Refactored PHP Engine with Big Performance Improvement
| From: | Pierre Joye | Date: | Mon, 12 May 2014 14:24:11 +0000 |
| Subject: | Re: phpng: Refactored PHP Engine with Big Performance Improvement | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74130@lists.php.net to get a copy of this message | ||
On Mon, May 12, 2014 at 9:21 AM, Dmitry Stogov <dmitry@zend.com> wrote:
> the performance difference may be significant.
> For example qdig.
>
> mod_php (PIC) 440 req/sec
> FastCGI (non-PIC) 537 req/sec
>
> The bechmark was done with 32-bit build of phpng.
>
> I didn't get time to investigate it in all details, but it'll really make
> sense.
Not sure on linux, but a good configured apache+mod_php is fast enough
for many users. I often seen apache well configured performing better
than nginx+fpm.
On windows, things are slightly different, because of TSRM. Without it
(LTS), it is almost as fast (basic config).
However, as much as I like to get php faster, it should not be the
main argument for everything. And definitively not in this case, I do
not see any gain for us to kill mod_php support.
Cheers,
--
Pierre
@pierrejoye | http://www.libgd.org