Re: [APC-DEV] [RFC] APC/PHP Lazy Loading
| From: | jvlad | Date: | Tue, 03 Mar 2009 10:01:38 +0000 |
| Subject: | Re: [APC-DEV] [RFC] APC/PHP Lazy Loading | ||
| References: | 1 2 3 4 5 | Groups: | php.internals php.apc.dev |
| Request: | Send a blank email to internals+get-43238@lists.php.net to get a copy of this message | ||
"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