Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74130 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42128 invoked from network); 12 May 2014 14:24:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 May 2014 14:24:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.171 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.171 mail-qc0-f171.google.com Received: from [209.85.216.171] ([209.85.216.171:61705] helo=mail-qc0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E2/55-10689-E89D0735 for ; Mon, 12 May 2014 10:24:15 -0400 Received: by mail-qc0-f171.google.com with SMTP id x13so7978725qcv.30 for ; Mon, 12 May 2014 07:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=d+98H+Fd3LIefiBrOxV79C53wyV6PhlYo6WmNIAGYeQ=; b=Bx//EG18ebS+xhS8v4SPQZUZhrtbdNvNZ2lzb1GuP/bYpdMd8p0LuMr0imnr429x5C aVCdJ4LtaSQ5dFioOsy8/8tqfn46y94majDw3uDIDVhCEQDXwZvNDIIcRmheYl7Db/fy ZHiQbDWUGFkwSPAbxdB1DlfMBkB5opSyQE/XQLqAIYQjFhB93QBNRUnqi4di2k90qz36 yZa2DICv+BlrWsh1yeKnQYydEn3fLNke9X0p9s72AclGUEO8Gbsh+3B6Dbx7nD54KqL+ a5GVHCEkVVFnF6H7XQoWMOgqy8ikKo3Xj9mRD0K00os4UuCFlqvvjyZnyCzJkaKh43KN uWKg== MIME-Version: 1.0 X-Received: by 10.224.80.138 with SMTP id t10mr39052403qak.0.1399904651634; Mon, 12 May 2014 07:24:11 -0700 (PDT) Received: by 10.140.47.231 with HTTP; Mon, 12 May 2014 07:24:11 -0700 (PDT) In-Reply-To: References: <5369CED9.5010001@php.net> <4339111475046055305@unknownmsgid> <578A5A21-A820-42AD-A218-FB8049F63B82@zend.com> <3A72C770-9A9F-40C9-9DFE-F40478709BA8@ajf.me> <311084565853739035@unknownmsgid> <536BA9FE.1090408@lerdorf.com> Date: Mon, 12 May 2014 16:24:11 +0200 Message-ID: To: Dmitry Stogov Cc: Rasmus Lerdorf , Zeev Suraski , Andrea Faulds , Andi Gutmans , Sebastian Bergmann , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] phpng: Refactored PHP Engine with Big Performance Improvement From: pierre.php@gmail.com (Pierre Joye) On Mon, May 12, 2014 at 9:21 AM, Dmitry Stogov 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