They are accepting code contributions for the test app, although we would 
have to wait for round 12 to see the results.

On Monday, February 1, 2016 at 7:28:11 AM UTC-6, Anthony wrote:
>
> This isn't even close to a fair comparison, particularly against other 
> Python frameworks such as Django and Flask. The web2py code and setup are 
> not representative of how a web2py app would be deployed in production, and 
> the web2py app is doing more than the other apps (e.g., displaying the full 
> web2py "welcome" app front end layout). Here is a list of changes that 
> would speed up web2py and make the app more comparable to the Django and 
> Flask examples:
>
>    1. Serve web2py via a production web server such as nginx/uwsgi or 
>    gunicorn (as the Django and Flask apps are).
>    2. Set reload=False in AppConfig() -- no reason to read the file on 
>    every request.
>    3. Set fake_migrate_all=False in the DAL setup -- this would never be 
>    True (even in development it is only used in special cases).
>    4. Set lazy_tables=True in the DAL setup. Even better, use conditional 
>    models so tables are only defined when needed.
>    5. Disable web2py sessions, as they are not needed for the benchmark 
>    tests and not used in the other frameworks.
>    6. Do not extend the "welcome" app layout -- just render a minimal 
>    HTML page, similar to the one Flask uses.
>    7. Compile the application, which would typically be done in 
>    production.
>
> The current web2py app is so far off from what would be deployed in 
> production, it would be much more appropriate to simply remove it from the 
> benchmarks altogether rather than leave it as is.
>
>
> Anthony
>
> On Monday, February 1, 2016 at 2:23:40 AM UTC-5, Antonio Salazar wrote:
>>
>> It doesn't look good on web2py, we're consistently in the last 
>> places. Other python frameworks like Django or Flask fared better.
>>
>> https://www.techempower.com/benchmarks/#section=data-r11&hw=peak&test=update
>>
>> Test source is here:
>>
>> https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/Python/web2py
>>
>> It was tested on Linux with MySQL using the integrated Rocket server.
>>
>

-- 
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.

Reply via email to