Thanks for the response! I will be looking at both of those tonight and
seeing what comes up. I will update the post accordingly,
On Tuesday, September 30, 2014 4:20:32 PM UTC-7, PN wrote:
>
> Are the SLOW version and FAST version different web2py applications (i.e.
> the code under web2py/applications/project_name is different)? If so, the
> difference in speed is likely coming from what processes each app is
> running on call.
>
> Some places to look at -- try to identify which page is the slowest in the
> slow app, then use {{=response.toolbar()}} in the view, it will show you a
> toolbar that shows database stats and how long and how many queries ran.
> This will give you an idea. Usually slowness is from database lookups
> (either a big data lookup, or many small lookups adding up). If db is not
> the issue, look up 'profiling' for your IDE, it will let you see how much
> time is being spent in various python processes.
>
> On Tuesday, September 30, 2014 5:34:31 PM UTC-4, Cory wrote:
>>
>>
>> Hey, does anyone know why my usage is the way it is? for instance, in the
>> picture below (slow version) everything is in increments with a gap in
>> between each spike. This happens while under both heavy load and idle. My
>> web2py is so slow its unusable. When I use web2py with a different project
>> it does not display my usage in the same way (without consistent gaps
>> between each spike, see fast version) and is very fast. Any ideas what
>> could cause this?
>>
>> *SLOW version*
>>
>>
>> <https://lh6.googleusercontent.com/-tg_x476D_Qw/VCsaVoNoouI/AAAAAAAAAnI/qbVJcAZhm_U/s1600/Screenshot%2B-%2B09302014%2B-%2B01%3A58%3A23%2BPM.png>
>>
>> *FAST version*
>>
>> <https://lh6.googleusercontent.com/-tg_x476D_Qw/VCsaVoNoouI/AAAAAAAAAnI/qbVJcAZhm_U/s1600/Screenshot%2B-%2B09302014%2B-%2B01%3A58%3A23%2BPM.png>
>>
>>
>> <https://lh6.googleusercontent.com/-tg_x476D_Qw/VCsaVoNoouI/AAAAAAAAAnI/qbVJcAZhm_U/s1600/Screenshot%2B-%2B09302014%2B-%2B01%3A58%3A23%2BPM.png>
>>
>> <https://lh6.googleusercontent.com/-5hLsx84T-6w/VCsggrzo3oI/AAAAAAAAAnU/idYHzLKjFrs/s1600/fast.png>
>>
>>
>>
>>
>
--
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/d/optout.