[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lua page in cgilua is slow ?
- From: gary ng <garyng2000@...>
- Date: Wed, 14 Mar 2007 09:17:53 -0700 (PDT)
Hi,
I am playing with cgilua on my dreamhost account and
do some not very scientific benchmark(running ab from
another host where the ping latency is in the range of
30ms) among the following :
turbogear 0.5 request/sec
django 30 request/sec
cgilua(lua page) 9 request/sec
cgilua(simple print/cgilua.put) 70 request/sec
How can lua page be so much slower than using the same
cgilua modules but generate everything by hand?
While lua still beats the other by a wide margin(and
the memory footprint is much lower), doing everything
in it can be a bit painful.
Is there a faster template system that is compatible
with lua ?
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265