$ pip install RunSnakeRun
$ mkdir /tmp/w2prof
$ python web2py.py -F /tmp/w2prof

access to the slow page on web2py with the browser a few times

$ runsnake /tmp/w2prof/*







2014-02-26 17:14 GMT+01:00 Kevin Bethke <[email protected]>:

> what do you mean by profiler?
> thanks
>
> On Wed, Feb 26, 2014 at 5:10 PM, Michele Comitini
> <[email protected]> wrote:
> > check that there is not a problem with your dns setup where web2py runs.
> > use the profiler to find out it can give you some good hints.
> >
> >
> >
> > 2014-02-25 22:49 GMT+01:00 Niphlod <[email protected]>:
> >>
> >> try yourself. Take the welcome app from 2.8.2.
> >> If /welcome/default/index takes more than 50ms to be served, then it's
> the
> >> server/web2py config.
> >> My laptop of 4 years ago with Ubuntu 12.10 loads the page in 22ms with
> the
> >> rocket webserver.
> >> First round of fetching static assets with an empty cache takes it to
> >> 360ms.
> >>
> >> --
> >> Resources:
> >> - http://web2py.com
> >> - http://web2py.com/book (Documentation)
> >> - http://github.com/web2py/web2py (Source code)
> >> - https://code.google.com/p/web2py/issues/list (Report Issues)
> >> ---
> >> You received this message because you are subscribed to the Google
> Groups
> >> "web2py-users" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an
> >> email to [email protected].
> >>
> >> For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
> > --
> > Resources:
> > - http://web2py.com
> > - http://web2py.com/book (Documentation)
> > - http://github.com/web2py/web2py (Source code)
> > - https://code.google.com/p/web2py/issues/list (Report Issues)
> > ---
> > You received this message because you are subscribed to a topic in the
> > Google Groups "web2py-users" group.
> > To unsubscribe from this topic, visit
> > https://groups.google.com/d/topic/web2py/fxcPflpF63o/unsubscribe.
> > To unsubscribe from this group and all its topics, send an email to
> > [email protected].
> > For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to