I have a component which is executed in the layout of the application, and
that component queries for a Doctrine record. I have a static singleton
method which queries for that specific Doctrine record, and I call that
method multiple times across many places in the application to use that same
record.

Would it matter that the sfUser instance for the application has a protected
variable on it which stores an sfGuardUser instance when asked for?

- Jon

On Tue, Apr 29, 2008 at 8:24 AM, Fabien POTENCIER <
[EMAIL PROTECTED]> wrote:

>
> 93% of the time is spent in the View sub-system. So, the
> configuration/routing stuff are not the issue here.
>
> Can you give us a bit more information on the executed action :
>
> - compat_10 seems to be on (as sfValidationExecutionFilter is executed)
> - do you have some forward in this action?
> - do you get records with Doctrine from the templates?
> - sfFinder seems to be used in this page and sfFinder::search_in() is
> called 1800 times?
>
> It definitely does not look like a typical web page.
>
> Fabien
>
> --
> Fabien Potencier
> Sensio CEO - symfony lead developer
> sensiolabs.com | symfony-project.com | aide-de-camp.org
> Tél: +33 1 40 99 80 80
>
>
> Jonathan Wage wrote:
> > This is for sure the same issue. Though, Ian, the cache grind that we
> > were looking at the other day was infact not the right cache grind. The
> > right cache grinds for the requests that take 10-15 seconds are 30+ MB
> > in size. You can snag the cache grind from the link below.
> >
> > http://lamp5.centresource.com/jwage/cachegrind.out.15802
> >
> > - Jon
> >
> > On Tue, Apr 29, 2008 at 2:25 AM, Ian P. Christian <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >
> >     Ian wrote:
> >      > I just upgraded a project to 1.1 today, and so far its ok
> although I
> >      > have two issues:
> >      >
> >      > 1.) The dev mode is EXTREMELY slow. Its averaging about 6 seconds
> to
> >      > parse configuration and about 1.5 seconds to parse the view.  The
> >     only
> >      > odd thing I noticed in the logs is that there is a "connect" line
> for
> >      > every route in my system, like 50 entries!
> >
> >     Jon Wage was complaining of similar - can you upload a cachegrind
> file?
> >
> >
> >
> >
> >
> >
> > --
> > Jonathan Wage
> > http://www.jwage.com
> > http://www.centresource.com
> > >
>
>
> >
>


-- 
Jonathan Wage
http://www.jwage.com
http://www.centresource.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to