One thing i think mako has in its favor, is if i remember right (from what i've read, not used), is that a form of caching/speed enhancement is its ability to turn a template into a python module. Now this can't be done on appengine ofcourse, but it can be done before hand im sure.
So far im choosing Jinja2 however, because i like the syntax, but if it proves to be too slow, i may try automating the process of mako and its python-module-template thing. (I use a wrapper for the gae uploader which will be made to handle things like this) On Sun, Apr 5, 2009 at 4:26 AM, Tim Hoffman <[email protected]> wrote: > > How about we come up with some standard test cases that can easily be > run under gae > that we can try a few of the different template engines and compare > like for like > (where possible) taking into account start up times and any possible > caching,. > > I am using zpt it if I take startup time out of the equation and just > look at rendering a page with details > from about 20 entities takes about 250 ms. > > Not very useful for comparison for anyone else, as whatever I am doing > isn't likely to be that same as other people ;-) > > T > > On Apr 5, 5:56 pm, Jarek Zgoda <[email protected]> wrote: > > Mako (http://www.makotemplates.org/) is believed to be the fastest > > templating engine in wide use (didn't found any reasonable tests to > > prove this statement in the GAE environment). > > > > Personally I prefer Jinja2 (http://jinja.pocoo.org/2/) because I like > > Django templates syntax - although Jinja2 gives more flexibility at > > the cost of slight differing from this syntax. I normal environment > > Jinja2 template rendering is faster than Django, but on GAE you can > > not use bytecode cache so templates are recompiled on every request - > > no speed gain here. > > > > On 3 Kwi, 02:13, Lee Olayvar <[email protected]> wrote: > > > > > I'm curious, has anyone ran across any tests on appengine with various > > > templating engines? I know there are speed comparisons all over the > place, > > > but im specifically concerning appengine since it has many aspects that > > > force various templating engines to not use feature X or speed > enhancing > > > module Y. > > > > > Any opinions would also be handy. I'm looking for an obviously sane > > > language, but i have no desire/requirement for the ability to run > complex > > > logic inside templates (nor should anyone, imo.) > > > > > Comments and opinions are much appreciated. > > > > > Thanks, > > > -- > > > Lee Olayvar > > > -- Lee Olayvar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
