[web2py] Re: web2py in production mode and improving execution time

2016-08-12 Thread Ron Chatterjee
Thank you Niphlod, Anthony. This helps.

-Ron


On Friday, August 12, 2016 at 11:58:01 AM UTC-4, Anthony wrote:
>
> On Friday, August 12, 2016 at 11:11:47 AM UTC-4, Niphlod wrote:
>>
>> use --profiler_dir and then use runsnakerun to inspect.
>>
>
> More specifically, the command line options -F profiler_dir or --profiler 
> profiler_dir. See 
> http://web2py.com/books/default/chapter/29/04/the-core#Command-line-options
> .
>
> Anthony
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: web2py in production mode and improving execution time

2016-08-12 Thread Anthony
On Friday, August 12, 2016 at 11:11:47 AM UTC-4, Niphlod wrote:
>
> use --profiler_dir and then use runsnakerun to inspect.
>

More specifically, the command line options -F profiler_dir or --profiler 
profiler_dir. See 
http://web2py.com/books/default/chapter/29/04/the-core#Command-line-options.

Anthony

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: web2py in production mode and improving execution time

2016-08-12 Thread Niphlod
use --profiler_dir and then use runsnakerun to inspect.

On Thursday, August 11, 2016 at 4:57:38 PM UTC+2, Ron Chatterjee wrote:
>
> I use MATLAB a lot and they have something call profile. 
> http://www.mathworks.com/help/matlab/ref/profile.html
>
> That allows to profile an application based on execution time (for each 
> function/def) and it gives an alternative to figure out if any of the 
> modules need to be converted to C/C++ for speed improvement. The app I have 
> running using web2py seems slow and its getting bulky with added features 
> by the day. Wondering if there is anything similar to profile in 
> python/web2py we can use figure out what is draining the resources? Some of 
> those modules then may be can be converted to scala or C. Any thoughts?
>
> -Ron
>
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: web2py in production mode and improving execution time

2016-08-11 Thread Anthony
https://docs.python.org/2/library/profile.html

On Thursday, August 11, 2016 at 10:57:38 AM UTC-4, Ron Chatterjee wrote:
>
> I use MATLAB a lot and they have something call profile. 
> http://www.mathworks.com/help/matlab/ref/profile.html
>
> That allows to profile an application based on execution time (for each 
> function/def) and it gives an alternative to figure out if any of the 
> modules need to be converted to C/C++ for speed improvement. The app I have 
> running using web2py seems slow and its getting bulky with added features 
> by the day. Wondering if there is anything similar to profile in 
> python/web2py we can use figure out what is draining the resources? Some of 
> those modules then may be can be converted to scala or C. Any thoughts?
>
> -Ron
>
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: web2py in production mode and improving execution time

2016-08-11 Thread Ron Chatterjee
May be this will help:
https://blog.mozilla.org/blog/2016/08/04/mozilla-awards-585000-to-nine-open-source-projects-in-q2-2016/

Anyone used PyPy, the Python JIT compiler with web2py project. How was the 
speed improvement (req/s)?


On Thursday, August 11, 2016 at 10:57:38 AM UTC-4, Ron Chatterjee wrote:
>
> I use MATLAB a lot and they have something call profile. 
> http://www.mathworks.com/help/matlab/ref/profile.html
>
> That allows to profile an application based on execution time (for each 
> function/def) and it gives an alternative to figure out if any of the 
> modules need to be converted to C/C++ for speed improvement. The app I have 
> running using web2py seems slow and its getting bulky with added features 
> by the day. Wondering if there is anything similar to profile in 
> python/web2py we can use figure out what is draining the resources? Some of 
> those modules then may be can be converted to scala or C. Any thoughts?
>
> -Ron
>
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.