Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.php > #3927
| Path | csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | "Christoph M. Becker" <cmbecker69@arcor.de> |
| Newsgroups | de.comp.lang.php |
| Subject | Re: xdebug |
| Date | Thu, 14 Jul 2016 12:51:13 +0200 |
| Organization | solani.org |
| Lines | 31 |
| Message-ID | <nm7qqt$r8m$1@solani.org> (permalink) |
| References | <1t57866454i4152n3e8%sfroehli@Froehlich.Priv.at> <nm6p5t$ql6$1@solani.org> <1t578750e5i7df0n3e8%sfroehli@Froehlich.Priv.at> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | solani.org 1468493469 27926 eJwNzLkBwDAIBLCVwMCBxzHf/iMknSqZgFGuMKitbQ1mOks5HtDkeXdaHomDlDgimyZe0o0txn3qwC7GfxjH/zQq5LxoW8kzPR5HDvVW0ge1uh6Y (14 Jul 2016 10:51:09 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Thu, 14 Jul 2016 10:51:09 +0000 (UTC) |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
| X-User-ID | eJwFwQEBACAIA7BKKvxgnIvSP4IbjJMVTtDRaCtx7UzcNiFe9fOci6OeQkdL8pEI87OdeT8kCxE2 |
| In-Reply-To | <1t578750e5i7df0n3e8%sfroehli@Froehlich.Priv.at> |
| Cancel-Lock | sha1:OUPQrEg/HtlNKQJtbMS4Y2tSI84= |
| X-NNTP-Posting-Host | eJwNyskNADEIBLCWQhiOlAOD6L+E3aclm7o4A24OW9v3U5/VNCK9W9hxmNraVQuKIJ5fUEcH0/MvS7iunZGy4dwogyJkZ9WSSbqfd24o8QGFRB3H |
| Xref | csiph.com de.comp.lang.php:3927 |
Show key headers only | View raw
Am 14.07.2016 um 11:13 schrieb Stefan Froehlich: > On Thu, 14 Jul 2016 03:16:49 Christoph M. Becker wrote: > >> Ich tippe mal, dass sich hier einfach der Function-Call-Overhead >> bemerkbar macht, siehe >> <http://jpauli.github.io/2015/01/22/on-php-function-calls.html>. > > Die Seite hatte ich irgendwann vor einem Jahr schon einmal gesehen > (und auch damals nur rudimentär gelesen, weil mir das deutlich zu > sehr ins Detail geht). Damals lief mein Code noch mit PHP5, und ich > hatte durchaus die Hoffnung, dass PHP7 gerade an dieser Stelle > einiges verbessert (wenigstens stand das einmal auf der to-do > Liste). Ich fürchte, da kann man zunächst gar nicht mal so viel optimieren; Funktionsaufrufe kosten eben einfach Zeit, und bei einer dynamischen Programmiersprache wird das noch vermehrt. Soweit ich es überblicke, wurden bei PHP 7 hauptsächlich Aufrufe von einigen internen Funktionen optimiert, indem zend_parse_parameters() (optional) durch deutlich effizientere Macros ersetzt wird (siehe <https://wiki.php.net/rfc/fast_zpp>). Viel mehr herausholen kann man wohl nur durch Übersetzung in nativen Maschinencode (Stichwort JIT) und/oder Auswertung von Typinformationen. Und natürlich durch Inlining von Funktionen. Ein paar Optimierungen sind wohl schon für PHP 7.1 umgesetzt, andere kommen wohl erst später (siehe <https://wiki.php.net/php-7.1-ideas>). -- Christoph M. Becker
Back to de.comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread
xdebug Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2016-07-13 16:08 +0000
Re: xdebug "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-07-14 03:16 +0200
Re: xdebug Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2016-07-14 09:13 +0000
Re: xdebug Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2016-07-14 10:01 +0000
Re: xdebug "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-07-14 13:02 +0200
Re: xdebug "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-07-14 12:51 +0200
csiph-web