I did some optimizations to template.py and it is now running 3-5 times faster than 0.33.
I did a quick performance comparison of various templating engines using Genshi benchmarks[1]. * basic.py Genshi: 3.39 ms Genshi_text: 1.27 ms Django: 2.67 ms Mako: 0.46 ms Jinja2: 0.63 ms Webpy 0.33: 1.60 ms web.py latest: 0.52 ms * bigtable.py Genshi template 535.98 ms Genshi text template 311.99 ms Mako Template 84.14 ms Djange template 650.58 ms jinja2 template 135.83 ms web.py 0.33 358.65 ms web.py latest 68.27 ms The first benchmark shows 300% improvement from 0.33 to latest and web.py stands second among others. The second benchmark shows 525% improvement from 0.33 to latest and web.py stands first, outperforming Mako, Jinja2 and others. [1]: http://github.com/anandology/notebook/2010/03/genshi-bench Anand -- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
