might this be useful?
http://mg.pov.lt/profilehooks/


On Mon, Dec 22, 2008 at 10:58 AM, voltron <nhy...@googlemail.com> wrote:

>
> Thanks Vince, do you have a better detailed timing solution? Sorry for
> being such a newbie on stress testing.
>
> 1. Does your code snippet go to the top of every controller action?
> 2. How are DB queries handeled when timing? Should I print after all
> DB calls?
>
>
> Thanks
>
> On Dec 22, 11:05 am, vince <lapcc...@gmail.com> wrote:
> > you'll have to provide more details if u need help from us. 1500 users
> > a day can do well even without any caching
> >
> > you'll have to figure out where is the bottleneck first. use a simple
> >
> > import time
> > t0 = time.clock()
> > some code
> > t0 = time.clock-t0
> > print t0
> >
> > can help you debug your problem
> >
> > On Dec 22, 11:51 pm, voltron <nhy...@googlemail.com> wrote:
> >
> > > Hi all,
> >
> > > I am still having serious problems. Contrary to what I posted before,
> > > the site in question serves an average of 1, 500 users a day. I have
> > > used cacheing for several pages but to my dismay, I noticed that the
> > > cached pages display the default web2py template instead of the
> > > template which I assigned to the controller actions. I am using
> > > PostgreSQL with pools = 10
> >
> > > Any other ideas?
> >
> > > Thanks
> >
>

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

Reply via email to