Do you currently have performance related issues with your application? If
you do not actually have performance issues then I would say not to worry
about. If the application is performing efficiently, 30% of an efficient app
is still efficient. If your application is struggling performance-wise then
sure go ahead and find something to optimise, but don't leap to trying to
optimise stuff when you do not actually have an issue related to it.

In addition, what is the other 70%? If the other 70% is related to your own
app code then I would say thats where you should be focussing. Making your
own code more efficient is a bigger win than trying to hack the framework
library for potentially small to zero returns. I can understand that you see
"30% of script execution happens" and jump to "fix routing" as it looks like
low hanging fruit but you could cause bigger problems chasing that.
Especially if you are not actually having any performance related issues.

Optimising of performance should be a focus of an application once it goes
live and you see there are performance issues, not before.

On Wed, Feb 9, 2011 at 12:42 PM, soulfly <yelena...@gmail.com> wrote:

> We tested our project with xhprof and realized that routes take 30% of
> script executing. And we expect that routes in symfony 2.0 have better
> performance (even take in consideration that it in beta version now).
> So we have to optimize code or use better solution.
>
> On Feb 9, 1:35 pm, Gareth McCumskey <gmccums...@gmail.com> wrote:
> > But ... symfony 1.4 has routing capabilities already built in.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Wed, Feb 9, 2011 at 11:01 AM, soulfly <yelena...@gmail.com> wrote:
> > > I just try to know if it possible to take one component - Routing and
> > > use it in project on sf 1.4. May be it's enough to take folder with
> > > routes and pu it in folder in symfony 1.4. But may be I should write
> > > smth in factories or elsewhere.
> >
> > > On Feb 9, 11:51 am, Gareth McCumskey <gmccums...@gmail.com> wrote:
> > > > I never said 1.4 couldn't work on php 5.3. To help with your problem,
> it
> > > > would probably be easier to port the symfony 1.4 ode to a symfony 2
> > > > application than symfony 2 to 1.4.
> >
> > > > On Wed, Feb 9, 2011 at 10:27 AM, soulfly <yelena...@gmail.com>
> wrote:
> > > > > We use php 5.3 with symfony 1.4 - working good.
> >
> > > > > On Feb 9, 11:14 am, Gareth McCumskey <gmccums...@gmail.com> wrote:
> > > > > > I am not entirely sure but from what I have seen of symfony 2 it
> > > would
> > > > > not
> > > > > > be possible. Firstly because symfony 2 requires php 5.3 as its
> > > minimum
> > > > > php
> > > > > > version and symfony 1.4 requires php 5.2. In addition, from what
> I
> > > > > > understand, the class structures of everything in symfony 2 is
> > > different
> > > > > to
> > > > > > those of symfony 1.
> >
> > > > > > On Wed, Feb 9, 2011 at 9:48 AM, soulfly <yelena...@gmail.com>
> wrote:
> > > > > > > Hi
> >
> > > > > > > Is it possible to use compenents from symfony 2.0 in symfony
> 1.4
> > > > > > > project. If so, would you explain how to do it right?
> >
> > > > > > > Thnx
> >
> > > > > > > --
> > > > > > > If you want to report a vulnerability issue on symfony, please
> send
> > > it
> > > > > to
> > > > > > > security at symfony-project.com
> >
> > > > > > > You received this message because you are subscribed to the
> Google
> > > > > > > Groups "symfony users" group.
> > > > > > > To post to this group, send email to
> > > symfony-users@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
> >
> > > > > > --
> > > > > > Gareth McCumskeyhttp://garethmccumskey.blogspot.com
> > > > > > twitter: @garethmcc
> > > > > > identi.ca: @garethmcc
> >
> > > > > --
> > > > > If you want to report a vulnerability issue on symfony, please send
> it
> > > to
> > > > > security at symfony-project.com
> >
> > > > > You received this message because you are subscribed to the Google
> > > > > Groups "symfony users" group.
> > > > > To post to this group, send email to
> symfony-users@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
> >
> > > > --
> > > > Gareth McCumskeyhttp://garethmccumskey.blogspot.com
> > > > twitter: @garethmcc
> > > > identi.ca: @garethmcc
> >
> > > --
> > > If you want to report a vulnerability issue on symfony, please send it
> to
> > > security at symfony-project.com
> >
> > > You received this message because you are subscribed to the Google
> > > Groups "symfony users" group.
> > > To post to this group, send email to symfony-users@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
> >
> > --
> > Gareth McCumskeyhttp://garethmccumskey.blogspot.com
> > twitter: @garethmcc
> > identi.ca: @garethmcc
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@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
>



-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc
identi.ca: @garethmcc

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@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