Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89777 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97800 invoked from network); 9 Dec 2015 19:22:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2015 19:22:15 -0000 Authentication-Results: pb1.pair.com header.from=dz@heroku.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dz@heroku.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain heroku.com designates 74.125.82.45 as permitted sender) X-PHP-List-Original-Sender: dz@heroku.com X-Host-Fingerprint: 74.125.82.45 mail-wm0-f45.google.com Received: from [74.125.82.45] ([74.125.82.45:37792] helo=mail-wm0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6B/C9-20458-46F78665 for ; Wed, 09 Dec 2015 14:22:13 -0500 Received: by wmww144 with SMTP id w144so87458500wmw.0 for ; Wed, 09 Dec 2015 11:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heroku-com.20150623.gappssmtp.com; s=20150623; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4hsLHcL5Z6VVJ0tPe05dY7kYPhN+tlWoYCYMZkP6Xj0=; b=PyLZxO8UfMTVEBeBEPyaYIaWJGAObnOjQ6qAET4YSKpUPFkljHPRX2D51AI8+F8pq/ xMKWC2Ave28KS98WbRD3tVp8kFDUIKp5Xw7Bde5cNUQ0oE24r9fU+7ZALo0/iM3RXrP7 KJn9qotpeeA/Hqlpr5qDNC+EGGUIQhuGdyeYFnZUK3q/EqpQUARA6ev/yQHVHLgDP5nS F7vxfKVwvTOxAWWIQHZ3ZMGHjeZZKmv0Seibv4p/sWbX+PV0ZUfxulnYvoecDdiI2Hhz KI63f9uXsqdL8WG3crcygbAEkzLO2eD8/lziRCtPl0vS4+f0pU33DDcwr4CyoeCIkE7z hyHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=4hsLHcL5Z6VVJ0tPe05dY7kYPhN+tlWoYCYMZkP6Xj0=; b=Bmi7IquhMDvBLpA6ygUraHRBFCtlUtTCZdqHo5gGudqoKjZCS5HmR4BjSH8NhyrpnX by220xC9yoT+QKKgZGYmV9elJSE8CeozLJgWZoqaGGj1R7CM5kzZWn7ctBh4hdnSUAuk xrVcwlmavb6rnOYJbYl6DuAOpLr2GsO2wX5subA9+sNYRO+EXDgiHrKUYhAosUipIfka HHRq7+ucngdJ4yk8j/CQj3FpVUg++annZwWRDwYGmD7V5gNJuOWeahFB0tDN9e2lMLYm eSbB7JJJ839Sx/NDfMyO1EMZzV9wcLh5nwEmo//D3b5BAa1Uuk/GzsvX4GFe9FdAjKNu MwUA== X-Gm-Message-State: ALoCoQlso6w0GHqwvfnTzwF4LHfKRet+AFB5+wdva2k3lenNjtF7p5Dk4zKXS69eGcnhhmJ+4NwkkSiHh4O/g1PrgMjyQUCUZA== X-Received: by 10.28.177.10 with SMTP id a10mr35375541wmf.4.1449688928797; Wed, 09 Dec 2015 11:22:08 -0800 (PST) Received: from [192.168.19.20] (ipb21b84af.dynamic.kabel-deutschland.de. [178.27.132.175]) by smtp.gmail.com with ESMTPSA id w141sm27351371wmw.24.2015.12.09.11.21.54 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Dec 2015 11:22:07 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) In-Reply-To: <56687ACA.5090309@lsces.co.uk> Date: Wed, 9 Dec 2015 20:21:53 +0100 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <558EDBB2-0A0E-4D17-AB12-C96E48E355BA@heroku.com> References: <56662437.5040508@lsces.co.uk> <27359E8F-2C04-416B-861D-C2C4C85E4C77@lerdorf.com> <5666CDDD.6030209@lsces.co.uk> <5667A477.1060308@gmail.com> <566855AC.30808@gmail.com> <56687ACA.5090309@lsces.co.uk> To: Lester Caine X-Mailer: Apple Mail (2.2104) Subject: Re: [PHP-DEV] Practical comparisons on PHP7 From: dz@heroku.com (David Zuelke) Then do a trace with xhprof/xdebug/blackfire and see where the time is = spent. How should we magically know the answers? > On 09.12.2015, at 20:02, Lester Caine wrote: >=20 > On 09/12/15 16:24, Rowan Collins wrote: >>> So as somebody already said, maybe your code or setup is really = busted. >>=20 >> Really busted, or spending all its time in a type of operation that = ZE3 >> can't particularly optimize... >=20 > But I'd like to understand why what is fairly simple PHP code is > apparently not working as some of you seem to expect. Much of the > original code goes back to PHP4 days and has been optimised and = updated > over the years and re-factored a couple of times. It's doing the jobs > required and giving response times that clients are happy with in the > sub second on intranets. The only PHP7 fixes so far is a few = __construct > changes from the original named constructor ... the rest of the code = is > already e_strict clean. >=20 > So where should I be looking to work out why PHP7 seems little better > than PHP5. This code is ADOdb and Smarty based with templates which = have > developed over 10+ years and we can switch on page caching for the > static material, but many sites are running with dynamic data such as > calling clients from queues and displaying dynamic information pages. >=20 > --=20 > Lester Caine - G8HFL > ----------------------------- > Contact - http://lsces.co.uk/wiki/?page=3Dcontact > L.S.Caine Electronic Services - http://lsces.co.uk > EnquirySolve - http://enquirysolve.com/ > Model Engineers Digital Workshop - http://medw.co.uk > Rainbow Digital Media - http://rainbowdigitalmedia.co.uk >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20