Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #35449
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <andriy.kornatskyy@live.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.009 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'cpython': 0.05; 'url:bitbucket': 0.05; 'executed': 0.07; 'pypy': 0.07; 'welcome.': 0.07; 'python': 0.09; 'item,': 0.09; 'scripts,': 0.09; 'sep': 0.09; 'django': 0.10; 'template': 0.11; '2.7': 0.13; 'cases': 0.15; '(django,': 0.16; '+0300': 0.16; 'interesting:': 0.16; 'markup,': 0.16; 'oct': 0.16; 'reusable': 0.16; 'snippets': 0.16; 'substituting': 0.16; 'wed,': 0.16; 'define': 0.20; 'to:name :python-list@python.org': 0.20; 'skip:- 40': 0.21; 'thanks.': 0.21; 'button,': 0.22; 'example': 0.23; 'header:In-Reply-To:1': 0.25; 'developers': 0.26; 'common': 0.26; 'extend': 0.26; 'run': 0.28; 'post': 0.28; 'environment': 0.29; 'consistency': 0.29; 'enforce': 0.29; 'horizontal': 0.29; 'markup': 0.29; 'time:': 0.29; 'date:': 0.29; 'url:mailman': 0.29; 'source': 0.29; 'usually': 0.30; 'e.g.': 0.30; 'fri,': 0.30; 'url:2012': 0.30; 'code': 0.31; 'url:python': 0.32; 'url:listinfo': 0.32; 'comments': 0.33; 'from:addr:live.com': 0.33; 'to:addr:python- list': 0.33; 'version': 0.34; 'updated': 0.34; 'list': 0.35; 'fastest': 0.35; 'templates': 0.35; 'community': 0.35; 'subject:': 0.36; 'but': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.36; 'useful': 0.36; 'test': 0.36; 'subject:: ': 0.38; 'from:': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'most': 0.61; 'high': 0.61; 'latest': 0.61; 'here:': 0.62; 'email name:python-list': 0.62; 'engines': 0.62; 'mentioned': 0.63; 'url:blogspot': 0.64; 'here': 0.65; 'offer': 0.65; 'content,': 0.65; 'includes:': 0.65; 'incorporate': 0.65; 'url:10': 0.65; 'email addr:live.com': 0.71; 'increase': 0.72; 'link:': 0.75; 'benchmark': 0.84; 'isolated': 0.84; 'updated,': 0.84; 'widgets:': 0.84; 'engines.': 0.91; 'charset:windows-1251': 0.97 |
| X-EIP | [wcpk485f3Qk1z52ocWW0o4WBA/Xk5lCS] |
| X-Originating-Email | [andriy.kornatskyy@live.com] |
| From | Andriy Kornatskyy <andriy.kornatskyy@live.com> |
| To | "python-list@python.org" <python-list@python.org> |
| Subject | RE: Fastest template engine |
| Date | Mon, 24 Dec 2012 13:12:21 +0300 |
| Importance | Normal |
| In-Reply-To | <DUB117-W67064608224C0BE337F0C091790@phx.gbl> |
| References | <DUB117-W67064608224C0BE337F0C091790@phx.gbl> |
| Content-Type | text/plain; charset="windows-1251" |
| Content-Transfer-Encoding | quoted-printable |
| MIME-Version | 1.0 |
| X-OriginalArrivalTime | 24 Dec 2012 10:12:21.0248 (UTC) FILETIME=[295B8800:01CDE1BF] |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1247.1356344010.29569.python-list@python.org> (permalink) |
| Lines | 124 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1356344010 news.xs4all.nl 6925 [2001:888:2000:d::a6]:46285 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:35449 |
Show key headers only | View raw
Per community request I have added tenjin to the templates benchmark and updated with latest version of other template engines. Just in case here is a link: http://mindref.blogspot.com/2012/10/python-templates-benchmark.html Thanks. Andriy Kornatskyy ---------------------------------------- > From: andriy.kornatskyy@live.com > To: python-list@python.org > Subject: RE: Fastest template engine > Date: Tue, 23 Oct 2012 15:45:56 +0300 > > > Python template engines offer high reusability of markup code and the following features are used by content developers most of the time: > > * Includes: useful to incorporate some snippets of content that in most cases are common to the site, e.g. footer, scripts, styles, etc. > > * Extends: useful to define a master layout for the majority of the site content with placeholders, e.g. sidebar, horizontal menu, content, etc. The content developers extend the master layout by substituting available placeholders. > > * Widgets: usually small snippets of highly reusable markup, e.g. list item, button, etc. The content developers use widgets to increase readability and enforce consistency of design. > > All mentioned features above are examined for various template engines (django, jinja2, mako, tornado and wheezy.template) in the following post: > > http://mindref.blogspot.com/2012/10/python-templates-benchmark.html > > The test is executed in isolated environment using CPython 2.7 but can be run for Python 3.3 and/or PyPy 1.9. Source code is here: > > https://bitbucket.org/akorn/helloworld > > Comments or suggestions are welcome. > > Thanks. > > Andriy > > > ---------------------------------------- > > From: andriy.kornatskyy@live.com > > To: python-list@python.org > > Subject: RE: Fastest template engine > > Date: Fri, 19 Oct 2012 11:34:41 +0300 > > > > > > Per community request cheetah has been added to benchmark. Post updated, just in case: > > > > http://mindref.blogspot.com/2012/07/python-fastest-template.html > > > > Comments or suggestions are welcome. > > > > Andriy > > > > > > ---------------------------------------- > > > From: andriy.kornatskyy@live.com > > > To: python-list@python.org > > > Subject: RE: Fastest template engine > > > Date: Wed, 26 Sep 2012 16:21:21 +0300 > > > > > > > > > The post has been updated with the following template engines added (per community request): > > > > > > 1. chameleon > > > 2. django > > > 3. web2py > > > > > > Here is a link: > > > > > > http://mindref.blogspot.com/2012/07/python-fastest-template.html > > > > > > Comments or suggestions are welcome. > > > > > > Thanks. > > > > > > Andriy > > > > > > > > > ---------------------------------------- > > > > From: andriy.kornatskyy@live.com > > > > To: python-list@python.org > > > > Subject: Fastest template engine > > > > Date: Sun, 23 Sep 2012 12:24:36 +0300 > > > > > > > > > > > > I have run recently a benchmark of a trivial 'big table' example for various python template engines (jinja2, mako, tenjin, tornado and wheezy.template) run on cpython2.7 and pypy1.9...... you might find it interesting: > > > > > > > > http://mindref.blogspot.com/2012/07/python-fastest-template.html > > > > > > > > Comments or suggestions are welcome. > > > > > > > > Thanks. > > > > > > > > Andriy Kornatskyy > > > > -- > > > > http://mail.python.org/mailman/listinfo/python-list > > > > > > > -- > > http://mail.python.org/mailman/listinfo/python-list > > -- > http://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
RE: Fastest template engine Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-12-24 13:12 +0300
csiph-web