Matthias Nothhaft wrote:
> Lukas Kahwe Smith wrote:
>> Matthias Nothhaft wrote:
>>> Lukas Kahwe Smith wrote:
>>>> Matthias Nothhaft wrote:
>>>>
>>>>>>>> 4) configuration loading (sfOptimizer is a scary approach, see my 
>>>>>>>> recent 
>>>>>>>>   post on symfony-dev@ on my micro benchmarks)
>>>>>>> I wonder how we can check these things reliable.
>>>>>> xdebug :)
>>>>> Hm, is there a tool to view debug information? Or do I have to use a
>>>>> special editor? I installed it but I only know the nice error messages..
>>>> sure .. kCacheGrind or winCacheGrind can be used to view the files 
>>>> generated from the profiler in xdebug.
>>> Ahh, thanks for opening my eyes..
>>> What is the stupid thing here? KCacheGrind was already installed.. :-(
>>> Looks pretty interesting.
>> You might also have a look at:
>> http://xdebug.org/docs-profiling.php
>>
>> Generally APD is supposed to be provide slightly more accurate results, 
>> but due to the lack of some nice visualization tool I prefer xdebug for 
>> profiling.
> 
> Ok, I just set up a test project with default configuration and a
> helloworld module displaying "Hello World!".
> 
> KCacheGrind tells me that the biggest "time consumers" seem to be:
> 
> - filter chain (also consumes most of memory)
>   - sfPHPView (configure/decorate/render/renderFile)
> - sfConfigCache
> - sfLoader->loadHelpers()
> - sfCore::bootstrap() / callBootstrap()
> - sfContext->initialize()

Due to the abuse of exceptions as control flow in symfony, the output is 
sometimes a bit confusing to read. But I guess these gives us an 
indication of what is costly out of the box.

> I wonder what the absolute values are:
> 
> 1.000.000 = 1 second?
>   100.000 = 100 ms?
>     1.000 = 1 ms?

Not sure. I can ask Derick tomorrow at vikinger.

regards,
Lukas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to