TechEmpower just released Round 13 of its Web Framework Benchmarks. In 
previous rounds, web2py did very poorly because the original app that was 
submitted was using some inefficient code and was deployed with the 
development server rather than a production server. Here is a link to 
results from the previous round comparing web2py with Django and Flask: Round 
12 
<https://www.techempower.com/benchmarks/#section=data-r12&hw=ph&test=fortune&l=4ftgjj&w=35w-0&d=e5&o=6&f=0-jz6rk-6bk-1s-9zldvk-1ekg-2>
.

I submitted a re-worked version of the web2py app for the new round. 
Although web2py is still slower than the other frameworks, its performance 
is now within the same order of magnitude as Django and Flask, with about a 
5000% improvement from Round 12 relative to those frameworks. Notably, 
web2py is actually *faster *than Django and Flask on the "Multiple queries" 
task. Here is a link to the new results (again, comparing with Django and 
Flask): Round 13 
<https://www.techempower.com/benchmarks/#section=data-r13&hw=ph&test=fortune&l=4ftgjj&w=35w-0&d=e5&o=6&f=0-jz6rk-6bk-1s-9zldvk-1ekg-2>

Notice, in addition to a standard web2py setup, there is also a version 
labeled "web2py-optimized," which uses a few tricks to speed things up 
(e.g., disabling sessions; serving responses directly from model files).

Note, something seems to have gone wrong with the "Data updates" task. When 
testing on my VM, web2py's update numbers (as well as those of the other 
frameworks) were comparable to the numbers on the other database tasks, but 
in the public benchmarks just released, the "Data updates" numbers are 
dramatically lower (for all frameworks). This is despite the fact that the 
final benchmark numbers for all the other tests are consistently *higher *than 
the numbers I saw on my VM.

The web2py code can be found at 
https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/Python/web2py.

You can see the results for all frameworks tested at 
https://www.techempower.com/benchmarks/.

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.

Reply via email to