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()
I wonder what the absolute values are:
1.000.000 = 1 second?
100.000 = 100 ms?
1.000 = 1 ms?
Is that correct?
Regards,
Matthias
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---