Newsgroups: php.apc.dev,php.internals Path: news.php.net Xref: news.php.net php.apc.dev:197 php.internals:43238 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87417 invoked from network); 3 Mar 2009 10:01:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Mar 2009 10:01:39 -0000 X-Host-Fingerprint: 85.21.236.169 xdmitri.static.corbina.ru Received: from [85.21.236.169] ([85.21.236.169:4958] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/20-20645-2000DA94 for ; Tue, 03 Mar 2009 05:01:39 -0500 Message-ID: <55.20.20645.2000DA94@pb1.pair.com> To: apc-dev@lists.php.net,internals@lists.php.net References: <49A097FE.10205@tekrat.com> <49A6A82C.9030504@yahoo-inc.com> <49A6C4D1.2060706@lerdorf.com> <49A6E6C8.90801@tekrat.com> <49A6E813.4030900@lerdorf.com> Date: Tue, 3 Mar 2009 13:01:38 +0300 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Posted-By: 85.21.236.169 Subject: Re: [APC-DEV] [RFC] APC/PHP Lazy Loading From: dmda@yandex.ru ("jvlad") "Rasmus Lerdorf" wrote: > shire wrote: >> I agree for the general case, in our development environment though this >> might cause some pains. But we could always start there and see how it >> goes. I agree that Xdebug isn't really a use case we always need to >> optimize for. > > Is it ever a case we need to optimize for? If you are running xdebug, > you aren't worried about execution speed. You certainly aren't going to > be running your PHP under xdebug in any sort of production environment. > > -Rasmus Rasmus, Perhaps, you miss the point that people may want to measure performance (the speed) using either xdebug or the other php profiling tools like dbg, zend's profiler, or apd. If you turn the cache off, they'll certainly get misleading results pointing to wrong bottlenecks. In other words, it's not apc should be adapted to xdebug. but xdebug should be adapted to lazy loading. Therefore it's crusial to have the proposed feature well-documented somewhere (where btw?) and have certain mechanisms that would allow all kinds of debugger/profiles co-exist with caches like apc. -jv