On 28 Jan., 06:49, Eno <symb...@gmail.com> wrote:
> On Wed, 27 Jan 2010, axel at wrote:
> > I didn't expect it to be faster than straight PHP, but it's about 35
> > times slower!!! do you have any constructive ideas for performance
> > tuning?
>
> People always make such a simplistic comparisons. There's lots you can do,
> like optimize queries, use fumctional and template caching, etc. You also
> forget all the conveniences that using a framework brings you for free.
>
> You do actually have to learn a framework more fully before you can write
> code that makes such a comparison meaningful.
>
> --
I tried template caching, but it didnt't solve the problem as it is no
problem with the templateing. the following code takes 25 seconds too:

foreach ($event->getUserList() as $user) {
  $test = $user->getLastname();
}
debugging toolbar shows that the query to get the result list only
takes 4ms so where the rest 25 seconds come from?
any ideas, this is really a huge problem and a need a solution since
our customzers won't accept such response times.
functional templateing wouldn't work here, since the result of
getUserList() chances almost every second.

maybe there is something wrong with my php/x-cache setup? any other
ideas or suggestions?

thx

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to