I have not benchmarked other frameworks on the same machine. Sorry.

On Sep 14, 3:17 pm, JorgeR <[email protected]> wrote:
> Interesting numbers.
>
> Should they be compared with previous versions of web2py? or against
> other frameworks?
>
> In that case, can you post those other numbers?
>
> thanks
>
> On Sep 14, 12:44 pm, mdipierro <[email protected]> wrote:
>
> > I made a minimal app with this model:
>
> >     db=DAL('sqlite://storage.sqlite')
> >     db.define_table('person',Field('name'))
>
> > this controller
>
> >     def index(): return dict(message='hello world')
>
> > and this view:
>
> >     {{=message}}
>
> > I bytecode compiled it and run
>
> >     ab -n 10000 [url]
>
> > On my server (web2py.com a ubuntu virtual machine running on a 3GHz
> > Xeon), 99% of the requests run below 5ms.
>
> > Adding this code to db.py
>
> >    from gluon.tools import *
> >    auth=Auth(globals(),db)
> >    auth.define_tables()
>
> > which defines 5 system tables slows down each request by 2ms (i.e.
> > 0.4ms/table). 99% of requests run below 7ms.
>
> > Adding a complex layout {{ extend 'layout.html' }} to view/default/
> > index.html does not produce a measurable effect.
>
> > I did not take down the server while testing so it was still serving
> > public pages for various web applications.
>
> > I always benchmarked bytecode compiled applications with web2py 1.66.2
> > and wsgiserver 3.2.0beta.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to